/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #0c0e12;
  --panel: #12151b;
  --panel-2: #181c24;
  --line: #242a35;
  --ink: #e9ecf1;
  --ink-2: #a9b1bf;
  --ink-3: #6f7889;
  --accent: #f5a524;
  --accent-2: #ff7a45;
  --accent-ink: #1a1203;
  --good: #3ecf8e;
  --warn: #f5a524;
  --bad: #f2555a;
  --info: #5b9dff;
  --radius: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-mode="light"] {
  --bg: #f4f5f7;
  --panel: #fff;
  --panel-2: #eef0f3;
  --line: #dde1e8;
  --ink: #161a21;
  --ink-2: #485060;
  --ink-3: #788191;
  --good: #108a55;
  --warn: #a86400;
  --bad: #cf3338;
  --info: #2b68d8;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

:root[data-theme="ocean"] {
  --accent: #3b9eff;
  --accent-2: #37d0c5;
  --accent-ink: #03101f;
}

:root[data-theme="forest"] {
  --accent: #2fbf71;
  --accent-2: #9bd13c;
  --accent-ink: #03170c;
}

:root[data-theme="plum"] {
  --accent: #a78bfa;
  --accent-2: #e879c9;
  --accent-ink: #120a2b;
}

:root[data-theme="rose"] {
  --accent: #f0648c;
  --accent-2: #ff9a62;
  --accent-ink: #25040f;
}

:root[data-theme="graphite"] {
  --accent: #b4bcc8;
  --accent-2: #7d8796;
  --accent-ink: #12151b;
}

:root[data-mode="light"], :root[data-mode="light"][data-theme="saddle"] {
  --accent: #c26a00;
  --accent-2: #e2531c;
  --accent-ink: #fff;
}

:root[data-mode="light"][data-theme="ocean"] {
  --accent: #1668d6;
  --accent-2: #0d9488;
  --accent-ink: #fff;
}

:root[data-mode="light"][data-theme="forest"] {
  --accent: #14804a;
  --accent-2: #5d8a0c;
  --accent-ink: #fff;
}

:root[data-mode="light"][data-theme="plum"] {
  --accent: #6d4fd6;
  --accent-2: #b93a96;
  --accent-ink: #fff;
}

:root[data-mode="light"][data-theme="rose"] {
  --accent: #cf2f62;
  --accent-2: #d9611f;
  --accent-ink: #fff;
}

:root[data-mode="light"][data-theme="graphite"] {
  --accent: #3d4654;
  --accent-2: #6b7482;
  --accent-ink: #fff;
}

:root[data-density="compact"] .ws, :root[data-density="compact"] .st {
  zoom: .9;
}

:root[data-density="compact"] .ws {
  height: 111.111dvh;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--info);
}

kbd {
  font: 11px var(--mono);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--ink-2);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 5px;
}

.ws {
  grid-template-rows: 52px minmax(0, 1fr);
  grid-template-columns: 248px minmax(0, 1fr);
  height: 100dvh;
  display: grid;
}

.ws-top {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 18px;
  display: flex;
}

.ws-brand {
  letter-spacing: -.015em;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
}

.ws-brand span:not(.ws-mark) {
  color: var(--accent);
  margin-left: -9px;
}

.ws-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 6px;
}

.ws-tag {
  color: var(--ink-3);
  border: 1px solid var(--line);
  cursor: default;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11px;
}

.ws-tag-warn {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 35%, transparent);
  background: color-mix(in srgb, var(--warn) 8%, transparent);
}

.ws-top-spacer {
  flex: 1;
}

.ws-ghost {
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
  background: none;
  border-radius: 7px;
  padding: 5px 11px;
  font-size: 12px;
  transition: color .12s, border-color .12s, background .12s;
}

.ws-ghost:hover, .ws-ghost[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--ink-3);
  background: var(--panel-2);
}

.ws-rail {
  border-right: 1px solid var(--line);
  background: var(--panel);
  flex-direction: column;
  gap: 22px;
  padding: 16px 10px;
  display: flex;
  overflow-y: auto;
}

.ws-rail h2 {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 7px 10px;
  font-size: 10.5px;
  font-weight: 650;
}

.ws-views {
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.ws-view-row {
  align-items: center;
  display: flex;
  position: relative;
}

.ws-view {
  text-align: left;
  width: 100%;
  min-width: 0;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  transition: background .12s, color .12s;
  display: flex;
}

.ws-view:hover {
  background: var(--panel-2);
  color: var(--ink);
}

.ws-view[aria-current="true"] {
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--accent);
  font-weight: 550;
}

.ws-view-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.ws-view-kind {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
  font-size: 9.5px;
}

.ws-view-close {
  background: var(--panel-2);
  color: var(--ink-3);
  opacity: 0;
  border: 0;
  border-radius: 5px;
  width: 20px;
  height: 20px;
  line-height: 1;
  transition: opacity .12s;
  position: absolute;
  right: 4px;
}

.ws-view-row:hover .ws-view-close, .ws-view-close:focus-visible {
  opacity: 1;
}

.ws-view-row:hover .ws-view-kind {
  visibility: hidden;
}

.ws-view-close:hover {
  color: var(--ink);
  background: var(--line);
}

.ws-dot {
  background: var(--ink-3);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
}

.ws-view[aria-current="true"] .ws-dot {
  background: var(--accent);
}

.ws-dot-live {
  background: var(--accent);
  animation: 1s ease-in-out infinite pulse;
}

.ws-dot-error {
  background: var(--bad);
}

@keyframes pulse {
  50% {
    opacity: .35;
  }
}

.ws-sources {
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.ws-rail-head {
  justify-content: space-between;
  align-items: center;
  margin-right: 6px;
  display: flex;
}

.ws-rail-head button {
  letter-spacing: .04em;
  color: var(--ink-3);
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 650;
}

.ws-rail-head button:hover {
  color: var(--accent);
  background: var(--panel-2);
}

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

.ws-src {
  text-align: left;
  width: 100%;
  color: var(--ink-3);
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  font-size: 11.5px;
  display: flex;
}

.ws-src:hover {
  background: var(--panel-2);
}

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

.ws-src strong {
  color: var(--ink-2);
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 550;
  display: block;
  overflow: hidden;
}

.ws-src-state {
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 9.5px;
}

.ws-src-active .ws-dot {
  background: var(--good);
}

.ws-src-paused .ws-dot, .ws-src-capped .ws-dot {
  background: var(--warn);
}

.ws-src-paused .ws-src-state, .ws-src-capped .ws-src-state {
  color: var(--warn);
}

.ws-src-not_connected {
  opacity: .66;
}

.ws-src-not_connected .ws-dot {
  box-shadow: inset 0 0 0 1px var(--ink-3);
  background: none;
}

.ws-toast {
  z-index: 60;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--panel);
  max-width: min(560px, 90vw);
  color: var(--ink);
  border-radius: 9px;
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 12px 32px #00000047;
}

.ws-main {
  grid-template-rows: auto 2px minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  display: grid;
}

.ws-head {
  align-items: center;
  gap: 12px;
  padding: 14px 24px 12px;
  display: flex;
}

.ws-head h1 {
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  overflow: hidden;
}

.ws-head p {
  color: var(--ink-3);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 2px 0 0;
  font-size: 12.5px;
  overflow: hidden;
}

.ws-head-text {
  flex: 1;
  min-width: 0;
}

.ws-status {
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  display: inline-flex;
}

.ws-status-live {
  color: var(--accent);
}

.ws-progress {
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.ws-progress-on:after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  width: 35%;
  animation: 1.1s ease-in-out infinite slide;
  position: absolute;
  inset: 0;
}

@keyframes slide {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(290%);
  }
}

.ws-body {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  display: grid;
}

.ws-body-split {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.ws-canvas {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  min-width: 0;
  padding: 18px 24px 28px;
  overflow: auto;
}

.ws-code {
  border-left: 1px solid var(--line);
  background: var(--panel);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 16px 18px;
  overflow: auto;
}

.ws-code h2 {
  color: var(--ink);
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 600;
}

.ws-code p {
  color: var(--ink-3);
  margin: 0 0 12px;
  font-size: 12px;
}

.ws-code pre {
  font: 11.5px/1.65 var(--mono);
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  margin: 0;
  padding: 12px;
}

.ws-notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--panel-2);
  color: var(--ink-2);
  border-radius: 8px;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
}

.ws-notice span {
  flex: 1;
}

.ws-notice strong {
  color: var(--ink);
  margin-right: 4px;
  font-weight: 600;
}

.ws-notice button {
  color: var(--ink-2);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 16px;
  line-height: 1;
}

.ws-notice button:hover {
  color: var(--ink);
  background: var(--line);
}

.ws-error {
  border: 1px solid color-mix(in srgb, var(--bad) 45%, transparent);
  background: color-mix(in srgb, var(--bad) 10%, transparent);
  color: color-mix(in srgb, var(--bad) 62%, var(--ink));
  border-radius: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 13px;
}

.ws-blank {
  height: 100%;
  min-height: 320px;
  color: var(--ink-3);
  text-align: center;
  place-items: center;
  display: grid;
}

.ws-blank p {
  max-width: 320px;
  margin: 0;
}

.ws-blank strong {
  color: var(--ink-2);
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  display: block;
}

.ws-skeleton {
  flex-direction: column;
  gap: 14px;
  max-width: 1400px;
  display: flex;
}

.ws-skel-row {
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  display: grid;
}

.ws-skel {
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
  background-size: 300% 100%;
  border-radius: 12px;
  animation: 1.4s linear infinite shimmer;
}

.ws-skel-kpis {
  height: 92px;
}

.ws-skel-wide, .ws-skel-narrow {
  height: 300px;
}

.ws-skel-table {
  height: 180px;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.ws-cmd {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 24px 16px;
}

.ws-chips {
  scrollbar-width: none;
  gap: 6px;
  margin-bottom: 9px;
  display: flex;
  overflow-x: auto;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), #0000);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), #0000);
}

.ws-chips::-webkit-scrollbar {
  display: none;
}

.ws-chips button {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: none;
  border-radius: 999px;
  flex: none;
  padding: 4px 12px;
  font-size: 12px;
  transition: color .12s, border-color .12s, background .12s;
}

.ws-chips button:hover:not(:disabled) {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  background: var(--panel-2);
}

.ws-chips button:disabled {
  opacity: .5;
  cursor: default;
}

.ws-cmd-row {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  transition: border-color .12s, box-shadow .12s;
  display: flex;
}

.ws-cmd-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.ws-cmd-row input {
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  font-size: 14.5px;
}

.ws-cmd-row input::placeholder {
  color: var(--ink-3);
}

.ws-cmd-hint {
  margin-right: 4px;
}

.ws-go {
  background: var(--accent);
  color: var(--accent-ink);
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  padding: 8px 15px;
  font-weight: 650;
  transition: filter .12s, opacity .12s;
}

.ws-go:hover:not(:disabled) {
  filter: brightness(1.08);
}

.ws-go:disabled {
  opacity: .4;
  cursor: default;
}

.ws-alt {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 8px;
  padding: 7px 12px;
  transition: color .12s, border-color .12s;
}

.ws-alt:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--ink-3);
}

.ws-alt:disabled {
  opacity: .4;
  cursor: default;
}

:where(button, a, input, [tabindex]):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 2px;
}

.ws-cmd-row input:focus-visible, .ha-queue:focus-visible {
  outline: none;
}

::selection {
  background: color-mix(in srgb, var(--accent) 35%, transparent);
}

@media (max-width: 860px) {
  .ws {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-rail {
    display: none;
  }

  .ws-body-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-code, .ws-alt {
    display: none;
  }

  .ws-head, .ws-canvas, .ws-cmd {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.ha-empty {
  color: var(--ink-3);
  margin: 0;
  padding: 12px 0;
}

.ha-queue {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  outline: none;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding-right: 4px;
  display: flex;
  overflow-y: auto;
}

.ha-queue-hint {
  z-index: 1;
  color: var(--ink-3);
  background: linear-gradient(var(--panel) 80%, transparent);
  opacity: .55;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 0 0 6px;
  font-size: 11.5px;
  transition: opacity .15s;
  display: flex;
  position: sticky;
  top: 0;
}

.ha-queue:focus-within .ha-queue-hint, .ha-queue:hover .ha-queue-hint {
  opacity: 1;
}

.ha-notice {
  border-radius: 7px;
  margin: 0;
  padding: 7px 10px;
  font-size: 12.5px;
  animation: .18s ease-out rise;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
}

.ha-notice-ok {
  background: color-mix(in srgb, var(--good) 14%, transparent);
  color: color-mix(in srgb, var(--good) 62%, var(--ink));
}

.ha-notice-error {
  background: color-mix(in srgb, var(--bad) 14%, transparent);
  color: color-mix(in srgb, var(--bad) 62%, var(--ink));
}

.ha-lead {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-2) 45%, transparent);
  border-radius: 10px;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  transition: border-color .12s, background .12s;
  display: grid;
}

.ha-lead-active {
  border-color: color-mix(in srgb, var(--accent) 65%, var(--line));
  background: var(--panel-2);
}

.ha-lead-pending {
  opacity: .5;
}

.ha-lead-rank {
  color: var(--ink-3);
  font: 12px var(--mono);
  padding-top: 2px;
}

.ha-lead-main {
  min-width: 0;
}

.ha-lead-title {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  display: flex;
}

.ha-link {
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 650;
}

.ha-link:hover {
  text-decoration: underline;
}

.ha-lead-reason {
  color: var(--ink);
  margin: 4px 0 2px;
  font-size: 13px;
}

.ha-lead-meta {
  color: var(--ink-3);
  margin: 0;
  font-size: 12px;
}

.ha-chip {
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
}

.ha-chip-overdue {
  color: color-mix(in srgb, var(--bad) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--bad) 50%, transparent);
  background: color-mix(in srgb, var(--bad) 12%, transparent);
}

.ha-chip-today {
  color: color-mix(in srgb, var(--warn) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--warn) 50%, transparent);
  background: color-mix(in srgb, var(--warn) 12%, transparent);
}

.ha-chip-scheduled {
  color: color-mix(in srgb, var(--good) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--good) 40%, transparent);
}

.ha-chip-stop {
  color: color-mix(in srgb, var(--bad) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--bad) 60%, transparent);
}

.ha-chip-biz {
  color: color-mix(in srgb, var(--info) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.ha-chip-bundle {
  color: color-mix(in srgb, var(--good) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--good) 45%, transparent);
  background: color-mix(in srgb, var(--good) 10%, transparent);
}

.ha-lead-contact {
  color: var(--ink-2);
  font-size: 12.5px;
}

.ha-gap {
  color: var(--warn);
}

.ha-lines {
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.ha-line {
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  font-size: 13px;
  display: flex;
}

.ha-line-elsewhere {
  color: var(--ink-2);
  border-style: dashed;
}

.ha-line-date {
  color: var(--ink-3);
  margin-left: auto;
  font-size: 12px;
}

.ha-lead-actions {
  white-space: nowrap;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  display: flex;
}

.ha-lead-value {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.ha-call {
  font: 600 13px var(--mono);
  color: var(--good);
  text-decoration: none;
}

.ha-call:hover {
  text-decoration: underline;
}

.ha-call-off {
  color: var(--ink-3);
  font-weight: 400;
  font-family: var(--font);
  font-size: 12px;
}

.ha-outcomes {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  display: flex;
}

.ha-outcomes kbd {
  border-bottom-width: 1px;
  margin-left: 6px;
  padding: 0 4px;
  font-size: 10px;
}

.ha-outcomes button {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  transition: color .12s, border-color .12s;
}

.ha-lead:not(.ha-lead-active) .ha-outcomes {
  opacity: .55;
}

.ha-outcomes button:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--accent);
}

.ha-outcomes button:disabled {
  opacity: .5;
  cursor: default;
}

.ha-file {
  flex-direction: column;
  gap: 10px;
  height: 100%;
  display: flex;
  overflow-y: auto;
}

.ha-file-name {
  font-size: 17px;
}

.ha-facts {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 16px;
  margin: 0;
  display: grid;
}

.ha-facts dt {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 11px;
}

.ha-facts dd {
  margin: 1px 0 0;
}

.ha-file-log {
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  display: flex;
}

.ha-file-log input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  padding: 7px 10px;
}

.ha-file-log input:focus {
  border-color: var(--accent);
}

.ha-file-log .ha-outcomes {
  margin-top: 0;
}

.ha-timeline {
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.ha-timeline li {
  grid-template-columns: 64px 1fr;
  gap: 10px;
  font-size: 13px;
  display: grid;
}

.ha-timeline time {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.ha-draft {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.ha-draft-head {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.ha-draft-body {
  white-space: pre-wrap;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 9px;
  margin: 0;
  padding: 12px;
  line-height: 1.55;
}

.ha-draft-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.ha-draft-actions button, .ha-draft-actions a {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12.5px;
  text-decoration: none;
}

.ha-draft-actions button:hover, .ha-draft-actions a:hover {
  border-color: var(--accent);
}

.ha-brief {
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 18px;
  line-height: 1.5;
  display: flex;
}

.ha-brief li::marker {
  color: var(--accent);
}

.ha-asks {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.ha-asks button {
  text-align: left;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 12px;
  transition: border-color .12s, transform .12s;
}

.ha-asks button:active {
  transform: translateY(1px);
}

.ha-asks button:hover {
  border-color: var(--accent);
}

.ha-asks button:after {
  content: " →";
  color: var(--accent);
}

.ha-map {
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.ha-map svg {
  aspect-ratio: 640 / 400;
  flex: none;
  width: 100%;
  height: auto;
}

.ha-map-place {
  cursor: pointer;
  outline: none;
}

.ha-map-place circle {
  fill-opacity: .55;
  stroke: var(--bg);
  stroke-width: 2px;
  transition: fill-opacity .12s, stroke .12s;
}

.ha-map-place:hover circle, .ha-map-place:focus-visible circle {
  fill-opacity: .85;
  stroke: var(--ink-2);
}

.ha-map-chosen circle {
  fill-opacity: .95;
  stroke: var(--ink);
  stroke-width: 3px;
}

.ha-map-place text {
  fill: var(--ink-2);
  pointer-events: none;
  font-size: 12px;
}

.ha-map-chosen text {
  fill: var(--ink);
  font-weight: 600;
}

.ha-map-legend {
  color: var(--ink-3);
  margin: 6px 0 0;
  font-size: 12px;
}

.ws-menu {
  z-index: 50;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 10px;
  min-width: 220px;
  max-width: 320px;
  padding: 5px;
  position: fixed;
  box-shadow: 0 12px 34px #00000080;
}

.ws-menu button {
  text-align: left;
  width: 100%;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 6px 10px;
  font-size: 13px;
  display: flex;
}

.ws-menu button:hover:not(:disabled), .ws-menu button:focus-visible {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  outline: none;
}

.ws-menu button:disabled {
  color: var(--ink-3);
  cursor: default;
}

.ws-menu .ws-menu-danger {
  color: color-mix(in srgb, var(--bad) 62%, var(--ink));
}

.ws-menu kbd {
  border-bottom-width: 1px;
  padding: 0 4px;
  font-size: 10px;
}

.ws-menu-rule {
  background: var(--line);
  height: 1px;
  margin: 4px 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition: none !important;
    animation: none !important;
  }
}

.st-back {
  z-index: 40;
  background: #00000080;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.st {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  grid-template-columns: 190px minmax(0, 1fr);
  width: min(940px, 100%);
  height: min(720px, 100%);
  display: grid;
  overflow: hidden;
  box-shadow: 0 24px 70px #0006;
}

.st-nav {
  border-right: 1px solid var(--line);
  background: var(--bg);
  flex-direction: column;
  gap: 16px;
  padding: 18px 10px;
  display: flex;
}

.st-nav h2 {
  margin: 0 8px;
  font-size: 15px;
}

.st-nav h3 {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 4px 8px;
  font-size: 10.5px;
  font-weight: 650;
}

.st-nav button {
  text-align: left;
  width: 100%;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13.5px;
  display: block;
}

.st-nav button:hover {
  background: var(--panel-2);
  color: var(--ink);
}

.st-nav button[aria-current="true"] {
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--accent);
  font-weight: 600;
}

.st-body {
  padding: 24px 28px 28px;
  position: relative;
  overflow-y: auto;
}

.st-body h1 {
  letter-spacing: -.01em;
  margin: 0 0 6px;
  font-size: 19px;
}

.st-close {
  color: var(--ink-3);
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 16px;
}

.st-close:hover {
  color: var(--ink);
  background: var(--panel-2);
}

.st-lead {
  max-width: 62ch;
  color: var(--ink-2);
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
}

.st-hint {
  color: var(--ink-3);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.st-note {
  border: 1px solid color-mix(in srgb, var(--good) 40%, transparent);
  background: color-mix(in srgb, var(--good) 10%, transparent);
  color: color-mix(in srgb, var(--good) 62%, var(--ink));
  border-radius: 8px;
  margin: 0 0 14px;
  padding: 9px 12px;
  font-size: 13px;
}

.st-title-row {
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  margin-right: 40px;
  display: flex;
}

.st-title-row h1 {
  flex: 1;
  margin: 0;
}

.st-back-link {
  color: var(--ink-3);
  background: none;
  border: 0;
  margin: 0 0 10px;
  padding: 0;
  font-size: 12.5px;
}

.st-back-link:hover {
  color: var(--accent);
}

.st-group {
  margin-bottom: 20px;
}

.st-group h3, .st-section {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 650;
}

.st-section {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 18px;
}

.st-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.st-list li + li {
  border-top: 1px solid var(--line);
}

.st-row {
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  display: flex;
}

.st-row:hover {
  background: var(--panel-2);
}

.st-row-main {
  min-width: 0;
  color: var(--ink-3);
  flex-direction: column;
  flex: 1;
  gap: 2px;
  font-size: 12px;
  display: flex;
}

.st-row-main strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.st-status {
  border: 1px solid var(--line);
  color: var(--ink-3);
  white-space: nowrap;
  border-radius: 999px;
  flex: none;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 600;
}

.st-status-active {
  color: var(--good);
  border-color: color-mix(in srgb, var(--good) 40%, transparent);
  background: color-mix(in srgb, var(--good) 9%, transparent);
}

.st-status-paused, .st-status-capped {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 9%, transparent);
}

.st-cards {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  display: grid;
}

.st-card {
  border: 1px solid var(--line);
  text-align: left;
  color: var(--ink-2);
  background: none;
  border-radius: 10px;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  transition: border-color .12s, background .12s;
  display: flex;
}

.st-card:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}

.st-card strong {
  color: var(--ink);
  font-size: 14px;
}

.st-ready {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: auto;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 650;
}

.st-ready-now {
  color: var(--good);
}

.st-ready-demo {
  color: var(--warn);
}

.st-form {
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  display: flex;
}

.st-field {
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 14px;
  display: grid;
}

.st-form .st-field {
  margin-bottom: 0;
}

.st-label {
  color: var(--ink-2);
  padding-top: 8px;
  font-size: 13px;
  font-weight: 550;
}

.st-control {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.st input:not([type="checkbox"]):not([type="file"]), .st textarea, .st select {
  border: 1px solid var(--line);
  background: var(--bg);
  width: 100%;
  color: var(--ink);
  font: inherit;
  border-radius: 8px;
  outline: none;
  padding: 8px 10px;
  font-size: 13.5px;
}

.st input:focus, .st textarea:focus, .st select:focus {
  border-color: var(--accent);
}

.st textarea {
  resize: vertical;
  font-family: var(--font);
}

.st-inline-file textarea {
  font-family: var(--mono);
  font-size: 12px;
}

.st .st-short {
  width: 110px !important;
}

.st-money {
  color: var(--ink-3);
  align-items: center;
  gap: 6px;
  display: flex;
}

.st-money input {
  width: 110px !important;
}

.st-pair {
  flex-wrap: wrap;
  gap: 16px;
  display: flex;
}

.st-pair label {
  color: var(--ink-2);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.st-pair input {
  width: 90px !important;
}

.st-check {
  color: var(--ink-2);
  align-items: center;
  gap: 8px;
  padding-top: 7px;
  font-size: 13px;
  display: flex;
}

.st-chips, .st-themes {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.st-chips button, .st-themes button, .st-seg button {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: none;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12.5px;
  transition: border-color .12s, background .12s, color .12s;
}

.st-chips button:hover, .st-themes button:hover, .st-seg button:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.st-chips button[aria-pressed="true"], .st-themes button[aria-checked="true"], .st-seg button[aria-checked="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--ink);
  font-weight: 600;
}

.st-themes button {
  align-items: center;
  gap: 8px;
  display: flex;
}

.st-swatch {
  border-radius: 50%;
  width: 14px;
  height: 14px;
  box-shadow: inset 0 0 0 1px #00000026;
}

.st-seg {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.st-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.st-actions-wide {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.st-danger {
  color: color-mix(in srgb, var(--bad) 70%, var(--ink));
}

.st-danger:hover {
  border-color: var(--bad) !important;
}

.st-stats {
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 10px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  margin: 0 0 14px;
  display: grid;
  overflow: hidden;
}

.st-stats div {
  background: var(--panel);
  padding: 10px 14px;
}

.st-stats dt {
  color: var(--ink-3);
  font-size: 11.5px;
}

.st-stats dd {
  font-variant-numeric: tabular-nums;
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 650;
}

.st-stats small {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.st-inline {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  display: grid;
}

.st-inline .ws-go {
  grid-column: 2;
  justify-self: end;
}

.st-inline-file {
  flex-direction: column;
  display: flex;
}

.st-inline-file .st-actions-wide {
  margin-bottom: 0;
}

.st-file {
  cursor: pointer;
}

.st-file input {
  display: none;
}

@media (max-width: 720px) {
  .st {
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
  }

  .st-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-flow: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px;
  }

  .st-nav h3 {
    display: none;
  }

  .st-nav > div {
    gap: 4px;
    display: flex;
  }

  .st-field {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .st-label {
    padding-top: 0;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9oqc8uss.css.map*/