@charset "UTF-8";
:root {
  color-scheme: light;
  --night: #090d15;
  --navy-card: #111926;
  --ink: #161c27;
  --muted: #8b919e;
  --line: #e9ecf2;
  --line-hover: #d5dce8;
  --blue: #2d73f5;
  --slate-icon: #4c6f9c;
  --green: #67c9aa;
  --amber: #d49b4b;
  --danger: #e05263;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --paper: #f7f8fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, a, label, select {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  color: inherit;
  background: none;
}

button:disabled {
  opacity: .38;
  cursor: default;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #7aa7ff;
  outline-offset: 3px;
}

.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

button svg {
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* Full Desktop Web Shell */
#app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), filter .4s var(--ease);
}

#app-shell.sheet-open {
  filter: brightness(.95);
}

/* Top Dark Header Bar (--night: #090d15) */
.app-header {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  height: 86px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-title {
  font-size: 22px;
  letter-spacing: -.9px;
  font-weight: 560;
}

.brand-tag {
  font-size: 11px;
  color: #8c9bb3;
  padding-left: 12px;
  border-left: 1px solid #ffffff17;
}

/* Desktop Pill Navigation in Header (Same design language as Z-One dark pill) */
.top-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 20px;
  background: #111827;
  border: 1px solid #ffffff12;
}

.top-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 15px;
  color: #8492a8;
  font-size: 13px;
  font-weight: 500;
  transition: color .25s, background .25s;
}

.top-nav button .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.55;
}

.top-nav button:hover {
  color: #d6e0f0;
}

.top-nav button.selected {
  background: #ffffff12;
  color: #f4f7ff;
  border: 1px solid #ffffff0d;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid #ffffff14;
  background: #ffffff08;
  color: #dce5f2;
  font-size: 11.5px;
  font-weight: 480;
  transition: background .2s, border-color .2s;
}

.header-link-pill:hover {
  background: #ffffff14;
  border-color: #ffffff28;
}

.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #ffffff12;
  background: #ffffff06;
  border-radius: 30px;
  color: #c4cdd9;
  font-size: 11.5px;
  font-weight: 480;
  white-space: nowrap;
}

.connection-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px #67c9aa55;
}

/* Full-Width Paper Sheet Workspace (--paper: #f7f8fa) */
.workspace {
  flex: 1;
  background: var(--paper);
  border-radius: 36px 36px 0 0;
  padding: 38px 0 80px;
  min-height: calc(100dvh - 86px);
}

.workspace-container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 0 42px;
}

.page-stack {
  position: relative;
  width: 100%;
}

.page {
  width: 100%;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
}

.page-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-head h1 {
  font-size: 32px;
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -1.25px;
  margin: 0;
  color: var(--ink);
}

.page-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

.info-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: #7c8799;
  transition: background .2s, color .2s;
}

.info-button:hover {
  background: #eef2f8;
  color: var(--slate-icon);
}

.info-button .icon {
  width: 19px;
  height: 19px;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 560;
  letter-spacing: .25px;
  color: #8891a0;
  margin: 32px 0 14px;
}

/* Dashboard Top Grid: Hero Dark Card + 4 Vitals Cards */
.hero-dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 2fr;
  gap: 18px;
  align-items: stretch;
}

.device-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 24px;
  background: var(--navy-card);
  color: #f4f6fa;
  padding: 28px 26px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 32px #0b152614;
}

.device-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -75px;
  top: -110px;
  border-radius: 50%;
  border: 1px solid #ffffff0a;
  box-shadow: 0 0 0 28px #ffffff03, 0 0 0 56px #ffffff02;
  z-index: -1;
}

.device-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #c2d7ff;
  background: linear-gradient(145deg, #dfeeff0c, #6c9eff0e);
  border: 1px solid #dce9ff14;
  border-radius: 19px;
  flex-shrink: 0;
}

.device-art > .icon {
  width: 31px;
  height: 31px;
  stroke-width: 1.35;
}

.device-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.device-name > span {
  font-size: 20px;
  font-weight: 540;
  letter-spacing: -.5px;
}

.device-name > strong {
  font-size: 12px;
  font-weight: 420;
  color: #8c9bb3;
}

.device-ready {
  margin-left: auto;
  display: grid;
  place-items: center;
  background: #58c4a714;
  width: 32px;
  height: 32px;
  border: 1px solid #69d8b428;
  border-radius: 50%;
  color: #79d6b8;
  flex-shrink: 0;
}

.device-ready .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.vital-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 6px #17294603;
}

.vital-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  color: #8b94a4;
}

.vital-val {
  font-size: 26px;
  font-weight: 560;
  letter-spacing: -.8px;
  color: var(--ink);
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}

.vital-sub {
  font-size: 11px;
  color: #9ba4b4;
}

/* Shortcut Tiles Grid (4 Columns on Desktop, Z-One White Rounded Cards) */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 138px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  background: var(--white);
  box-shadow: 0 3px 6px #17294603;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}

.shortcut:hover {
  transform: translateY(-2px);
  border-color: var(--line-hover);
  box-shadow: 0 10px 24px #1729460a;
}

.shortcut-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #f2f6fc;
  color: var(--slate-icon);
}

.shortcut-symbol .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.5;
}

.shortcut-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.shortcut-meta strong {
  font-size: 14px;
  letter-spacing: -.25px;
  font-weight: 540;
  color: var(--ink);
}

.shortcut-meta small {
  font-size: 11.5px;
  color: #919bab;
}

.tile-arrow {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 14px;
  height: 14px;
  color: #b4becd;
}

/* Two-Column Desktop Layout for Home & Tools */
.desktop-two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Toolbar: Search & Segmented Filter Pills */
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.search-bar {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  height: 46px;
}

.search-bar .icon {
  width: 18px;
  height: 18px;
  color: #9aa3b2;
}

.search-bar input {
  flex: 1;
  border: 0;
  background: none;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}

.segment-pills {
  display: inline-flex;
  gap: 4px;
  background: #eaeef5;
  padding: 4px;
  border-radius: 14px;
}

.segment-pill {
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 510;
  color: #697487;
  transition: background .2s, color .2s, box-shadow .2s;
}

.segment-pill.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 6px #101f3612;
}

/* Multi-Column Cards Grid for Apps/Containers & Domains on Desktop */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 21px;
  text-align: left;
  width: 100%;
  box-shadow: 0 3px 6px #17294603;
  transition: transform .18s var(--ease), border-color .18s, box-shadow .18s;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-hover);
  box-shadow: 0 8px 20px #17294608;
}

.app-monogram {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #f0f3f8;
  border: 1px solid #e6ecf5;
  color: #5e7494;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 560;
  flex-shrink: 0;
  overflow: hidden;
  padding: 8px;
}

.app-monogram svg,
.app-monogram img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.app-monogram.online {
  background: #eef8f4;
  border-color: #d6efe5;
  color: #3d8f73;
}

.app-card .row-body {
  flex: 1;
  min-width: 0;
}

.app-card strong {
  font-size: 14px;
  font-weight: 520;
  letter-spacing: -.2px;
  color: var(--ink);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-card small {
  display: block;
  font-size: 11px;
  color: #939eae;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-state {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1px solid #d9eee6;
  background: #f3fbf8;
  border-radius: 50%;
  color: #58ab8e;
}

.app-state > .icon {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

.app-state.stopped {
  color: #9aa3b2;
  border-color: #e6e9f0;
  background: #f7f8fb;
}

/* Grouped White List Cards (from Z-One iOS) */
.category-group {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 3px 6px #17294603;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px 20px;
  background: var(--white);
  text-align: left;
  min-height: 68px;
  position: relative;
  transition: background .15s;
}

.menu-row:hover {
  background: #fafbfd;
}

.menu-row + .menu-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 66px;
  right: 20px;
  height: 1px;
  background: #f0f2f6;
}

.row-icon {
  display: grid;
  place-items: center;
  color: var(--slate-icon);
  width: 36px;
  height: 36px;
  background: #f2f5fa;
  border-radius: 11px;
  flex-shrink: 0;
}

.row-icon .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.5;
}

.row-body {
  flex: 1;
  min-width: 0;
}

.row-label {
  display: block;
  font-size: 13.5px;
  letter-spacing: -.2px;
  font-weight: 500;
  color: var(--ink);
}

.row-sub {
  display: block;
  font-size: 11px;
  color: #959fb0;
  margin-top: 3px;
}

.row-detail {
  font-size: 11px;
  color: #9da5b4;
  font-variant-numeric: tabular-nums;
}

.chevron {
  width: 15px;
  height: 15px;
  color: #c0c7d3;
}

/* Status Banner Card */
.renewal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 3px 6px #17294603;
}

.renewal-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: #5a9987;
  background: #f0f8f5;
  border-radius: 15px;
}

.renewal-card h2 {
  font-size: 16.5px;
  font-weight: 540;
  letter-spacing: -.4px;
  margin: 0;
}

.renewal-card p {
  font-size: 12px;
  color: #8e99aa;
  margin: 4px 0 0;
}

/* Buttons & Inputs (Exact Z-One iOS Palette) */
.primary, .secondary, .danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 15px;
  min-height: 48px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 520;
  letter-spacing: -.1px;
  transition: transform .15s, background .2s;
}

.primary {
  background: #121b2a;
  color: #fff;
  box-shadow: 0 5px 12px #132a4b12;
}

.primary:hover {
  background: #1b283d;
}

.secondary {
  background: #eaf0f8;
  color: #486994;
}

.secondary:hover {
  background: #dfe8f4;
}

.danger-btn {
  background: #fdf0f2;
  color: var(--danger);
  border: 1px solid #f9d7dc;
}

.danger-btn:hover {
  background: #fbe2e6;
}

.action-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.text-input {
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid #e3e8f0;
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
}

/* Console Card (#111926) */
.console-card {
  background: var(--navy-card);
  color: #e5ecf6;
  border-radius: 22px;
  padding: 22px;
  margin-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  min-height: 360px;
  max-height: 520px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.console-form {
  display: flex;
  gap: 10px;
}

.console-form .text-input {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.console-form .primary {
  width: auto;
  padding: 0 26px;
}

/* Modal Sheet (Centered Clean Card on Desktop, Bottom Sheet on Mobile) */
.info-sheet {
  position: fixed;
  inset: 0;
  max-width: 540px;
  width: calc(100% - 32px);
  height: fit-content;
  max-height: 88dvh;
  margin: auto;
  padding: 24px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px #0913242e;
  overflow: auto;
}

.info-sheet::backdrop {
  background: #050d1b66;
  backdrop-filter: blur(6px);
}

.sheet-handle {
  display: none;
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f0f5fe;
  color: #5b82b8;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f5f9;
  color: #8c98aa;
}

.info-sheet h2 {
  font-size: 24px;
  letter-spacing: -.8px;
  font-weight: 560;
  margin: 0 0 6px;
}

.info-body {
  font-size: 13px;
  line-height: 1.65;
  color: #778396;
  margin-bottom: 18px;
}

.sheet-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}

.sheet-section label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 520;
  color: #5d697d;
  margin-bottom: 8px;
}

.range-input {
  width: 100%;
  accent-color: var(--blue);
}

/* Toast Notification */
.toast {
  position: fixed;
  z-index: 90;
  bottom: 28px;
  right: 32px;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  max-width: 380px;
  background: #17243cf5;
  border: 1px solid #ffffff14;
  color: #eef3ff;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 14px 20px;
  border-radius: 17px;
  box-shadow: 0 10px 32px #0d203b28;
  backdrop-filter: blur(15px);
  transition: opacity .25s, transform .35s var(--ease);
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Intro Splash Overlay (Z-One Official) */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #090d15;
  overflow: hidden;
}

.intro-center {
  position: relative;
  width: 150px;
  height: 186px;
  text-align: center;
}

.intro-symbol, .intro-trace {
  position: absolute;
  width: 120px;
  height: 120px;
  left: 15px;
  top: 0;
}

.intro-symbol {
  opacity: 0;
}

.intro-trace {
  color: #aac2e4;
  stroke: currentColor;
  stroke-width: .5;
  opacity: .7;
}

.intro-trace path, .intro-trace circle {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
}

.intro-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 1px;
  color: #f4f7ff;
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -.8px;
}

.intro-name > span {
  display: inline-block;
  opacity: 0;
}

.intro-line {
  position: absolute;
  width: 23px;
  height: 1px;
  left: calc(50% - 11.5px);
  bottom: 0;
  background: #598aff;
  transform: scaleX(0);
  opacity: .6;
}

.intro-finished #app-shell {
  opacity: 1;
}

body:not(.intro-finished) #app-shell {
  opacity: 0;
}

/* --- FACE ID / PASSKEY INITIAL GATE AT /acceso (SINGLE AESTHETIC BUTTON) --- */
.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 35%, #121c30 0%, #090d15 72%);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.auth-single-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.aesthetic-access-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 32px 14px 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f6fb 100%);
  color: #0f172a;
  border: 1px solid #ffffff;
  box-shadow:
    0 24px 60px #00000075,
    0 0 0 1px #ffffff22,
    0 0 40px #2d73f524;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.aesthetic-access-btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 28px 70px #00000088,
    0 0 0 1px #ffffff44,
    0 0 54px #67c9aa38;
}

.aesthetic-btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0f172a;
  color: #67c9aa;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px #0f172a38;
}

.aesthetic-btn-icon svg {
  width: 25px;
  height: 25px;
}

.aesthetic-btn-label {
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -.45px;
  color: #0f172a;
  white-space: nowrap;
}

.gate-error-toast {
  padding: 10px 18px;
  border-radius: 14px;
  background: #2a1218ee;
  border: 1px solid #f43f5e44;
  color: #fda4af;
  font-size: 12.5px;
  font-weight: 500;
  max-width: 340px;
  text-align: center;
}

/* --- GREEN-TO-RED SCALE BARS FOR VITALS --- */
.vital-tile {
  position: relative;
  overflow: hidden;
  transition: border-color .35s, background .35s, box-shadow .35s;
}

.vital-bar-track {
  width: 100%;
  height: 6px;
  background: #edf1f7;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
}

.vital-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width .45s var(--ease), background-color .45s;
}

.scale-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 560;
}

/* --- .EXE INSTALLERS VAULT CARDS --- */
.exe-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 3px 8px #17294605;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
  cursor: pointer;
}

.exe-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-hover);
  box-shadow: 0 12px 28px #1729460c;
}

.exe-card-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.exe-photo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f2f6fc;
  border: 1px solid #e4ebf5;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 10px;
}

.exe-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exe-meta {
  flex: 1;
  min-width: 0;
}

.exe-meta strong {
  display: block;
  font-size: 15.5px;
  font-weight: 560;
  letter-spacing: -.3px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exe-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.exe-badge {
  font-size: 11px;
  font-weight: 520;
  padding: 3px 9px;
  border-radius: 8px;
  background: #f0f4fa;
  color: #4c6f9c;
}

.exe-desc-preview {
  font-size: 12.5px;
  color: #6f7b8e;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.exe-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f4f9;
  font-size: 11.5px;
  color: #8792a3;
}

/* --- FLUX LIGHT WORKSPACE (Notes, Copy-Bubbles, Projects & Tasks) --- */
.flux-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: start;
}

.flux-editor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 14px #17294605;
}

.copy-bubbles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 20px;
}

.copy-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 540;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s;
  text-align: left;
  max-width: 100%;
  word-break: break-all;
}

.copy-bubble:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px #0f1e3610;
}

.copy-bubble.mint {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.copy-bubble.amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.copy-bubble.blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.copy-bubble-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #ffffffaa;
  flex-shrink: 0;
}

.task-row-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 10px;
}

/* --- ZERO-KNOWLEDGE CREDIT CARD VAULT & ANTI-KEYLOGGER KEYPAD --- */
.credit-card-visual {
  position: relative;
  border-radius: 24px;
  padding: 24px 26px;
  color: #ffffff;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px #09132624;
  overflow: hidden;
  isolation: isolate;
}

.credit-card-visual::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff18 0%, transparent 70%);
  z-index: -1;
}

.cc-chip {
  width: 42px;
  height: 31px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fde68a, #d97706);
  border: 1px solid #fef08a88;
}

.cc-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px;
  letter-spacing: 2.2px;
  font-weight: 560;
  margin: 18px 0 12px;
}

.cc-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.virtual-keypad {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.vk-key {
  height: 40px;
  border-radius: 11px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background .15s, transform .1s;
}

.vk-key:hover {
  background: #e2e8f0;
}

/* --- TOP HEAVY FILES RANKING --- */
.heavy-file-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 19px;
  margin-bottom: 10px;
}

.heavy-rank {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .hero-dashboard-grid,
  .desktop-two-col,
  .flux-layout {
    grid-template-columns: 1fr;
  }
  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .app-header {
    padding: 0 20px;
    height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
  }
  .workspace-container {
    padding: 0 20px;
  }
  .vitals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    overflow-x: auto;
  }
  .brand-tag {
    display: none;
  }
}
