:root {
  --wallpaper: #181818;
  --bg-1: #181818;
  --bg-2: #202020;
  --glass: rgba(24, 24, 24, 0.72);
  --panel: #202020;
  --panel-2: #242424;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6fb;
  --muted: #c7c7c7;
  --icon-default: #d6dbe6;
  --accent: #4aa3ff;
  --accent-2: #59b0ff;
  --input-bg: #202020;
  --input-text: #f3f6ff;
  --input-border: rgba(255, 255, 255, 0.1);
  --card-bg: #242424;
  --card-bg-hover: #2a2a2a;
  --card-border: rgba(255, 255, 255, 0.1);
  --card-description: #cfd5e1;
  --control-bg: #202020;
  --control-border: rgba(255, 255, 255, 0.1);
  --control-text: #f3f6ff;
  --dock-bg: rgba(32, 32, 32, 0.9);
  --dock-border: rgba(255, 255, 255, 0.1);
  --space-0: 0;
  --space-1: 5px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 10px;
  --space-5: 12px;
  --space-6: 14px;
  --space-7: 16px;
  --space-8: 18px;
  --space-9: 20px;
  --space-10: 28px;
  --space-11: 30px;
  --pad-5-10: var(--space-1) var(--space-4);
  --pad-7-12: 7px var(--space-5);
  --pad-8-10: var(--space-3) var(--space-4);
  --pad-8-12: var(--space-3) var(--space-5);
  --pad-10-12: var(--space-4) var(--space-5);
  --pad-10-14: var(--space-4) var(--space-6);
  --pad-14-16: var(--space-6) var(--space-7);
  --pad-18-16: var(--space-8) var(--space-7);
  --pad-30-16: var(--space-11) var(--space-7);
  --font-scale: 1;
  --label-size: calc(16px * var(--font-scale));
  --description-size: calc(13px * var(--font-scale));
}

:root[data-theme="midnight"] {
  --wallpaper: #0d1829;
  --bg-1: #0d1829;
  --bg-2: #0a1220;
  --glass: rgba(10, 18, 34, 0.78);
  --panel: #14233d;
  --panel-2: #1a2d4a;
  --line: #3a5080;
  --text: #e8eef8;
  --muted: #7a90b5;
  --icon-default: #b8cbe8;
  --accent: #f59a2e;
  --accent-2: #ffb347;
  --input-bg: #0a1522;
  --input-text: #e8eef8;
  --input-border: #1e3050;
  --card-bg: rgba(157, 168, 217, 0.1);
  --card-bg-hover: #1a2d4e;
  --card-border: #1e3055;
  --card-description: #9db5d8;
  --control-bg: #162038;
  --control-border: #203354;
  --control-text: #e8eef8;
  --dock-bg: rgba(12, 20, 36, 0.92);
  --dock-border: rgba(60, 90, 140, 0.35);
}

:root[data-theme="light"] {
  --wallpaper: #d3d3d3;
  --bg-1: #d3d3d3;
  --bg-2: #e5e5e5;
  --glass: rgba(255, 255, 255, 0.74);
  --panel: #e5e5e5;
  --panel-2: #cccccc;
  --line: rgba(0, 0, 0, 0.1);
  --text: #06080c;
  --muted: #8d92a0;
  --icon-default: #2f3440;
  --accent: #1f77ea;
  --accent-2: #1f77ea;
  --input-bg: #ffffff;
  --input-text: #111111;
  --input-border: rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
  --card-bg-hover: #f7f7f7;
  --card-border: rgba(0, 0, 0, 0.1);
  --card-description: #2e3440;
  --control-bg: #cccccc;
  --control-border: rgba(0, 0, 0, 0.1);
  --control-text: #101214;
  --dock-bg: rgba(229, 229, 229, 0.92);
  --dock-border: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: calc(16px * var(--font-scale));
  color: var(--text);
  background: var(--wallpaper);
  overflow: hidden;
}

:root[data-theme="midnight"] body {
  background: linear-gradient(to bottom, #2a3864 0%, #1a2c53 54%, #071331 100%);
}

h2 {
  font-weight: 500;
}

#appShell {
  position: relative;
  width: min(980px, calc(100vw - 24px));
  height: calc(100dvh - 24px);
  margin: 12px auto;
  border-radius: 28px;
  background: var(--wallpaper);
  overflow: hidden;
}

@media (min-width: 1024px) {
  #appShell {
    width: calc(100vw - 24px);
  }
}

:root[data-theme="midnight"] #appShell,
:root[data-theme="midnight"] .springboard-shell {
  background: linear-gradient(to bottom, #293963 0%, #1b2d54 52%, #091734 100%);
}

.app-shell-hidden {
  display: none;
}

.screen {
  position: absolute;
  inset: 0;
  background: transparent;
  transform-origin: center center;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 420ms ease;
}

.screen.screen-scale-in {
  animation: screenScaleIn 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.screen.screen-scale-out {
  pointer-events: none;
  animation: screenScaleOut 520ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes screenScaleIn {
  from {
    opacity: 0;
    transform: scale(0.965);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes screenScaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.965);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen.screen-scale-in,
  .screen.screen-scale-out {
    animation: none;
  }
}

.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
}

.springboard-shell,
.settings-screen,
.settings-panel {
  opacity: 1;
  transform: scale(1);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 420ms ease;
  will-change: transform, opacity;
}

.screen.hidden .springboard-shell,
.overlay.hidden .settings-panel {
  opacity: 0;
  transform: scale(0.965);
}

.springboard-shell {
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  background: var(--wallpaper);
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(16px);
  padding: var(--space-8) var(--space-7) 118px;
  overflow: auto;
}

.springboard-shell,
#adminQuickLaunch,
.host-body-shell,
.overlay,
.settings-screen {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.springboard-shell::-webkit-scrollbar,
#adminQuickLaunch::-webkit-scrollbar,
.host-body-shell::-webkit-scrollbar,
.overlay::-webkit-scrollbar,
.settings-screen::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.springboard-header {
  text-align: center;
  margin-bottom: 18px;
}

.springboard-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 12px;
}

.springboard-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-7-12);
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #F3d7a2;
  width: 120px;
}

.springboard-logo {
  display: block;
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.72) contrast(1.04);
  transform: scale(3);
  transform-origin: left center;
  margin-left: -60px;
  margin-top: -5px;
}

.springboard-search-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--pad-7-12);
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--muted);
  font-size: calc(13px * var(--font-scale));
  cursor: pointer;
  transition: opacity 120ms ease, border-color 120ms ease;
}

.springboard-search-button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.springboard-header h1 {
  margin: 0;
  font-size: clamp(26px, 4.8vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.springboard-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.home-section {
  margin-top: 18px;
}

.cards-category-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.cards-category-section h2 {
  margin: 0 0 10px;
  text-align: left;
  color: var(--muted);
  font-size: calc(1.5rem * var(--font-scale));
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}

.cards-category-section {
  margin-top: 14px;
}

.cards-category-section:first-child {
  margin-top: 0;
}

.cards-category-section .grid.active-cards {
  width: 100%;
  margin: 0;
}

.app.as-card.home-widget-stat-card {
  padding: var(--space-0);
  border: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: stretch;
}

.app.as-card.home-widget-stat-card:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
}

.app.as-card.home-widget-action-card {
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--card-border) 52%);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent) 20%, var(--card-bg) 80%) 0%,
    color-mix(in srgb, var(--accent-2) 14%, var(--card-bg) 86%) 100%
  );
}

.app.as-card.home-widget-action-card:hover {
  transform: scale(1.03);
}

.home-widget-action-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.home-widget-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-8-12);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 64%, #ffffff 36%);
  background: color-mix(in srgb, var(--accent) 70%, #0d162a 30%);
  color: #ffffff;
  font-size: calc(12px * var(--font-scale));
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

:root[data-theme="light"] .app.as-card.home-widget-action-card {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--card-border) 62%);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent) 16%, #ffffff 84%) 0%,
    color-mix(in srgb, var(--accent-2) 10%, #ffffff 90%) 100%
  );
}

:root[data-theme="light"] .home-widget-action-button {
  border-color: color-mix(in srgb, var(--accent) 45%, #1f2d44 55%);
  background: color-mix(in srgb, var(--accent) 82%, #ffffff 18%);
}

.home-stat-item {
  min-width: 0;
  /* border: 1px solid var(--card-border); */
  border-radius: 20px;
  background: color-mix(in srgb, var(--card-bg) 68%, #1f2b52 32%);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.app.as-card.home-widget-stat-card:hover .home-stat-item {
  transform: scale(1.03);
}

.app.as-card.home-widget-stat-card .home-stat-item {
  width: 100%;
  height: 100%;
}

.home-stat-chip {
  width: fit-content;
  padding: var(--pad-5-10);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wallpaper) 70%, #0f162d 30%);
  border: 1px solid color-mix(in srgb, var(--card-border) 70%, #3a4872 30%);
  color: var(--muted);
  font-size: calc(12px * var(--font-scale));
  letter-spacing: 0.01em;
}

.home-stat-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-stat-meta {
  color: var(--muted);
  font-size: calc(12px * var(--font-scale));
  white-space: nowrap;
}

.home-stat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.home-stat-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  transition: all 200ms ease;
}

.home-stat-svg-indicator {
  width: 50px;
  height: 50px;
}

.home-stat-latency-status-bg {
  fill: transparent;
  stroke-width: 0;
}

.home-stat-latency-status-bg.home-stat-latency-status-good {
  fill: color-mix(in srgb, #78d06b 20%, transparent 80%);
}

.home-stat-latency-status-bg.home-stat-latency-status-medium {
  fill: color-mix(in srgb, #e0b814 20%, transparent 80%);
}

.home-stat-latency-status-bg.home-stat-latency-status-bad {
  fill: color-mix(in srgb, #ef7d8a 20%, transparent 80%);
}

.home-stat-latency-status-star {
  fill: currentColor;
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.2));
}

.home-stat-latency-status-star.home-stat-latency-status-good {
  fill: #78d06b;
  stroke: #5a9d4d;
}

.home-stat-latency-status-star.home-stat-latency-status-medium {
  fill: #e0b814;
  stroke: #b8930a;
}

.home-stat-latency-status-star.home-stat-latency-status-bad {
  fill: #ef7d8a;
  stroke: #d45b67;
}

.home-stat-svg {
  width: 60px;
  height: 60px;
}

.home-stat-svg.home-stat-svg-wide {
  width: 100%;
  height: 56px;
}

.home-stat-svg.home-stat-svg-distribution {
  width: 100%;
  height: 44px;
}

.home-stat-svg-track {
  stroke: color-mix(in srgb, var(--muted) 28%, transparent 72%);
  stroke-width: 8;
  stroke-linecap: round;
}

.home-stat-svg-progress {
  stroke: color-mix(in srgb, var(--accent) 72%, #9db1ff 28%);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
}

.home-stat-svg.home-stat-svg-wide .home-stat-svg-progress {
  transform: none;
  transform-origin: center;
}

.home-stat-svg-marker {
  fill: #f7f9ff;
  stroke: color-mix(in srgb, var(--accent) 65%, #6e86c8 35%);
  stroke-width: 2;
}

.home-stat-dist-segment-a,
.home-stat-dist-segment-b,
.home-stat-dist-segment-c,
.home-stat-dist-segment-d {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.home-stat-dist-segment-a {
  stroke: #e0b814;
}

.home-stat-dist-segment-b {
  stroke: #ef7d8a;
}

.home-stat-dist-segment-c {
  stroke: #8a98ff;
}

.home-stat-dist-segment-d {
  stroke: #78d06b;
}

.home-stat-dist-marker-p50 {
  fill: #e0b814;
  stroke: #d4a410;
}

.home-stat-dist-marker-p95 {
  fill: #ef7d8a;
  stroke: #e86777;
}

.home-stat-dist-marker-p100 {
  fill: #f7f9ff;
}

.home-stat-dist-marker-p99 {
  fill: #f7f9ff;
  stroke: #8a98ff;
}

.home-stat-svg-node {
  fill: #eef3ff;
  stroke: color-mix(in srgb, var(--muted) 60%, #6f86bd 40%);
  stroke-width: 1.5;
}

.home-stat-dot {
  cursor: pointer;
}

.home-stat-dot:focus {
  outline: none;
  filter: brightness(1.1);
}

.home-stat-dot-info {
  display: none;
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--card-border) 70%, #5f78b1 30%);
  background: color-mix(in srgb, var(--card-bg) 70%, #0c1730 30%);
  color: color-mix(in srgb, var(--text) 80%, var(--muted) 20%);
  font-size: calc(12px * var(--font-scale));
  line-height: 1.3;
}

.home-stat-dot-info.visible {
  display: block;
}

.home-stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.home-stat-value {
  color: var(--text);
  font-size: calc(42px * var(--font-scale));
  font-weight: 500;
  line-height: 1.1;
}

.home-stat-unit {
  color: var(--muted);
  font-size: calc(14px * var(--font-scale));
  text-transform: lowercase;
}

.home-stat-note {
  color: color-mix(in srgb, var(--muted) 90%, #c8d4ff 10%);
  font-size: calc(13px * var(--font-scale));
  line-height: 1.35;
}

.home-stat-detail {
  color: color-mix(in srgb, var(--muted) 86%, #b9c8ea 14%);
  font-size: calc(12px * var(--font-scale));
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-stat-query-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  max-height: 92px;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.home-stat-query-grid::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-stat-query-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  color: color-mix(in srgb, var(--muted) 84%, #c7d6fa 16%);
  font-size: calc(12px * var(--font-scale));
  line-height: 1.25;
}

.home-stat-query-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-stat-query-speed {
  white-space: nowrap;
  color: color-mix(in srgb, var(--text) 76%, var(--muted) 24%);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .home-stat-query-grid {
    grid-template-columns: 1fr;
  }
}

:root[data-theme="light"] .home-stat-item {
  background: #f1f4fa;
  border-color: #c7cfdc;
}

:root[data-theme="light"] .home-stat-chip {
  background: #dde3ef;
  border-color: #c4ccdc;
  color: #4b5568;
}

:root[data-theme="light"] .home-stat-unit {
  color: #5e687b;
}

:root[data-theme="light"] .home-stat-note {
  color: #5b6476;
}

.home-section > h2 {
  margin: 0 0 10px;
  text-align: center;
  color: var(--muted);
  font-size: calc(13px * var(--font-scale));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.grid.active-cards {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  width: min(1100px, 100%);
}

.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: var(--space-3);
  border-radius: 16px;
  transition: background 120ms ease, transform 200ms ease;
}

.app:hover {
  background: rgba(125, 144, 184, 0.12);
}

.app.as-card {
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  min-height: 102px;
  padding: var(--space-5);
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] .app.as-card,
:root[data-theme="midnight"] .app.as-card {
  box-shadow: none;
}

.app.as-card:has(.home-stat-item) {
  padding: var(--space-0);
}

.app.as-card:hover {
  transform: scale(1.03);
}

#pinnedBar {
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
  bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-10-12);
  width: min(560px, calc(100% - 28px));
  border-radius: 38px;
  border: 1px solid var(--dock-border);
  /* background: var(--dock-bg); */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 7;
  transform: translateY(0) scale(1);
  transform-origin: center bottom;
  transition: transform 160ms ease, opacity 160ms ease;
  backdrop-filter: blur(12px);
  /* opacity: 0.8; */
}

#pinnedBar:hover {
  opacity: 1;
}

#pinnedBar .tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  padding: var(--space-0);
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 120ms ease;
}

#pinnedBar .tile .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

#pinnedBar .tile .icon svg {
  width: 16px;
  height: 16px;
}

#pinnedBar .tile:hover {
  background: rgba(127, 139, 170, 0.2);
}

#pinnedBar.dock-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
}

.dock-logout-button {
  position: absolute;
  right: 14px;
  bottom: 48px;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  border: 1px solid var(--dock-border);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-default);
  cursor: pointer;
  z-index: 7;
  transform: translateY(0) scale(1);
  transform-origin: center bottom;
  transition: transform 160ms ease, opacity 160ms ease, background 120ms ease;
  /* opacity: 0.8; */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dock-logout-button:hover {
  opacity: 1;
}

.dock-logout-button svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.dock-logout-button:hover {
  background: rgba(127, 139, 170, 0.2);
}

.dock-logout-button.dock-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
}

.icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(236, 243, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(7, 12, 22, 0.35);
  transition: transform 150ms ease;
}

.app:active .icon {
  transform: scale(0.94);
}

.icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--icon-default);
}

.icon .app-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Widget detail popup (compact springboard icon mode) */
.widget-detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.widget-detail-overlay.is-open {
  display: flex;
}

.widget-detail-panel {
  position: relative;
  width: min(360px, 100%);
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: widget-detail-in 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes widget-detail-in {
  from { opacity: 0; transform: scale(0.93) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.widget-detail-panel .app.as-card.home-widget-stat-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin: 0;
}

.widget-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 30%, transparent 70%);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 150ms ease;
}

.widget-detail-close:hover {
  background: color-mix(in srgb, var(--muted) 55%, transparent 45%);
}

.widget-detail-close svg {
  width: 13px;
  height: 13px;
  stroke-linecap: round;
}



.app[data-id="chat-with-your-data"] .icon,
.app[data-id="settings"] .icon {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#pinnedBar .tile[data-id="chat-with-your-data"] .icon,
#pinnedBar .tile[data-id="settings"] .icon {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.app[data-id="chat-with-your-data"] .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><rect width='128' height='128' rx='26' fill='%23ff934f'/><circle cx='44' cy='52' r='22' fill='%23ffffff' fill-opacity='.92'/><circle cx='84' cy='76' r='18' fill='%232d7ff9' fill-opacity='.92'/><path d='M27 84 L47 69 L52 90 Z' fill='%23ffffff' fill-opacity='.9'/><path d='M72 97 L86 88 L94 104 Z' fill='%232d7ff9' fill-opacity='.92'/></svg>");
}

#pinnedBar .tile[data-id="chat-with-your-data"] .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><rect width='128' height='128' rx='26' fill='%23ff934f'/><circle cx='44' cy='52' r='22' fill='%23ffffff' fill-opacity='.92'/><circle cx='84' cy='76' r='18' fill='%232d7ff9' fill-opacity='.92'/><path d='M27 84 L47 69 L52 90 Z' fill='%23ffffff' fill-opacity='.9'/><path d='M72 97 L86 88 L94 104 Z' fill='%232d7ff9' fill-opacity='.92'/></svg>");
}

.app[data-id="settings"] .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><defs><linearGradient id='gearFace' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23f4f4f4'/><stop offset='.55' stop-color='%23dddddd'/><stop offset='1' stop-color='%23bdbdbd'/></linearGradient><linearGradient id='gearRim' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23b8b8b8'/><stop offset='1' stop-color='%23878787'/></linearGradient></defs><rect width='128' height='128' rx='26' fill='%23448dff'/><g transform='translate(64 64)'><path fill='%23151515' fill-opacity='.3' d='M9-40h-18l-2 12a28 28 0 0 0-7 3l-9-7-10 10 7 9a28 28 0 0 0-3 7l-12 2v18l12 2a28 28 0 0 0 3 7l-7 9 10 10 9-7a28 28 0 0 0 7 3l2 12h18l2-12a28 28 0 0 0 7-3l9 7 10-10-7-9a28 28 0 0 0 3-7l12-2V-4l-12-2a28 28 0 0 0-3-7l7-9-10-10-9 7a28 28 0 0 0-7-3z' transform='translate(2 4)'/><path fill='url(%23gearRim)' d='M9-40h-18l-2 12a28 28 0 0 0-7 3l-9-7-10 10 7 9a28 28 0 0 0-3 7l-12 2v18l12 2a28 28 0 0 0 3 7l-7 9 10 10 9-7a28 28 0 0 0 7 3l2 12h18l2-12a28 28 0 0 0 7-3l9 7 10-10-7-9a28 28 0 0 0 3-7l12-2V-4l-12-2a28 28 0 0 0-3-7l7-9-10-10-9 7a28 28 0 0 0-7-3z'/><path fill='url(%23gearFace)' d='M7-34h-14l-1.8 10.2a24 24 0 0 0-6 2.5l-7.7-5.9-8.1 8.1 5.9 7.7a24 24 0 0 0-2.5 6L-37-3.6v14l10.2 1.8a24 24 0 0 0 2.5 6l-5.9 7.7 8.1 8.1 7.7-5.9a24 24 0 0 0 6 2.5L-7 41h14l1.8-10.2a24 24 0 0 0 6-2.5l7.7 5.9 8.1-8.1-5.9-7.7a24 24 0 0 0 2.5-6L37 10.4v-14L26.8-5.4a24 24 0 0 0-2.5-6l5.9-7.7-8.1-8.1-7.7 5.9a24 24 0 0 0-6-2.5z'/><circle r='16' fill='%23717171'/><circle r='11.5' fill='%23eeeeee'/><ellipse cx='-3' cy='-4' rx='7' ry='4' fill='%23ffffff' fill-opacity='.5'/></g></svg>");
}

#pinnedBar .tile[data-id="settings"] .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><defs><linearGradient id='gearFace' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23f4f4f4'/><stop offset='.55' stop-color='%23dddddd'/><stop offset='1' stop-color='%23bdbdbd'/></linearGradient><linearGradient id='gearRim' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23b8b8b8'/><stop offset='1' stop-color='%23878787'/></linearGradient></defs><rect width='128' height='128' rx='26' fill='%23448dff'/><g transform='translate(64 64)'><path fill='%23151515' fill-opacity='.3' d='M9-40h-18l-2 12a28 28 0 0 0-7 3l-9-7-10 10 7 9a28 28 0 0 0-3 7l-12 2v18l12 2a28 28 0 0 0 3 7l-7 9 10 10 9-7a28 28 0 0 0 7 3l2 12h18l2-12a28 28 0 0 0 7-3l9 7 10-10-7-9a28 28 0 0 0 3-7l12-2V-4l-12-2a28 28 0 0 0-3-7l7-9-10-10-9 7a28 28 0 0 0-7-3z' transform='translate(2 4)'/><path fill='url(%23gearRim)' d='M9-40h-18l-2 12a28 28 0 0 0-7 3l-9-7-10 10 7 9a28 28 0 0 0-3 7l-12 2v18l12 2a28 28 0 0 0 3 7l-7 9 10 10 9-7a28 28 0 0 0 7 3l2 12h18l2-12a28 28 0 0 0 7-3l9 7 10-10-7-9a28 28 0 0 0 3-7l12-2V-4l-12-2a28 28 0 0 0-3-7l7-9-10-10-9 7a28 28 0 0 0-7-3z'/><path fill='url(%23gearFace)' d='M7-34h-14l-1.8 10.2a24 24 0 0 0-6 2.5l-7.7-5.9-8.1 8.1 5.9 7.7a24 24 0 0 0-2.5 6L-37-3.6v14l10.2 1.8a24 24 0 0 0 2.5 6l-5.9 7.7 8.1 8.1 7.7-5.9a24 24 0 0 0 6 2.5L-7 41h14l1.8-10.2a24 24 0 0 0 6-2.5l7.7 5.9 8.1-8.1-5.9-7.7a24 24 0 0 0 2.5-6L37 10.4v-14L26.8-5.4a24 24 0 0 0-2.5-6l5.9-7.7-8.1-8.1-7.7 5.9a24 24 0 0 0-6-2.5z'/><circle r='16' fill='%23717171'/><circle r='11.5' fill='%23eeeeee'/><ellipse cx='-3' cy='-4' rx='7' ry='4' fill='%23ffffff' fill-opacity='.5'/></g></svg>");
}

.app[data-id="chat-with-your-data"] .icon svg,
.app[data-id="settings"] .icon svg {
  display: none;
}

#pinnedBar .tile[data-id="chat-with-your-data"] .icon svg,
#pinnedBar .tile[data-id="settings"] .icon svg {
  display: none;
}

.label {
  font-size: calc(13px * var(--font-scale));
  text-align: center;
}

.app.as-card .icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.app.as-card .label {
  text-align: left;
  font-size: var(--label-size);
  font-weight: 600;
}

.description {
  color: var(--card-description);
  font-size: var(--description-size);
  line-height: 1.35;
  text-align: left;
}

:root[data-text-size="small"] {
  --font-scale: 0.9;
}

:root[data-text-size="medium"] {
  --font-scale: 1;
}

:root[data-text-size="large"] {
  --font-scale: 1.1;
}

.host-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-10-14);
  background: var(--dock-bg);
  border-bottom: 1px solid var(--dock-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#backButton {
  border: 1px solid var(--control-border);
  color: var(--control-text);
  border-radius: 999px;
  background: var(--control-bg);
  width: 34px;
  height: 34px;
  padding: var(--space-0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  font-weight: 400;
  transition: background 120ms ease, border-color 120ms ease;
}
#backButton::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--control-text);
  border-bottom: 2px solid var(--control-text);
  transform: translateX(1px) rotate(45deg);
}

#backButton:hover {
  background: var(--card-bg-hover);
}

#activeAppName {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: calc(14px * var(--font-scale));
  text-align: center;
  width: min(60%, 560px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#logoutButton {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  background: #2b1a1a;
  padding: var(--pad-7-12);
  cursor: pointer;
}

#adminQuickLaunch {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 2;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: auto;
  padding: var(--space-2) var(--space-4);
  background: var(--dock-bg);
  border-bottom: 1px solid var(--dock-border);
  backdrop-filter: blur(8px);
}

.quick-chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #121e33;
  color: var(--text);
  padding: var(--pad-5-10);
  cursor: pointer;
  font-size: calc(12px * var(--font-scale));
}

#appViewport {
  position: absolute;
  inset: 56px 0 0;
}

.host-body-shell {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: var(--space-7);
}

.host-startup-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--space-7);
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 52%),
    linear-gradient(to bottom, color-mix(in srgb, var(--panel) 86%, transparent), color-mix(in srgb, var(--bg-1) 92%, transparent));
}

.host-startup-app-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--card-border) 88%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.host-startup-app-icon svg,
.host-startup-app-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.host-startup-app-icon svg {
  stroke: currentColor;
  color: var(--icon-default);
}

.host-startup-app-icon img {
  object-fit: contain;
}

.host-startup-screen h3 {
  margin: 0;
  font-size: calc(18px * var(--font-scale));
  font-weight: 600;
}

.host-startup-screen p {
  margin: 0;
  color: var(--muted);
  font-size: calc(14px * var(--font-scale));
}

.host-startup-orb {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-top-color: var(--accent);
  animation: hostStartupSpin 900ms linear infinite;
}

@keyframes hostStartupSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .host-startup-orb {
    animation: none;
  }
}

.host-body-shell .empty-state {
  margin: 22px auto;
  width: min(760px, 100%);
  color: var(--muted);
  text-align: center;
}

#adminQuickLaunch:not(.hidden) + #appViewport {
  inset: 98px 0 0;
}

.app-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: var(--wallpaper);
}

.app-frame::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--wallpaper);
  backdrop-filter: blur(20px);
  overflow: auto;
  padding: var(--pad-30-16);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 420ms ease;
}

.overlay input {
  display: block;
  width: min(680px, 100%);
  margin: 8px auto 26px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  border-radius: 12px;
  padding: var(--pad-14-16);
  font-size: calc(15px * var(--font-scale));
}

#authOverlay {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  padding: var(--space-5);
  background:
    radial-gradient(circle at 20% 0%, rgba(58, 96, 158, 0.15), transparent 40%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 55%);
}

.auth-panel {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--wallpaper) 92%, #0b1322 8%);
  padding: var(--space-9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-panel .hidden {
  display: none;
}

.auth-panel h2 {
  margin: 0;
}

.auth-panel p {
  margin: 0;
  color: var(--muted);
}

.auth-error {
  border: 1px solid #8b2f2f;
  color: #ffc2c2;
  background: rgba(101, 22, 22, 0.35);
  border-radius: 10px;
  padding: var(--space-4);
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: calc(14px * var(--font-scale));
}

.signup-consent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: calc(12px * var(--font-scale));
  line-height: 1.4;
}

.signup-consent-row input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.signup-consent-row a {
  color: var(--accent-2);
  text-decoration: none;
}

.signup-consent-row a:hover,
.signup-consent-row a:focus-visible {
  text-decoration: underline;
}

.auth-form input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: var(--space-4);
  color: var(--input-text);
  background: var(--input-bg);
}

.auth-form button,
.auth-actions button {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #18324d;
  color: var(--text);
  padding: var(--pad-8-12);
  cursor: pointer;
}

.auth-actions {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.auth-legal {
  margin: 0;
  font-size: calc(12px * var(--font-scale));
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.auth-legal a {
  color: var(--accent-2);
  text-decoration: none;
}

.auth-legal a:hover,
.auth-legal a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .auth-panel {
    width: calc(100% - 24px);
    max-width: 420px;
    padding: var(--space-7);
  }
}

#switcher h2 {
  margin: 0 auto 16px;
  width: min(760px, 100%);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: calc(12px * var(--font-scale));
}

.app.active {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.settings-panel {
  width: min(420px, 100%);
  margin: 44px auto;
  padding: var(--space-8);
  border-radius: 16px;
  background: var(--wallpaper);
  border: 1px solid var(--line);
}

.settings-panel h2 {
  margin: 0 0 14px;
}

.settings-panel label {
  display: block;
  margin-top: 12px;
  font-size: calc(14px * var(--font-scale));
}

.settings-panel select {
  width: 100%;
  margin-top: 6px;
  padding: var(--pad-8-10);
  border-radius: 10px;
  border: 1px solid var(--input-border);
  color: var(--input-text);
  background: var(--input-bg);
}


.settings-screen {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: var(--wallpaper);
  overflow: auto;
  padding: var(--space-7);
}

.settings-screen-header {
  display: flex;
  align-items: flex-start;
  min-height: 56px;
  padding: var(--pad-10-14);
  border-bottom: 1px solid var(--line);
}

.settings-screen-header-copy {
  min-width: 0;
}

.settings-screen-header h2 {
  margin: 0;
  font-size: clamp(
    calc(22px * var(--font-scale)),
    calc(4vw * var(--font-scale)),
    calc(32px * var(--font-scale))
  );
}

.settings-screen-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.settings-screen-body {
  width: 100%;
  max-width: 520px;
  padding: var(--space-0) var(--space-6);
}

.settings-screen-body label {
  display: block;
  margin-top: 12px;
  font-size: calc(14px * var(--font-scale));
}

.settings-screen-body select {
  width: 100%;
  margin-top: 6px;
  padding: var(--space-4);
  border-radius: 10px;
  border: 1px solid var(--input-border);
  color: var(--input-text);
  background: var(--input-bg);
}

#hostFunctions {
  margin-top: 22px;
}

.function-row {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.function-pill {
  background: #121d31;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: var(--pad-8-12);
  font-size: calc(12px * var(--font-scale));
  letter-spacing: 0.02em;
}

select option {
  background: var(--input-bg);
  color: var(--input-text);
}

@media (max-width: 640px) {
  #appShell {
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .home-stat-widget {
    grid-template-columns: 1fr;
  }

  .springboard-shell {
    border-radius: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
  }

  .grid.active-cards {
    grid-template-columns: 1fr;
     gap: 12px;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .grid.active-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .app.compact-app {
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 0;
    padding: var(--space-2) var(--space-1);
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .app.compact-app:hover {
    transform: scale(1.02);
    background: rgba(125, 144, 184, 0.08);
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .app.compact-app .icon.compact-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .app.compact-app .label.compact-label {
    margin-top: 0;
    text-align: center;
    font-size: calc(12px * var(--font-scale));
    line-height: 1.2;
    color: var(--text);
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .compact-widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .compact-widget-icon .home-stat-svg {
    width: 34px;
    height: 34px;
  }

  :root[data-springboard-view="icons"] #homeAppsGrid .compact-widget-icon .home-stat-svg.home-stat-svg-wide,
  :root[data-springboard-view="icons"] #homeAppsGrid .compact-widget-icon .home-stat-svg.home-stat-svg-distribution,
  :root[data-springboard-view="icons"] #homeAppsGrid .compact-widget-icon .home-stat-svg.home-stat-svg-indicator {
    width: 38px;
    height: 38px;
  }

  .app.as-card {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
     padding: var(--space-4);
     gap: 10px;
  }

  .app.as-card .icon {
    width: 72px;
    height: 72px;
    min-height: 72px;
    border-radius: 14px;
    align-self: flex-start;
  }

  .app.as-card.home-widget-stat-card .home-stat-visual {
      min-height: 48px;
    }

  .app.as-card.home-widget-stat-card .home-stat-value {
    font-size: calc(32px * var(--font-scale));
  }

  .app.as-card.home-widget-stat-card .home-stat-unit {
    font-size: calc(12px * var(--font-scale));
  }

  .app.as-card.home-widget-stat-card .home-stat-detail {
    font-size: calc(11px * var(--font-scale));
  }

  .app.as-card .card-copy {
    width: 100%;
    padding-top: 0;
  }

  .app.as-card .label,
  .app.as-card .description {
    text-align: left;
  }

  /* Remove mobile override that flattens .settings-screen */
  /* .settings-screen {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  } */

  #pinnedBar {
    width: calc(100% - 24px);
    bottom: 10px;
    gap: 8px;
    padding: var(--pad-8-10);
  }

  #pinnedBar .tile {
    width: 46px;
    height: 46px;
  }

  #pinnedBar .tile .icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .dock-logout-button {
    right: 12px;
    bottom: 10px;
    width: 62px;
    height: 62px;
  }
}