:root {
  --blur: 16px;
  --glass: rgba(18, 18, 22, .55);
  --stroke: rgba(255, 255, 255, .26);
  --text: #ffffff;
  --muted: #e2e3ea;
  --shadow: rgba(0, 0, 0, .45);
  --dock-bg: rgba(18, 18, 22, .45);
  --accent: #154157;
  --gold: #f2d681
}

* {
  box-sizing: border-box;
  /* Modern scrollbar for Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Webkit Scrollbar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1400px 700px at 50% 50%, rgba(0, 25, 45, .55), transparent 70%), radial-gradient(900px 500px at 50% 60%, rgba(0, 120, 220, .14), transparent 60%), #050607
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(var(--blur));
  border-bottom: 1px solid var(--stroke);
  z-index: 20
}

.topbar .title {
  font-weight: 700;
  letter-spacing: .2px
}

.topbar .status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 600
}

.topbar {
  white-space: nowrap;
  overflow: hidden
}

.topbar .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0
}

.topbar .status {
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0
}

.topbar .status span {
  white-space: nowrap
}

.status .icon-btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .12);
  color: #e9e9ee;
  height: 22px;
  width: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease
}

.status .icon-btn:hover {
  background: linear-gradient(180deg, rgba(242, 214, 129, .25), rgba(242, 214, 129, .12));
  color: #fff;
  box-shadow: 0 8px 22px rgba(242, 214, 129, .35), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: translateY(-1px)
}

.status .icon-btn:active {
  transform: translateY(1px) scale(.97)
}

.status .icon-btn svg {
  height: 14px;
  width: 14px
}

.desktop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 96px
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  backdrop-filter: saturate(200%) blur(var(--blur));
  border: 1px solid var(--stroke);
  box-shadow: none;
  overflow: visible
}

.dock::before,
.dock::after {
  display: none
}

.dock-item {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  position: relative
}

.dock-item.dragging {
  opacity: .75
}

.icon {
  position: relative;
  z-index: 1;
  height: 47px;
  width: 47px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transform: translateZ(0);
  will-change: transform;
  transform-origin: bottom center;
  transition: transform .14s ease-out
}

.icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: none;
  opacity: 0;
  pointer-events: none
}

.icon.folder {
  background: transparent
}

.icon.trash {
  background: transparent
}

.label {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) translateY(6px);
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(20, 20, 25, .65);
  backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none
}

.dock-item.active .label {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.dock-item.open::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  height: 6px;
  width: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  z-index: 0
}

.dock-sep {
  height: 42px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06));
  border-left: 1px solid rgba(255, 255, 255, .12);
  border-right: 1px solid rgba(0, 0, 0, .15);
  align-self: center
}

.icon svg {
  height: 54%;
  width: 54%
}

.board-tabs {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .04));
  backdrop-filter: saturate(180%) blur(8px);
  border: 1px solid var(--stroke);
  border-radius: 12px
}

.board-tab {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .08);
  color: #e9e9ee;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: background .16s ease, transform .12s ease
}

.board-tab:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px)
}

.board-tab.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, .24);
  color: #fff
}

.pf-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: stretch;
  align-content: start;
  width: 520px;
  margin: 0 auto;
  padding: 0
}

.pf-btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .12);
  color: #e9e9ee;
  height: 84px;
  width: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px;
  backdrop-filter: saturate(160%) blur(var(--blur));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease
}

.pf-btn:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .22)
}

.pf-btn:active {
  transform: translateY(1px) scale(.98)
}

.pf-btn.danger {
  background: rgba(255, 120, 120, .14)
}

.pf-detail-card {
  transform: scale(.96);
  opacity: 0;
  transition: transform .28s cubic-bezier(.22, .8, .2, 1), opacity .28s ease
}

#pf-detail.show .pf-detail-card {
  transform: scale(1);
  opacity: 1
}

#pf-detail.pf-plain .pf-detail-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  width: min(900px, 86vw);
  min-height: auto;
  justify-items: center
}

#pf-detail.pf-plain #pf-detail-title {
  display: block !important;
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 8px;
  justify-self: center !important
}

#pf-detail.pf-plain #pf-detail-body {
  display: grid;
  gap: 12px;
  place-items: center;
  width: 100%
}

#pf-detail.pf-plain {
  grid-column: 1/-1;
  place-items: center;
  justify-self: center;
  align-self: center;
  grid-template-rows: auto auto
}

#pf-detail.pf-plain .pf-detail-card {
  margin: 0 auto
}

#pf-detail.pf-modal {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 16px;
  z-index: 1000
}

#pf-detail.pf-modal .pf-detail-card {
  margin: 0 auto
}

#pf-detail.pf-plain [id^="pf-sec-"] {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  justify-items: center
}

#pf-detail.pf-plain [id^="pf-sec-"]> :first-child {
  display: none !important
}

#pf-wall-preview {
  display: block;
  width: min(900px, 86vw);
  height: 52vh;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: radial-gradient(1400px 700px at 50% 50%, rgba(0, 25, 45, .55), transparent 70%), radial-gradient(900px 500px at 50% 60%, rgba(0, 120, 220, .14), transparent 60%), #050607;
  box-shadow: none;
  position: relative;
  overflow: hidden
}

#pf-wall-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block
}

#pf-detail[style*="display: grid"] .pf-detail-card {
  transform: scale(1);
  opacity: 1
}

.pf-avatar-wrap {
  position: relative;
  height: 160px;
  width: 160px;
  border-radius: 50%
}

.pf-avatar-wrap:hover img {
  filter: brightness(.6)
}

.pf-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  transition: opacity .16s ease
}

.pf-avatar-overlay svg {
  width: 28px;
  height: 28px
}

.pf-avatar-wrap:hover .pf-avatar-overlay {
  opacity: 1
}

.pf-avatar-overlay {
  pointer-events: none
}

.pf-avatar-wrap img[src]+.pf-avatar-overlay {
  display: none
}

.board-app [data-section] {
  min-height: 80px
}

.detail-view {
  grid-column: 1/-1;
  display: none;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px
}

.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.back-btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .08);
  color: #e9e9ee;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease
}

.back-btn:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .25)
}

.back-btn:active {
  transform: translateY(1px) scale(.98)
}

.back-btn.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  box-shadow: 0 10px 26px rgba(21, 65, 87, .32), inset 0 1px 0 rgba(255, 255, 255, .25)
}

.period-pill {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .08);
  color: #e9e9ee;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: auto
}

.nav-btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .08);
  color: #e9e9ee;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: left
}

.nav-btn.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, .24);
  color: #fff
}

.nav-btn.ai {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10)
}

.nav-btn.ai.is-active {
  box-shadow: 0 10px 26px rgba(21, 65, 87, .32), inset 0 0 0 1px rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .36)
}

.filter-ind {
  pointer-events: none
}

.dark-select {
  appearance: none;
  background: rgba(255, 255, 255, .06);
  color: #e9e9ee;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  height: 36px
}

.dark-select option {
  background: #0a0a0a;
  color: #ffffff
}

.dark-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .18)
}

.dark-select.is-on {
  color: var(--accent)
}

.dark-input {
  appearance: none;
  background: rgba(255, 255, 255, .06);
  color: #e9e9ee;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  height: 32px;
  padding: 6px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .14s ease, box-shadow .14s ease
}

.dark-input::placeholder {
  color: #e9e9ee;
  opacity: .85
}

.dark-input:focus {
  outline: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .16);
  transform: translateY(-1px)
}

.icon.cualityx {
  background: transparent
}

.icon.ventas {
  background: transparent
}

.icon.universidad {
  background: transparent
}

.icon.autodiag {
  background: transparent
}

.icon.auditorias {
  background: transparent
}

.icon.asistente {
  background: transparent
}

.icon.store {
  background: transparent
}

.icon.chatbot {
  background: #10a37f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px var(--shadow)
}

.icon.chatbot svg {
  height: 100%;
  width: 100%;
  stroke: #fff
}

.icon.app {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px var(--shadow)
}

.icon.app svg {
  height: 100%;
  width: 100%;
  stroke: #fff
}

.icon.storeapp {
  background: #2563eb
}

.icon.dashboard {
  background: #1e3a8a
}

.icon.standards {
  background: #ef4444
}

.icon.admin {
  background: #6366f1
}

.icon.neuro {
  background: #7c3aed
}

.icon.risk {
  background: #22c55e
}

.icon.docs {
  background: #06b6d4
}

.icon.uni {
  background: #ec4899
}

.icon.auto {
  background: #fb923c
}

.icon.sales {
  background: var(--accent)
}

.icon.mov {
  background: #14b8a6
}

.icon.sg {
  background: #0ea5e9
}

.icon.strategy {
  background: #0d9488
}

.icon.okr {
  background: #f59e0b
}

.icon.monitor {
  background: #a3e635
}

.icon.innovation {
  background: #f97316
}

.icon.projects {
  background: #3b82f6
}

.icon.improvement {
  background: #10b981
}

.icon.decisions {
  background: #eab308
}

.icon.practices {
  background: #0ea5e9
}

.icon.meetings {
  background: #8b5cf6
}

.icon.acts {
  background: #dc2626
}

.icon.customerxp {
  background: #2dd4bf
}

.icon.suggestions {
  background: #f43f5e
}

.icon.competencies {
  background: #9333ea
}

.icon.succession {
  background: #4ade80
}

.icon.onboarding {
  background: #38bdf8
}

.icon.microlearning {
  background: #f472b6
}

.icon.clima {
  background: #22c55e
}

.icon.performance {
  background: #f59e0b
}

.icon.mentoring {
  background: var(--accent)
}

.icon.recognitions {
  background: #ef4444
}

.icon.values {
  background: #10b981
}

.icon.ethicsline {
  background: #0ea5e9
}

.icon.ethicscases {
  background: #f97316
}

.icon.csr {
  background: #16a34a
}

.icon.esg {
  background: #84cc16
}

.icon.carbon {
  background: #64748b
}

.icon.vendors {
  background: #8b5cf6
}

.icon.contracts {
  background: #2563eb
}

.icon.sla {
  background: #06b6d4
}

.icon.incidents {
  background: #dc2626
}

.icon.servicequality {
  background: #f59e0b
}

.icon.safety {
  background: #ef4444
}

.icon.accidents {
  background: #eab308
}

.icon.ergonomics {
  background: #fb7185
}

.icon.bcm {
  background: #0ea5e9
}

.icon.crisis {
  background: #dc2626
}

.icon.cyber {
  background: #22d3ee
}

.icon.assetsinfo {
  background: #64748b
}

.icon.access {
  background: #a3e635
}

.icon.itcompliance {
  background: #3b82f6
}

.icon.automation {
  background: #10b981
}

.icon.workflows {
  background: #8b5cf6
}

.icon.bots {
  background: #14b8a6
}

.icon.integrations {
  background: #f59e0b
}

.icon.dataquality {
  background: #9333ea
}

.icon.mdm {
  background: #2563eb
}

.icon.trends {
  background: #f43f5e
}

.icon.competition {
  background: #ef4444
}

.icon.openinnovation {
  background: #f97316
}

.icon.alliances {
  background: #22c55e
}

.icon.portfolio {
  background: #06b6d4
}

.icon.investments {
  background: #eab308
}

.icon.scenarios {
  background: #7c3aed
}

.icon.commscenarios {
  background: #a78bfa
}

.icon.campaigns {
  background: #f97316
}

.icon.keyaccounts {
  background: #2563eb
}

.icon.renewals {
  background: #84cc16
}

.icon.commitments {
  background: #eab308
}

.icon.bids {
  background: #06b6d4
}

.icon.serviceproviders {
  background: #8b5cf6
}

.icon.logistics {
  background: #14b8a6
}

.icon.deliverytimes {
  background: #f59e0b
}

.icon.logisticsquality {
  background: #0ea5e9
}

.icon.traceability {
  background: #10b981
}

.icon.returns {
  background: #f43f5e
}

.icon.knowledgeinventory {
  background: #9333ea
}

.icon.successcases {
  background: #22c55e
}

.icon.learningnarratives {
  background: #fb7185
}

.icon.communities {
  background: #3b82f6
}

.icon.events {
  background: #ef4444
}

.icon.surveys {
  background: #a3e635
}

.icon.psychwellbeing {
  background: #7dd3fc
}

.icon.experiments {
  background: #f472b6
}

.icon.pilots {
  background: #1e3a8a
}

.icon.stories {
  background: #6b7280
}

.icon.roadmap {
  background: #0d9488
}

.icon.milestones {
  background: #f2d681
}

.icon.patterns {
  background: #64748b
}

.icon.emergingrisks {
  background: #f87171
}

.icon.insightsai {
  background: #10a37f
}

.icon.costs {
  background: #f87171
}

.icon.productivity {
  background: #22c55e
}

.icon.maintenance {
  background: #6366f1
}

.icon.operationscalendar {
  background: #06b6d4
}

.icon.shifts {
  background: #a78bfa
}

.icon.capacity {
  background: #3b82f6
}

.icon.inventories {
  background: #eab308
}

.icon.cycletimes {
  background: #14b8a6
}

.icon.rework {
  background: #f43f5e
}

.icon.lean {
  background: #10b981
}

.icon.kaizen {
  background: #7c3aed
}

.icon.quickimprovements {
  background: #84cc16
}

.icon.visualprocedures {
  background: #0ea5e9
}

.icon.forms {
  background: #2563eb
}

.icon.approvals {
  background: #f59e0b
}

.icon.changeaudit {
  background: #64748b
}

.icon.financekpi {
  background: #1e3a8a
}

.icon.liquidity {
  background: #22d3ee
}

.icon.margins {
  background: #ef4444
}

.icon.pricing {
  background: #fb923c
}

.wm {
  position: fixed;
  inset: 28px 0 80px;
  overflow: hidden;
  border-radius: 14px
}

.window {
  position: absolute;
  top: 120px;
  left: 120px;
  width: 720px;
  max-width: 86vw;
  height: 440px;
  max-height: 70vh;
  background: rgba(12, 12, 16, 0.90);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(28px) saturate(120%);
  border-radius: 14px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transform-origin: bottom center;
  will-change: transform
}

.window.hidden {
  display: none
}

.window.active {
  box-shadow: none
}

.window.full {
  max-width: none;
  max-height: none
}

#win-profile {
  background: rgba(12, 12, 16, .32)
}

.titlebar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-bottom: 0;
  background: transparent;
  cursor: default;
  user-select: none
}

.titlebar {
  position: relative;
  z-index: 2
}

.traffic {
  display: flex;
  align-items: center;
  gap: 8px
}

.traffic .btn {
  height: 12px;
  width: 12px;
  border-radius: 50%
}

.traffic .close {
  background: #ff5f57
}

.traffic .min {
  background: #ffbd2e
}

.traffic .zoom {
  background: #28c840
}

.title {
  font-weight: 700;
  color: #e9e9ee
}

.titlebar .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.content {
  flex: 1;
  position: relative;
  background: transparent;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch
}

.window .content {
  position: relative !important;
  inset: auto !important
}

.content::before {
  content: "";
  display: none
}

.content::after {
  content: "";
  display: none
}

.content::-webkit-scrollbar {
  height: 10px;
  width: 10px
}

.content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 10px
}

.content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .18));
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px
}

.content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0 0 14px 14px
}

.mission {
  position: fixed;
  inset: 34px 0 100px;
  background: rgba(12, 12, 16, .55);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--stroke);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px
}

.mission.show {
  display: grid
}

.mission .thumb {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  box-shadow: 0 20px 60px var(--shadow);
  position: relative
}

.mission .thumb .label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  transform: none;
  background: rgba(20, 20, 25, .6)
}

.spotlight {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px)
}

.spotlight.show {
  display: flex
}

.spotlight .box {
  width: min(800px, 90vw);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px 16px;
  color: #e9e9ee
}

.spotlight input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  outline: none;
  font-size: 18px
}

.toast {
  position: fixed;
  right: 20px;
  top: 50px;
  display: none;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 20, 25, .75);
  backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 40px var(--shadow)
}

.toast.show {
  display: block
}

.context {
  position: fixed;
  display: none;
  background: rgba(28, 28, 30, .85);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 6px;
  color: #ffffff;
  backdrop-filter: blur(50px) saturate(250%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
  z-index: 1000
}

.context.show {
  display: grid;
  gap: 4px;
  align-items: stretch
}

.context .back-btn {
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  letter-spacing: .1px;
  text-align: left;
  justify-content: flex-start
}

.context.plain {
  background: rgba(20, 20, 25, .92);
  backdrop-filter: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .18)
}

.context.plain .back-btn {
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
  color: #fff
}

.mac-input {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, rgba(20, 20, 26, .42), rgba(16, 16, 22, .28));
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(12px) saturate(122%);
  outline: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  transition: box-shadow .18s ease, transform .12s ease
}

.mac-input:focus {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .45);
  transform: translateY(-1px)
}

#auth-spin {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .22);
  backdrop-filter: blur(3px);
  z-index: 2000
}

#auth-spin .spinner {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #ffffff;
  animation: spin .9s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

#pf-edit-name {
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease
}

#pf-edit-name:hover {
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: translateY(-1px)
}

.mac-input::placeholder {
  color: #ffffff;
  opacity: .92;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .42)
}

#scrum-card-title::placeholder {
  color: #ffffff;
  opacity: .98
}

.oobe-pack {
  display: grid;
  place-items: center;
  gap: 12px;
  transition: transform 280ms ease
}

.oobe-pack.raise {
  transform: translateY(-16px)
}

.oobe-plus {
  height: 92px;
  width: 92px;
  border: none;
  background: rgba(255, 255, 255, .38);
  backdrop-filter: blur(10px) saturate(118%);
  color: #0b1220;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .55);
  opacity: 0;
  transform: scale(.96);
  animation: plusIntro 620ms cubic-bezier(.22, .8, .2, 1) forwards
}

.oobe-plus span {
  font-size: 36px;
  line-height: 1;
  color: #0b1220
}

@keyframes plusIntro {
  0% {
    opacity: 0;
    transform: scale(.96)
  }

  60% {
    opacity: 1;
    transform: scale(1.02)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

.oobe-form {
  opacity: 0
}

.oobe-form.show {
  animation: formIntro 500ms ease-out forwards
}

@keyframes formIntro {
  0% {
    opacity: 0;
    transform: translateY(6px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

.oobe-item {
  opacity: 0;
  transform: translateY(10px) scale(.98);
  animation: oobeItemIn 520ms cubic-bezier(.22, .8, .2, 1) forwards
}

.oobe-item:nth-child(1) {
  animation-delay: 60ms
}

.oobe-item:nth-child(2) {
  animation-delay: 120ms
}

.oobe-item:nth-child(3) {
  animation-delay: 180ms
}

.oobe-item:nth-child(4) {
  animation-delay: 240ms
}

@keyframes oobeItemIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(.98)
  }

  60% {
    opacity: 1;
    transform: translateY(0) scale(1.01)
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.focus-overlay {
  position: absolute;
  inset: 6px;
  pointer-events: none;
  z-index: 9;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(110, 76, 196, .16) 0%, rgba(172, 82, 214, .24) 38%, rgba(255, 168, 208, .14) 100%), radial-gradient(1200px 700px at 50% 45%, rgba(12, 12, 16, .46), rgba(10, 10, 16, .64));
  backdrop-filter: saturate(160%) blur(28px) brightness(.96);
  opacity: 0;
  display: none;
  transition: opacity .28s ease
}

.focus-overlay.show {
  opacity: 1;
  display: block;
  pointer-events: none
}

.wm .window:not(.active):not(.hidden) {
  opacity: 1;
  filter: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .40)
}

.wm .window.active {
  opacity: 1;
  filter: none;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65)
}

body[data-focus='1'][data-immersive='1'] .topbar {
  filter: blur(16px) saturate(75%);
  opacity: .5;
  transition: filter .2s ease, opacity .2s ease;
  will-change: filter, opacity
}

body[data-focus='1'][data-immersive='1'] .dock {
  filter: blur(16px) saturate(75%);
  opacity: .5;
  transition: filter .2s ease, opacity .2s ease;
  will-change: filter, opacity
}

#lessons-modal input,
#lessons-modal textarea {
  color: #ffffff !important
}

#lessons-modal input::placeholder,
#lessons-modal textarea::placeholder {
  color: #ffffff !important;
  opacity: 1
}

#lessons-modal select {
  color: #ffffff !important
}

#lessons-modal option {
  color: #ffffff;
  background: #0a0a0a
}

@media (max-width:560px) {
  .topbar {
    height: 26px
  }

  .topbar .title {
    font-size: 12px
  }

  .topbar .status {
    font-size: 12px
  }

  .pf-tiles {
    width: 100%;
    max-width: 100%;
    padding: 0 8px
  }

  .pf-btn {
    height: 68px;
    padding: 10px;
    border-radius: 14px
  }

  #pf-detail .pf-detail-card {
    width: 96vw;
    min-height: auto
  }

  .wm {
    inset: 28px 0 70px
  }

  .dock {
    bottom: 10px;
    gap: 8px;
    padding: 5px 8px
  }

  .label {
    bottom: 56px
  }

  #win-profile {
    top: 10px;
    left: 10px;
    width: 94vw;
    max-width: 94vw;
    height: 86vh;
    max-height: 86vh
  }

  #win-profile .content {
    overflow: auto
  }

  #win-profile .content>div {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr !important;
    place-content: start !important;
    align-items: start !important;
    justify-items: stretch !important;
    height: auto !important;
    padding: 12px !important;
    gap: 12px !important
  }

  #win-profile .content>div {
    padding-top: 18px !important
  }

  #pf-head {
    grid-column: 1 !important;
    margin-top: 8px !important
  }

  #pf-name-head {
    margin-top: 12px !important
  }

  #pf-edit-name {
    margin-top: 12px !important
  }

  #pf-tiles {
    grid-column: 1 !important;
    width: 100% !important
  }

  .pf-avatar-wrap {
    height: 120px;
    width: 120px;
    margin: 6px auto 0
  }

  #pf-avatar-head {
    height: 120px !important;
    width: 120px !important;
    object-fit: cover !important
  }
}

html[data-android='1'] #win-profile .content>div {
  position: static !important;
  inset: auto !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  place-content: start !important;
  align-items: start !important;
  justify-items: stretch !important;
  height: auto !important;
  padding: 16px !important;
  gap: 14px !important
}

html[data-android='1'] #pf-head {
  grid-column: 1 !important;
  justify-items: center;
  margin-top: 10px
}

html[data-android='1'] #pf-name-head {
  margin-top: 14px !important
}

html[data-android='1'] #pf-edit-name {
  margin-top: 14px !important
}

html[data-android='1'] #pf-tiles {
  grid-column: 1 !important;
  width: 100%
}

html[data-android='1'] .pf-avatar-wrap {
  margin: 10px auto 0
}

html[data-android='1'] .pf-avatar-wrap {
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 255, 255, .10)
}

html[data-android='1'] #pf-avatar-head {
  height: 120px !important;
  width: 120px !important;
  object-fit: cover !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35) !important
}