/* [project]/apps/web/app/globals.css [app-client] (css) */
@tailwind base;

@tailwind components;

@tailwind utilities;

:root {
  --bg-deep: #060810;
  --bg-card: #ffffff0a;
  --bg-hover: #4f7cff1a;
  --border-subtle: #ffffff1a;
  --border-accent: #4f7cff66;
  --accent: #4f7cff;
  --accent-dim: #2a4dc9;
  --accent-cyan: #00d4ff;
  --gold: #d4a040;
  --teal: #2dd4bf;
  --teal-dim: #008a6f;
  --amber: #f5a623;
  --coral: #ff6b5b;
  --text-primary: #fff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-placeholder: #334155;
  --chat-user-bg: #4f7cff80;
  --chat-ai-bg: #2dd4bf59;
  --chat-border: #4f7cff99;
  --chat-area-bg: #0f1423b3;
  --font-display: "Syne", sans-serif;
  --font-mono: "DM Mono", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-mono);
  background: var(--bg-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

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

::-webkit-scrollbar-thumb {
  background: #4f7cff4d;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    opacity: .4;
  }

  50% {
    opacity: .9;
  }

  100% {
    opacity: .4;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.98);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(.85);
  }
}

.chat-container, .chat-message {
  margin-bottom: 1rem;
  animation: .2s fadeUp;
  display: flex;
}

.chat-area {
  background: var(--chat-area-bg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid #ffffff14;
  border-radius: 16px;
  margin: 8px 0;
  padding: 16px;
}

.message-list {
  background: var(--chat-area-bg);
  border-radius: 16px;
  padding: 16px;
}

.chat-message-user {
  justify-content: flex-end;
}

.chat-message-user .chat-bubble {
  background: var(--chat-user-bg);
  border: 1px solid var(--chat-border);
  color: #fff;
  border-radius: 20px 8px 20px 20px;
  max-width: 80%;
  padding: 10px 16px;
  box-shadow: 0 2px 8px #0003;
}

.chat-message-ai {
  justify-content: flex-start;
}

.chat-message-ai .chat-bubble {
  background: var(--chat-ai-bg);
  color: var(--text-primary);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid #2dd4bf99;
  border-radius: 8px 20px 20px;
  max-width: 85%;
  padding: 10px 16px;
  box-shadow: 0 2px 8px #00000026;
}

.chat-bubble p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

.chat-bubble a {
  color: var(--teal);
  text-decoration: underline;
}

.chat-bubble code {
  background: #0000004d;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: .85rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all .2s;
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.input-search {
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  background: #ffffff0d;
  border-radius: 14px;
  width: 100%;
  padding: 11px 18px;
  font-size: .9rem;
}

.input-search::placeholder {
  color: var(--text-placeholder);
}

.input-search:focus {
  border-color: var(--accent);
  background: #ffffff14;
  outline: none;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-top: 1.5em;
}

.markdown-body code {
  font-family: var(--font-mono);
  color: var(--teal);
  background: #ffffff14;
  border-radius: 4px;
  padding: 2px 6px;
}

.markdown-body pre {
  border: 1px solid var(--border-subtle);
  background: #ffffff08;
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
}

.markdown-body a {
  color: var(--accent);
  text-decoration: none;
}

.markdown-body a:hover {
  text-decoration: underline;
}

.technologue-panel .chat-bubble {
  background: #4f7cff40;
  border-color: #4f7cffb3;
}

.empty-state {
  border: 1px solid var(--border-subtle);
  text-align: center;
  background: #ffffff05;
  border-radius: 16px;
  padding: 40px 24px;
}

select {
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  appearance: none;
  cursor: pointer;
  background-color: #0d0f16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 10px 6px;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: .75rem;
  transition: border-color .15s;
}

select:focus {
  border-color: var(--accent);
  outline: none;
}

@media (max-width: 520px) {
  .ab-wordmark {
    display: none !important;
  }
}

.hud-bg {
  background: radial-gradient(ellipse 80% 60% at 30% 0%, #4f7cff14, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, #00d4ff0d, transparent 55%),
    var(--bg-deep);
  position: relative;
}

.hud-bg:before {
  content: "";
  pointer-events: none;
  background-image: linear-gradient(#4f7cff09 1px, #0000 1px), linear-gradient(90deg, #4f7cff09 1px, #0000 1px);
  background-size: 48px 48px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, #0000 80%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, #0000 80%);
}

.hud-card {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #101c346b;
  border: 1px solid #4f7cff26;
  border-radius: 16px;
  box-shadow: 0 0 40px #4f7cff0a, inset 0 1px #ffffff08;
}

.hud-card--gold {
  border-color: #d4a04033;
}

.hud-gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.glow-accent {
  box-shadow: 0 0 24px #4f7cff40;
}

.glow-gold {
  box-shadow: 0 0 24px #d4a04038;
}

.hud-dot {
  background: var(--accent-cyan);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 2s ease-in-out infinite hudPulse;
  box-shadow: 0 0 12px #00d4ff80;
}

@keyframes hudPulse {
  0%, 100% {
    opacity: .5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

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

@keyframes hudDraw {
  to {
    stroke-dashoffset: 0;
  }
}

html[data-app-theme="light"] {
  filter: invert() hue-rotate(180deg);
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

html[data-app-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

html[data-app-theme="light"] img, html[data-app-theme="light"] video, html[data-app-theme="light"] picture, html[data-app-theme="light"] iframe, html[data-app-theme="light"] canvas, html[data-app-theme="light"] [data-keep-colors] {
  filter: invert() hue-rotate(180deg);
}

html[data-app-theme="light"] .dash-root canvas {
  filter: none;
}

/* [project]/apps/web/app/hud-shell.css [app-client] (css) */
.ft-root {
  height: 100%;
  min-height: 0;
  color: var(--text-primary);
  flex-direction: column;
  font-size: 12px;
  display: flex;
}

.ft-head {
  border-bottom: 1px solid #00d4ff1f;
  padding: 10px 12px 8px;
}

.ft-title {
  font-family: var(--font-display, "Syne"), sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.ft-subtabs {
  gap: 4px;
  display: flex;
}

.ft-subtabs button {
  color: var(--text-muted);
  cursor: pointer;
  background: #00d4ff0a;
  border: 1px solid #00d4ff26;
  border-radius: 6px;
  flex: 1;
  padding: 5px 8px;
  font-size: 11px;
}

.ft-subtabs button.on {
  color: #fff;
  background: #4f7cff38;
  border-color: #4f7cff80;
  box-shadow: 0 0 10px #4f7cff40;
}

.ft-tree {
  flex: 1;
  min-height: 0;
  padding: 6px 0;
  overflow: auto;
}

.ft-row {
  text-align: left;
  width: 100%;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 8px;
  font-size: 12px;
  display: flex;
}

.ft-row:hover {
  background: #00d4ff12;
}

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

.ft-size {
  color: var(--text-muted);
  font-family: DM Mono, monospace;
  font-size: 10px;
}

.ft-empty {
  color: var(--text-muted);
  padding: 4px 12px;
  font-size: 11px;
  font-style: italic;
}

.ft-note {
  color: var(--text-muted);
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
}

.ft-note a {
  color: var(--accent-cyan);
}

.ft-err {
  color: #fca5a5;
  background: #ef444414;
  border: 1px solid #ef444466;
  border-radius: 6px;
  margin: 8px 12px;
  padding: 8px 10px;
  font-size: 11px;
}

.ft-ok {
  color: #34d399;
  font-size: 11px;
}

.ft-editor {
  flex-direction: column;
  flex: 1;
  gap: 6px;
  min-height: 0;
  padding: 8px 12px;
  display: flex;
}

.ft-fname {
  color: var(--accent-cyan);
  word-break: break-all;
  font-family: DM Mono, monospace;
  font-size: 10px;
}

.ft-editor textarea {
  resize: none;
  color: #cbd5e1;
  background: #020610b3;
  border: 1px solid #00d4ff2e;
  border-radius: 6px;
  flex: 1;
  min-height: 160px;
  padding: 8px;
  font-family: DM Mono, monospace;
  font-size: 11px;
  line-height: 1.55;
}

.ft-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.ft-actions button {
  color: #fff;
  cursor: pointer;
  background: #4f7cff2e;
  border: 1px solid #4f7cff80;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
}

.ft-actions button:disabled {
  opacity: .4;
  cursor: default;
}

.ft-used {
  border-top: 1px solid #00d4ff1f;
  margin-top: auto;
  padding: 10px 12px;
}

.ft-used-top {
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.ft-used-sub {
  color: var(--text-muted);
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.4;
}

.hx-home {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
  padding: 0 0 22px;
  display: grid;
}

.hx-card {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: linear-gradient(160deg, #0a1838c7, #050c20d1);
  border: 1px solid #00d4ff38;
  border-radius: 12px;
  min-width: 0;
  padding: 14px 16px;
  position: relative;
  box-shadow: 0 0 22px #0078ff1a, inset 0 0 28px #00d4ff0a;
}

.hx-card h3 {
  font-family: var(--font-display, "Syne"), sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.hx-card h3 a {
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
  text-decoration: none;
}

.hx-greet {
  grid-column: span 5;
}

.hx-greet .hx-hello {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
}

.hx-greet ul {
  color: #cbd5e1;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  font-size: 12.5px;
  list-style: none;
  display: grid;
}

.hx-greet li:before {
  content: "◆";
  color: var(--accent-cyan);
  vertical-align: 2px;
  margin-right: 8px;
  font-size: 8px;
}

.hx-network {
  grid-column: span 3;
}

.hx-projects {
  grid-column: span 4;
}

.hx-agents {
  grid-column: span 3;
}

.hx-radar {
  flex-direction: column;
  grid-column: span 5;
  display: flex;
}

.hx-radar img {
  object-fit: cover;
  opacity: .92;
  border-radius: 8px;
  width: 100%;
  max-height: 220px;
}

.hx-proc {
  grid-column: span 4;
}

.hx-tasks, .hx-missions {
  grid-column: span 6;
}

.hx-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11.5px;
}

.hx-table th {
  text-align: left;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 0 6px 6px;
  font-size: 10px;
  font-weight: 500;
}

.hx-table td {
  color: #dbeafe;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1px solid #00d4ff14;
  max-width: 180px;
  padding: 6px;
  overflow: hidden;
}

.hx-pill {
  border: 1px solid;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 10px;
  display: inline-block;
}

.hx-pill.ok {
  color: #34d399;
}

.hx-pill.warn {
  color: #fbbf24;
}

.hx-pill.bad {
  color: #f87171;
}

.hx-pill.idle {
  color: #94a3b8;
}

.hx-stat {
  color: #cbd5e1;
  border-top: 1px solid #00d4ff14;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
  display: flex;
}

.hx-stat b {
  color: #fff;
  font-family: DM Mono, monospace;
}

.hx-empty {
  color: var(--text-muted);
  padding: 6px 0;
  font-size: 11.5px;
  font-style: italic;
}

.hx-flow {
  gap: 8px;
  display: grid;
}

.hx-step {
  color: #cbd5e1;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.hx-step i {
  background: var(--accent-cyan);
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px var(--accent-cyan);
  border-radius: 50%;
  flex: none;
}

@media (max-width: 1280px) {
  .hx-greet, .hx-radar, .hx-tasks, .hx-missions {
    grid-column: span 12;
  }

  .hx-network, .hx-projects, .hx-agents, .hx-proc {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .hx-home {
    padding: 12px;
  }

  .hx-network, .hx-projects, .hx-agents, .hx-proc {
    grid-column: span 12;
  }
}

.hx-brand-logo {
  object-fit: contain;
  filter: drop-shadow(0 0 8px #00d4ff59);
  border-radius: 4px;
  width: auto;
  max-width: 120px;
  height: 30px;
}

.hx-org-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  letter-spacing: .04em;
  border-radius: 6px;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  display: inline-grid;
}

.hud-frame {
  --hud-cut: 14px;
  --hud-accent: var(--accent-cyan, #00d4ff);
  border: 1px solid color-mix(in srgb, var(--hud-accent) 38%, transparent);
  min-width: 0;
  clip-path: polygon(var(--hud-cut) 0, 100% 0, 100% calc(100% - var(--hud-cut)), calc(100% - var(--hud-cut)) 100%, 0 100%, 0 var(--hud-cut));
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--hud-accent) 7%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: linear-gradient(160deg, #0a1838cc, #050c20db);
  padding: 14px 16px 16px;
  position: relative;
}

.hud-frame:after {
  content: "";
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--hud-accent) 14%, transparent);
  clip-path: polygon(calc(var(--hud-cut) - 3px) 0, 100% 0, 100% calc(100% - var(--hud-cut) + 3px), calc(100% - var(--hud-cut) + 3px) 100%, 0 100%, 0 calc(var(--hud-cut) - 3px));
  position: absolute;
  inset: 4px;
}

.hud-c {
  pointer-events: none;
  fill: none;
  stroke: var(--hud-accent);
  stroke-width: 1.2px;
  filter: drop-shadow(0 0 4px var(--hud-accent));
  position: absolute;
  overflow: visible;
}

.hud-c .dot {
  fill: var(--hud-accent);
  stroke: none;
}

.hud-c .inner {
  stroke-opacity: .45;
  stroke-width: 1px;
}

.hud-c-tl {
  top: -1px;
  left: -1px;
}

.hud-c-br {
  bottom: -1px;
  right: -1px;
}

.hud-c-tr {
  top: -1px;
  right: -1px;
}

.hud-c-bl {
  bottom: -1px;
  left: -1px;
}

.hud-seg {
  fill: var(--hud-accent);
  opacity: .8;
  pointer-events: none;
  filter: drop-shadow(0 0 3px var(--hud-accent));
  position: absolute;
  top: -1px;
  left: 34px;
}

.hud-frame-head {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 2px 0 10px;
  display: flex;
}

.hud-frame-head h3 {
  font-family: var(--font-display, "Syne"), sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hud-accent);
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.hud-frame-action a {
  color: var(--text-muted);
  font-size: 10px;
  text-decoration: none;
}

.hud-frame-action a:hover {
  color: var(--hud-accent);
}

.hud-frame-body {
  min-width: 0;
  position: relative;
}

.hud-icon {
  color: var(--hud-accent, var(--accent-cyan));
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--hud-accent, #00d4ff) 55%, transparent));
  flex: none;
}

.hud-icon-img {
  object-fit: contain;
  image-rendering: auto;
}

.hud-prog {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.hud-prog-top {
  color: var(--text-muted);
  justify-content: space-between;
  gap: 8px;
  font-family: DM Mono, monospace;
  font-size: 10.5px;
  display: flex;
}

.hud-prog-top span:last-child {
  color: #dbeafe;
  white-space: nowrap;
}

.hud-prog.na .hud-prog-top span:last-child {
  color: var(--text-muted);
  font-style: italic;
}

.hud-prog-track {
  background: #00d4ff1a;
  border-radius: 3px;
  height: 6px;
  position: relative;
  overflow: hidden;
}

.hud-prog.na .hud-prog-track {
  background: repeating-linear-gradient(90deg, #94a3b840 0 4px, #0000 4px 8px);
}

.hud-prog-track i {
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
  height: 100%;
  box-shadow: 0 0 10px var(--accent-cyan);
  border-radius: 3px;
  transition: width .5s;
  display: block;
}

.hud-prog.ok .hud-prog-track i {
  background: linear-gradient(90deg, #059669, #34d399);
  box-shadow: 0 0 10px #34d399;
}

.hud-prog.warn .hud-prog-track i {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  box-shadow: 0 0 10px #fbbf24;
}

.hud-prog.bad .hud-prog-track i {
  background: linear-gradient(90deg, #dc2626, #f87171);
  box-shadow: 0 0 10px #f87171;
}

.hud-ring {
  flex: none;
  place-items: center;
  display: inline-grid;
  position: relative;
}

.hud-ring svg {
  position: absolute;
  inset: 0;
}

.hud-ring .track {
  fill: none;
  stroke: #00d4ff24;
  stroke-width: 5px;
}

.hud-ring.na .track {
  stroke-dasharray: 3 5;
  stroke: #94a3b859;
}

.hud-ring .arc {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 5px;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px var(--accent-cyan));
}

.hud-ring span {
  color: #fff;
  font-family: DM Mono, monospace;
  font-size: 12px;
  position: relative;
}

.hud-ring.na span {
  color: var(--text-muted);
}

.hx-split {
  align-items: center;
  gap: 14px;
  display: flex;
}

.hx-rowp {
  color: #dbeafe;
  border-top: 1px solid #00d4ff14;
  gap: 4px;
  padding: 7px 0;
  font-size: 11.5px;
  display: grid;
}

.hx-rowp:first-child {
  border-top: 0;
}

.hx-rowp .hx-rowp-t {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.hx-brand-note {
  color: var(--text-muted);
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  display: flex;
}

.hx-brand-note a {
  color: var(--accent-cyan);
}

.og-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.og-search {
  min-width: 200px;
  color: var(--text-primary);
  background: #020610b3;
  border: 1px solid #00d4ff40;
  border-radius: 8px;
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
}

.og-chip {
  color: var(--text-muted);
  cursor: pointer;
  background: #00d4ff0d;
  border: 1px solid #00d4ff38;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 11.5px;
}

.og-chip.on {
  color: #fff;
  background: #4f7cff40;
  border-color: #4f7cff99;
  box-shadow: 0 0 10px #4f7cff4d;
}

.og-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

.og-table th {
  text-align: left;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 8px 8px;
  font-size: 10px;
  font-weight: 600;
}

.og-table td {
  color: #dbeafe;
  vertical-align: middle;
  border-top: 1px solid #00d4ff1a;
  padding: 9px 8px;
}

.og-table tr.sel td {
  background: #00d4ff0f;
}

.og-name {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.og-name .lg {
  background: #020610b3;
  border: 1px solid #00d4ff33;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
  overflow: hidden;
}

.og-name .lg img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.og-name b {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.og-name small {
  color: var(--text-muted);
  font-size: 10.5px;
}

.og-mono {
  color: var(--text-muted);
  font-family: DM Mono, monospace;
}

.og-st {
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-block;
}

.og-st.ok {
  color: #34d399;
  background: #34d3992e;
  border: 1px solid #34d39980;
}

.og-st.bad {
  color: #fbbf24;
  background: #fbbf2426;
  border: 1px solid #fbbf2480;
}

.og-act {
  color: var(--accent-cyan);
  cursor: pointer;
  background: #00d4ff0f;
  border: 1px solid #00d4ff4d;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 11px;
}

.og-act:hover {
  background: #00d4ff26;
}

.og-foot {
  color: var(--text-muted);
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  display: flex;
}

.og-create .og-grid {
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: 18px;
  display: grid;
}

.og-logo {
  justify-items: center;
  gap: 8px;
  display: grid;
}

.og-box {
  background: #0206108c;
  border: 1px dashed #00d4ff66;
  border-radius: 12px;
  place-items: center;
  width: 160px;
  height: 160px;
  display: grid;
  overflow: hidden;
}

.og-box img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.og-fb {
  color: var(--accent-cyan);
  text-align: center;
  justify-items: center;
  gap: 4px;
  font-size: 11.5px;
  display: grid;
}

.og-fb small {
  color: var(--text-muted);
  font-size: 10px;
}

.og-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  display: grid;
}

.og-col {
  align-content: start;
  gap: 10px;
  display: grid;
}

.og-wide {
  grid-column: 1 / -1;
}

.og-field {
  color: var(--text-muted);
  gap: 4px;
  font-size: 11px;
  display: grid;
}

.og-field b {
  color: #f87171;
}

.og-field input {
  color: var(--text-primary);
  background: #020610b3;
  border: 1px solid #00d4ff38;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.og-field input[aria-invalid="true"] {
  border-color: #ef4444b3;
}

.og-field input:disabled {
  opacity: .55;
}

.og-field em, .og-e {
  color: #fca5a5;
  font-size: 10.5px;
  font-style: normal;
}

.og-note {
  color: var(--text-muted);
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.og-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.og-end {
  justify-content: flex-end;
}

.og-btn {
  color: #fff;
  cursor: pointer;
  background: #4f7cff33;
  border: 1px solid #4f7cff8c;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
}

.og-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  border-color: #0000;
  font-weight: 700;
  box-shadow: 0 0 16px #00b4ff4d;
}

.og-btn.ghost {
  background: none;
  border-color: #fff3;
}

.og-btn:disabled {
  opacity: .45;
  cursor: default;
}

.og-ok, .og-err {
  border-radius: 10px;
  gap: 6px;
  margin-top: 8px;
  padding: 12px 14px;
  font-size: 12px;
  display: grid;
}

.og-ok {
  color: #a7f3d0;
  background: #34d39914;
  border: 1px solid #34d39973;
}

.og-err {
  color: #fecaca;
  background: #ef444414;
  border: 1px solid #ef444473;
}

.og-ok b, .og-err b {
  color: #fff;
}

.og-page-head {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  display: flex;
}

.og-page-head h1 {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  margin: 0 8px 0 0;
  font-size: 24px;
}

.og-tab {
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 1px solid #00d4ff40;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 12px;
  text-decoration: none;
}

.og-tab.on {
  color: #fff;
  background: #4f7cff40;
  border-color: #4f7cff99;
  box-shadow: 0 0 12px #4f7cff59;
}

.og-tab.plus {
  color: var(--accent-cyan);
  border-color: #00d4ff73;
}

.ctl {
  gap: 10px;
  padding: 10px;
  display: grid;
}

.ctl-item {
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  text-decoration: none;
  display: grid;
}

.ctl-item .ic {
  width: 44px;
  height: 44px;
  color: var(--accent-cyan);
  background: #00d4ff14;
  border: 1px solid #00d4ff4d;
  border-radius: 10px;
  place-items: center;
  display: grid;
}

.ctl-item h4 {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 3px;
  font-size: 12px;
}

.ctl-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
}

.ctl-item .n {
  color: var(--accent-cyan);
}

.ctl-dot {
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.ctl-dot.on {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.ctl-dot.off {
  background: #64748b;
}

.ctl-dot.na {
  background: none;
  border: 1px dashed #64748b;
}

@media (max-width: 900px) {
  .og-create .og-grid, .og-cols {
    grid-template-columns: 1fr;
  }

  .og-table .hide-sm {
    display: none;
  }
}

.hx-pub {
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  display: grid;
}

.hx-pub-hero {
  text-align: center;
  padding: 36px 12px 12px;
}

.hx-pub-hero h1 {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  margin: 12px 0 8px;
  font-size: clamp(28px, 4.5vw, 44px);
}

.hx-pub-hero p {
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.hx-pub-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  display: grid;
}

.hx-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 22px #00b4ff59;
}

.ft-brand {
  pointer-events: none;
  align-items: center;
  width: clamp(220px, 46vw, 680px);
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ft-brand img {
  filter: drop-shadow(0 0 6px #00a0ff59);
  flex: none;
  width: auto;
  height: 36px;
}

.ft-brand-line {
  flex: 1;
  min-width: 0;
  height: 100%;
  position: relative;
}

.ft-brand-line:before {
  content: "";
  background: linear-gradient(90deg, #0000, #1d8bff 60%);
  height: 2px;
  position: absolute;
  top: 49%;
  left: 0;
  right: 0;
  box-shadow: 0 0 6px #1d8bffcc;
}

.ft-brand-line:after {
  content: "";
  opacity: .9;
  background: linear-gradient(90deg, #0000, #d9a21b 55%);
  height: 3px;
  position: absolute;
  top: 57%;
  left: 0;
  right: 0;
}

.ft-brand-line.r:before {
  background: linear-gradient(270deg, #0000, #1d8bff 60%);
}

.ft-brand-line.r:after {
  background: linear-gradient(270deg, #0000, #d9a21b 55%);
}

@media (max-width: 1100px) {
  .ft-brand-line {
    display: none;
  }

  .ft-brand {
    width: auto;
  }
}

@media (max-width: 760px) {
  .ft-brand {
    display: none;
  }
}

.ap-head {
  --ap-cut: 12px;
  clip-path: polygon(var(--ap-cut) 0, 100% 0, 100% calc(100% - var(--ap-cut)), calc(100% - var(--ap-cut)) 100%, 0 100%, 0 var(--ap-cut));
  background: linear-gradient(160deg, #0a1838d1, #050c20e0);
  border: 1px solid #00d4ff4d;
  flex: none;
  margin: 8px 8px 0;
  padding: 10px 12px;
  position: relative;
  box-shadow: inset 0 0 26px #00d4ff12;
}

.ap-title {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #e6f6ff;
  letter-spacing: .02em;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.ap-title img, .ap-agent img {
  filter: drop-shadow(0 0 6px #00b4ff73);
  object-fit: contain;
  flex: none;
}

.ap-tabs {
  gap: 6px;
  margin: 10px 0 8px;
  display: flex;
}

.ap-tabs button {
  min-width: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  cursor: pointer;
  background: #00d4ff0a;
  border: 1px solid #00d4ff38;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px 4px;
  font-size: 11px;
  transition: background .15s, border-color .15s, color .15s;
  display: inline-flex;
}

.ap-tabs button:hover {
  color: #dff6ff;
  border-color: #00d4ff73;
}

.ap-tabs button.on {
  color: #fff;
  background: #008cff4d;
  border-color: #00beffbf;
  box-shadow: 0 0 12px #00a0ff59;
}

.ap-more {
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 10px;
  display: flex;
}

.ap-more button {
  color: var(--text-muted);
  font-family: var(--font-mono);
  cursor: pointer;
  background: none;
  border: 1px solid #00d4ff24;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 10px;
  display: inline-flex;
}

.ap-more button:hover {
  color: #dff6ff;
  border-color: #00d4ff66;
}

.ap-more button.on {
  color: #fff;
  background: #008cff2e;
  border-color: #00beff99;
}

.ap-tabs svg, .ap-more svg {
  flex: none;
  width: 12px;
  height: 12px;
}

.ap-agent {
  align-items: center;
  gap: 10px;
  padding-top: 2px;
  display: flex;
}

.ap-agent-name {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ap-status {
  color: var(--text-muted);
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: flex;
}

.ap-status i {
  background: #64748b;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.ap-status.on {
  color: #34d399;
}

.ap-status.on i {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.ap-status.off {
  color: #f87171;
}

.ap-status.off i {
  background: #f87171;
}

.ap-host {
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
  font-family: DM Mono, monospace;
  font-size: 10px;
  overflow: hidden;
}

.ap-links {
  justify-content: space-between;
  margin-top: 8px;
  display: flex;
}

.ap-links button {
  color: var(--accent-cyan);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 11px;
}

.ap-links button:hover {
  text-decoration: underline;
}

.ap-body {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  background: linear-gradient(160deg, #0a18388c, #050c20b3);
  border: 1px solid #00d4ff42;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 8px;
  display: flex;
  position: relative;
  box-shadow: inset 0 0 22px #00d4ff0d;
}

.ap-body > * {
  min-height: 0;
}

.ft-rootrow {
  color: var(--text-primary);
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.ec-page {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
  padding: 18px 20px 26px;
  display: grid;
  container-type: inline-size;
}

.ec-hero {
  grid-column: span 7;
  min-height: 190px;
  overflow: hidden;
}

.ec-org {
  grid-column: span 5;
}

.ec-nav {
  grid-column: span 3;
}

.ec-recent, .ec-work, .ec-support {
  grid-column: span 4;
}

.ec-globe {
  opacity: .55;
  pointer-events: none;
  background: url("/globe-earth.jpg") center / cover no-repeat;
  width: 58%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -30px;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 45%);
  mask-image: linear-gradient(90deg, #0000, #000 45%);
}

.ec-hero-body {
  max-width: 480px;
  position: relative;
}

.ec-hello-row {
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  display: flex;
}

.ec-avatar {
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  background: #003c6e73;
  border: 1px solid #00d4ff8c;
  flex: none;
  place-items: center;
  width: 58px;
  height: 58px;
  display: grid;
  box-shadow: 0 0 16px #00b4ff59;
}

.ec-hero h1 {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.ec-sub {
  color: var(--accent-cyan);
  margin-top: 4px;
  font-size: 13px;
}

.ec-hero p {
  color: #cbd5e1;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.ec-org-head {
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  display: flex;
}

.ec-org-logo {
  object-fit: contain;
  filter: drop-shadow(0 0 8px #00d4ff59);
  border-radius: 4px;
  width: auto;
  max-width: 170px;
  height: 46px;
}

.ec-org-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 17px;
  font-weight: 700;
  display: grid;
}

.ec-org-name {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  overflow-wrap: anywhere;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
}

.ec-org-contact {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
}

.ec-org-lines {
  color: #cbd5e1;
  gap: 6px;
  margin: 0 0 4px;
  padding: 0;
  font-size: 12.5px;
  list-style: none;
  display: grid;
}

.ec-org-lines a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.ec-org-lines a:hover {
  text-decoration: underline;
}

.ec-muted {
  color: var(--text-muted);
  font-size: 12px;
  font-style: italic;
}

.ec-btn {
  color: #7dd3fc;
  background: #008cff1a;
  border: 1px solid #00c8ff8c;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  padding: 6px 16px;
  font-size: 12px;
  text-decoration: none;
  transition: box-shadow .15s, background .15s;
  display: inline-flex;
}

.ec-btn:hover {
  background: #008cff38;
  box-shadow: 0 0 14px #00b4ff59;
}

.ec-btn.wide {
  width: 100%;
  display: flex;
}

.ec-nav .hud-frame-body {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.ec-nav-icon {
  filter: drop-shadow(0 0 10px #00b4ff59);
  margin-bottom: 4px;
}

.ec-nav h3 {
  font-family: var(--font-display, "Syne"), sans-serif;
  color: #fff;
  margin: 4px 0;
  font-size: 18px;
  font-weight: 700;
}

.ec-nav p {
  color: var(--accent-cyan);
  opacity: .85;
  min-height: 36px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.ec-nav-info {
  color: #dbeafe;
  margin-top: 8px;
  font-family: DM Mono, monospace;
  font-size: 11px;
}

.ec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ec-list li {
  border-top: 1px solid #00d4ff1a;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  display: grid;
}

.ec-list li:first-child {
  border-top: 0;
}

.ec-list.work li {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.ec-list-main {
  min-width: 0;
}

.ec-list-main b {
  color: #e2f3ff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.ec-list-main small {
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  display: block;
  overflow: hidden;
}

.ec-when {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 11px;
}

.ec-chev {
  color: var(--accent-cyan);
  font-size: 18px;
  line-height: 1;
}

.ec-tag {
  white-space: nowrap;
  border: 1px solid;
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 10.5px;
}

.ec-tag.file {
  color: #34d399;
}

.ec-tag.mail {
  color: #a78bfa;
}

.ec-used {
  border-top: 1px solid #00d4ff24;
  margin-top: 12px;
  padding-top: 10px;
}

.ec-used > div {
  color: #e2f3ff;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.ec-used small {
  color: var(--text-muted);
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.4;
  display: block;
}

.ec-tiles {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.ec-tiles a {
  background: #00d4ff0a;
  border: 1px solid #00d4ff38;
  border-radius: 10px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
}

.ec-tiles a:hover {
  border-color: #00d4ff99;
  box-shadow: 0 0 14px #00b4ff40;
}

.ec-tiles b {
  color: #fff;
  margin-top: 4px;
  font-size: 12.5px;
}

.ec-tiles small {
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.4;
}

@container (max-width: 1099px) {
  .ec-hero, .ec-org, .ec-support {
    grid-column: span 12;
  }

  .ec-nav, .ec-recent, .ec-work {
    grid-column: span 6;
  }
}

@container (max-width: 620px) {
  .ec-hero, .ec-org, .ec-nav, .ec-recent, .ec-work, .ec-support {
    grid-column: span 12;
  }

  .ec-globe {
    opacity: .3;
  }
}

@media (max-width: 720px) {
  .ec-page {
    padding: 12px;
  }
}

/*# sourceMappingURL=apps_web_app_1-_cp87._.css.map*/