/* [project]/node_modules/antd/dist/reset.css [app-client] (css) */
html, body {
  width: 100%;
  height: 100%;
}

input::-ms-clear {
  display: none;
}

input::-ms-reveal {
  display: none;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: #0000;
  font-family: sans-serif;
  line-height: 1.15;
}

body {
  margin: 0;
}

[tabindex="-1"]:focus {
  outline: none;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5em;
  font-weight: 500;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

abbr[title], abbr[data-original-title] {
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

address {
  font-style: normal;
  line-height: inherit;
  margin-bottom: 1em;
}

input[type="text"], input[type="password"], input[type="number"], textarea {
  -webkit-appearance: none;
}

ol, ul, dl {
  margin-top: 0;
  margin-bottom: 1em;
}

ol ol, ul ul, ol ul, ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 500;
}

dd {
  margin-bottom: .5em;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1em;
}

dfn {
  font-style: italic;
}

b, strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub, sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

pre, code, kbd, samp {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}

figure {
  margin: 0 0 1em;
}

img {
  vertical-align: middle;
  border-style: none;
}

a, area, button, [role="button"], input:not([type="range"]), label, select, summary, textarea {
  touch-action: manipulation;
}

table {
  border-collapse: collapse;
}

caption {
  text-align: left;
  caption-side: bottom;
  padding-top: .75em;
  padding-bottom: .3em;
}

input, button, select, optgroup, textarea {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="button"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="reset"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

input[type="radio"], input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  resize: vertical;
  overflow: auto;
}

fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

legend {
  width: 100%;
  max-width: 100%;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
  margin-bottom: .5em;
  padding: 0;
  display: block;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button {
  height: auto;
}

[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

/* [project]/apps/web/app/globals.css [app-client] (css) */
*, :before, :after, ::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #3b82f680;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

*, :before, :after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

:before, :after {
  --tw-content: "";
}

html, :host {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  line-height: 1.5;
}

body {
  line-height: inherit;
  margin: 0;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button, input, optgroup, select, textarea {
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: #0000;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button {
  height: auto;
}

::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol, ul, menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

input::placeholder, textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button, [role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img, svg, video, canvas, audio, iframe, embed, object {
  vertical-align: middle;
  display: block;
}

img, video {
  max-width: 100%;
  height: auto;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.block {
  display: block;
}

.table {
  display: table;
}

.italic {
  font-style: italic;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

:root {
  --atlas-bg: #fff;
  --atlas-canvas: #e9edf2;
  --atlas-surface: #f9f6f4;
  --atlas-surface-strong: #eeeae7;
  --atlas-panel: #fcfaf8;
  --atlas-ink: #0c1219;
  --atlas-muted: #4e5661;
  --atlas-subtle: #9fa5ad;
  --atlas-border: #d3d8de;
  --atlas-border-strong: #a6afbb;
  --atlas-primary: #c66b00;
  --atlas-primary-strong: #9f5100;
  --atlas-accent: #006b79;
  --atlas-accent-strong: #004d58;
  --atlas-success: #3e8343;
  --atlas-warning: #cc8900;
  --atlas-danger: #cc3e35;
  --atlas-critical: #a81032;
  --atlas-focus: #00b9d0;
  --atlas-grid: #999fa761;
  --atlas-shadow: 0 8px 18px #0c121914;
  --atlas-z-modal: 1100;
  --font-product: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@supports (color: lab(0% 0 0)) {
  :root {
    --atlas-bg: lab(100% 0 0);
    --atlas-canvas: lab(93.604% -.651121 -2.93589);
    --atlas-surface: lab(97.093% .667661 1.32732);
    --atlas-surface-strong: lab(93.0294% 1.00487 1.99308);
    --atlas-panel: lab(98.2548% .499994 .994992);
    --atlas-ink: lab(5.22007% -.707574 -5.69676);
    --atlas-muted: lab(36.1483% -1.41019 -7.23143);
    --atlas-subtle: lab(67.4895% -1.09363 -5.11291);
    --atlas-border: lab(86.0595% -.805348 -3.66503);
    --atlas-border-strong: lab(70.9541% -1.51888 -7.28201);
    --atlas-primary: lab(55.1936% 33.5672 64.0748);
    --atlas-primary-strong: lab(43.5249% 34.6119 76.4123);
    --atlas-accent: lab(40.5376% -31.9374 -21.9041);
    --atlas-accent-strong: lab(28.9018% -30.8626 -21.6993);
    --atlas-success: lab(49.258% -33.6567 27.8325);
    --atlas-warning: lab(62.6869% 20.8918 72.9773);
    --atlas-danger: lab(48.3719% 56.1659 39.0956);
    --atlas-critical: lab(36.5566% 58.0023 25.3888);
    --atlas-focus: lab(68.4893% -35.675 -24.0134);
    --atlas-grid: lab(65.1694% -1.09133 -5.11168 / .38);
    --atlas-shadow: 0 8px 18px lab(5.22007% -.707574 -5.69676 / .08);
  }
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: var(--atlas-bg);
  color: var(--atlas-ink);
  font-family: var(--font-product);
  letter-spacing: 0;
  margin: 0;
  font-size: 14px;
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

input, textarea, select {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  width: 100%;
  color: var(--atlas-ink);
  border-radius: 8px;
  outline: none;
}

input, select {
  height: 34px;
  padding: 0 10px;
}

textarea {
  resize: vertical;
  min-height: 86px;
  padding: 10px;
}

input:focus, textarea:focus, select:focus, button:focus-visible {
  border-color: var(--atlas-focus);
  outline-offset: 1px;
  outline: 2px solid #00b9d038;
  outline: 2px solid lab(68.4893% -35.675 -24.0134 / .22);
}

.atlas-shell {
  grid-template-columns: var(--sidebar-width, 300px) 6px minmax(0, 1fr);
  background: var(--atlas-bg);
  height: 100vh;
  display: grid;
  position: relative;
}

.sidebar {
  z-index: 5;
  background: var(--atlas-panel);
  border-right: 1px solid var(--atlas-border);
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 16px 14px;
  display: flex;
  position: relative;
  overflow: auto;
}

.sidebar-resizer {
  z-index: 6;
  border: 0;
  border-right: 1px solid var(--atlas-border);
  background: var(--atlas-panel);
  cursor: col-resize;
  border-radius: 0;
  width: 6px;
  padding: 0;
  position: relative;
}

.sidebar-resizer:after {
  content: "";
  background: none;
  position: absolute;
  inset: 0 1px;
}

.sidebar-resizer:hover:after, .sidebar-resizer:focus-visible:after {
  background: #00b9d038;
  background: lab(68.4893% -35.675 -24.0134 / .22);
}

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

.brand-block strong, .brand-block span, .workspace-field span, .sidebar-section h2, .section-heading h2, .section-heading h3 {
  display: block;
}

.brand-block strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand-block span, .workspace-field span, .sidebar-section small, .template-button small, .empty-state p {
  color: var(--atlas-muted);
  font-size: 12px;
  line-height: 1.45;
}

.brand-mark {
  background: var(--atlas-ink);
  width: 34px;
  height: 34px;
  color: var(--atlas-bg);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.atlas-level-sidebar .ant-btn, .atlas-level-sidebar .ant-input {
  border-radius: 8px;
}

.atlas-level-sidebar .ant-btn-primary {
  background: var(--atlas-primary);
}

.sidebar-create-section {
  margin-top: auto;
}

.sidebar-create-actions {
  width: 100%;
}

.atlas-nav-section {
  min-height: 0;
}

.atlas-nav-tree {
  gap: 4px;
  max-height: calc(100vh - 245px);
  padding-right: 2px;
  display: grid;
  overflow: auto;
}

.atlas-nav-row {
  --depth: 0;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  color: var(--atlas-ink);
  padding: 5px 8px 5px calc(8px + var(--depth) * 16px);
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  display: flex;
}

.atlas-nav-row:hover {
  border-color: var(--atlas-border);
  background: var(--atlas-bg);
}

.atlas-nav-row.is-active {
  background: #cdf7ff;
  background: lab(94.5614% -12.9323 -8.56885);
  border-color: #00b9d06b;
  border-color: lab(68.4893% -35.675 -24.0134 / .42);
}

.atlas-nav-icon {
  width: 22px;
  height: 22px;
  color: var(--atlas-muted);
  background: #e5ecf5;
  background: lab(93.0106% -1.11273 -5.12302);
  border-radius: 6px;
  flex: none;
  place-items: center;
  font-size: 12px;
  display: grid;
}

.atlas-nav-row.is-root .atlas-nav-icon {
  color: var(--atlas-accent-strong);
  background: #deedff;
  background: lab(92.9537% -2.54545 -12.6898);
}

.atlas-nav-row.is-node .atlas-nav-icon {
  color: var(--atlas-primary-strong);
  background: #ffead9;
  background: lab(94.0772% 8.41907 14.9548);
}

.sidebar-account-card {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  gap: 10px;
  margin-top: auto;
  padding: 10px;
  display: grid;
}

.sidebar-account-card strong, .sidebar-account-card span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: block;
  overflow: hidden;
}

.sidebar-account-card span {
  color: var(--atlas-muted);
  font-size: 12px;
}

.sidebar-account-actions {
  gap: 7px;
  display: grid;
}

.sidebar-account-actions .ant-btn {
  justify-content: flex-start;
}

.auth-screen {
  background: radial-gradient(circle at 25% 18%, #c4e5eb6b, transparent 32%),
    linear-gradient(180deg, var(--atlas-canvas), var(--atlas-bg));
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

@supports (color: lab(0% 0 0)) {
  .auth-screen {
    background: radial-gradient(circle at 25% 18%, lab(88.6823% -10.0834 -6.68043 / .42), transparent 32%),
    linear-gradient(180deg, var(--atlas-canvas), var(--atlas-bg));
  }
}

.auth-card {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 12px;
  gap: 16px;
  width: min(420px, 100%);
  padding: 20px;
  display: grid;
  box-shadow: 0 8px 14px #0c12191a;
  box-shadow: 0 8px 14px lab(5.22007% -.707574 -5.69676 / .1);
}

.auth-card-header {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.auth-card h2, .auth-card h3, .auth-card p {
  margin: 0;
}

.auth-card p {
  color: var(--atlas-muted);
}

.auth-mark {
  background: var(--atlas-ink);
  width: 40px;
  height: 40px;
  color: var(--atlas-bg);
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}

.auth-form {
  gap: 11px;
  display: grid;
}

.auth-form label {
  color: var(--atlas-muted);
  gap: 5px;
  font-size: 12px;
  font-weight: 750;
  display: grid;
}

.auth-error {
  color: var(--atlas-critical);
  background: #ffede9;
  background: lab(95.0985% 8.96996 5.50118);
  border: 1px solid #f4b1a7;
  border: 1px solid lab(78.4035% 24.2195 15.0383);
  border-radius: 8px;
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 750;
}

.auth-dev-note {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  color: var(--atlas-muted);
  border-radius: 8px;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 9px 10px;
  font-size: 12px;
  display: grid;
}

.auth-dev-note strong {
  color: var(--atlas-ink);
}

.users-panel {
  top: 18px;
  left: calc(var(--sidebar-width, 300px) + 28px);
  z-index: 60;
  width: min(900px, calc(100vw - var(--sidebar-width, 300px) - 56px));
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 10px;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 36px);
  padding: 14px;
  display: flex;
  position: absolute;
  box-shadow: 0 8px 14px #0c12191f;
  box-shadow: 0 8px 14px lab(5.22007% -.707574 -5.69676 / .12);
}

.users-panel-header, .users-panel-footer {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.users-panel-header h3, .users-panel-header p {
  margin: 0;
}

.users-panel-header p, .users-panel-footer span {
  color: var(--atlas-muted);
}

.users-panel-footer {
  border-top: 1px solid var(--atlas-border);
  align-items: center;
  padding-top: 12px;
}

.access-denied, .users-empty {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  color: var(--atlas-muted);
  border-radius: 8px;
  gap: 5px;
  padding: 12px;
  display: grid;
}

.access-denied strong {
  color: var(--atlas-ink);
}

.users-table {
  border: 1px solid var(--atlas-border);
  border-radius: 8px;
  flex: auto;
  min-height: 0;
  display: grid;
  overflow: auto;
}

.user-create-form {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  border-radius: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
  padding: 10px;
  display: grid;
}

.user-create-form label {
  min-width: 0;
  color: var(--atlas-muted);
  gap: 5px;
  font-size: 12px;
  font-weight: 750;
  display: grid;
}

.user-create-form label:first-child {
  grid-column: span 2;
}

.user-create-form label:nth-child(2) {
  grid-column: span 4;
}

.user-create-form label:nth-child(3), .user-create-form label:nth-child(4) {
  grid-column: span 2;
}

.user-create-form .ant-btn {
  grid-column: span 2;
  width: 100%;
  min-width: 0;
}

.users-table-head, .user-row {
  grid-template-columns: minmax(190px, 1fr) 160px minmax(260px, 1.4fr);
  align-items: center;
  gap: 10px;
  min-width: 700px;
  padding: 10px 12px;
  display: grid;
}

.users-table-head {
  z-index: 1;
  border-bottom: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  color: var(--atlas-muted);
  font-size: 12px;
  font-weight: 800;
  position: sticky;
  top: 0;
}

.user-row + .user-row {
  border-top: 1px solid var(--atlas-border);
}

.user-identity {
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.user-identity strong, .user-identity small {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: block;
  overflow: hidden;
}

.user-identity small {
  color: var(--atlas-muted);
}

.user-avatar {
  width: 32px;
  height: 32px;
  color: var(--atlas-accent-strong);
  background: #d1f2f8;
  background: lab(93.3226% -10.0882 -6.68355);
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}

.user-role-cell .ant-select {
  width: 100%;
}

.permission-list {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.permission-list .ant-tag {
  align-items: center;
  gap: 4px;
  margin-inline-end: 0;
  display: inline-flex;
}

.atlas-nav-row.is-task .atlas-nav-icon {
  color: var(--atlas-success);
  background: #dff6de;
  background: lab(94.7233% -11.1774 8.71127);
}

.atlas-nav-copy {
  gap: 1px;
  min-width: 0;
  display: grid;
}

.atlas-nav-copy strong, .atlas-nav-copy small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.atlas-nav-copy strong {
  font-size: 13px;
  line-height: 1.25;
}

.atlas-nav-copy small {
  color: var(--atlas-muted);
  font-size: 11px;
  line-height: 1.2;
}

.workspace-field {
  gap: 6px;
  display: grid;
}

.sidebar-actions, .create-grid, .export-section {
  grid-template-columns: 1fr;
  gap: 8px;
  display: grid;
}

.sidebar-actions button, .sidebar-primary-action, .create-grid button, .export-section button, .text-button, .link-actions button, .template-button, .project-list button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  min-height: 34px;
  color: var(--atlas-ink);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  display: inline-flex;
}

.sidebar-actions button:first-child {
  background: var(--atlas-primary);
  border-color: var(--atlas-primary);
  color: var(--atlas-bg);
  grid-column: 1 / -1;
}

.sidebar-primary-action {
  background: var(--atlas-primary);
  border-color: var(--atlas-primary);
  color: var(--atlas-bg);
}

.sidebar-section {
  gap: 10px;
  display: grid;
}

.atlas-level-sidebar {
  gap: 14px;
}

.level-current-card {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  padding: 12px;
}

.level-current-card > strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
}

.level-current-card > small {
  color: var(--atlas-muted);
}

.level-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.level-actions button, .level-path button, .level-tree button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  min-width: 0;
  min-height: 34px;
  color: var(--atlas-ink);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  font-weight: 650;
  display: inline-flex;
}

.level-path button, .level-tree button {
  text-align: left;
  justify-content: flex-start;
  width: 100%;
}

.level-path button.is-active, .level-tree button.is-active {
  border-color: var(--atlas-accent);
  background: #e0f7fb;
  background: lab(95.563% -7.22879 -4.78939);
}

.level-tree button.is-selected:not(.is-active) {
  border-color: var(--atlas-border-strong);
}

.level-path button span:last-child, .level-tree button strong, .level-tree button small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.level-indent {
  width: calc(var(--level, 0) * 10px);
  flex: none;
}

.level-tree {
  overflow: hidden;
}

.level-tree-branch {
  gap: 6px;
  display: grid;
}

.level-tree-children {
  gap: 6px;
  padding-left: 14px;
  display: grid;
}

.level-node-dot {
  border-radius: 999px;
  flex: none;
  width: 9px;
  height: 9px;
}

.level-tree button > span:last-child {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.sidebar-section h2, .section-heading h2, .section-heading h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}

.section-heading, .node-toolbar, .tool-popover summary {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.stats-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.stats-grid span {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  color: var(--atlas-muted);
  border-radius: 8px;
  gap: 2px;
  padding: 10px;
  font-size: 12px;
  display: grid;
}

.stats-grid strong {
  color: var(--atlas-ink);
  font-size: 18px;
  line-height: 1;
}

.stats-grid .is-hot strong {
  color: var(--atlas-danger);
}

.project-list button {
  text-align: left;
  justify-content: space-between;
  padding: 10px;
}

.project-list button span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.project-list button strong, .template-button strong, .project-list button small, .template-button small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.project-list button i {
  width: 24px;
  height: 24px;
  color: var(--atlas-primary-strong);
  background: #ffeddf;
  background: lab(95.2535% 7.43243 13.2505);
  border-radius: 999px;
  place-items: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  display: grid;
}

.project-list button.is-selected, .template-button:hover, .sidebar-actions button:hover, .sidebar-primary-action:hover, .create-grid button:hover, .export-section button:hover, .text-button:hover, .link-actions button:hover, .level-actions button:hover, .level-path button:hover, .level-tree button:hover {
  border-color: var(--atlas-accent);
}

.template-button {
  text-align: left;
  justify-items: start;
  padding: 10px;
  display: grid;
}

.canvas-region {
  min-width: 0;
  min-height: 0;
}

.canvas-region, .atlas-flow {
  position: relative;
}

.atlas-flow {
  background-color: var(--atlas-canvas);
  background-image: radial-gradient(circle, var(--atlas-grid) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 16px 16px;
}

.react-flow__panel {
  margin: 14px;
}

.canvas-command-panel, .search-command-panel, .canvas-side-tools {
  border: 1px solid var(--atlas-border);
  box-shadow: var(--atlas-shadow);
  background: #fffffff0;
  background: lab(100% 0 0 / .94);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  display: flex;
}

.node-detail-overlay {
  z-index: var(--atlas-z-modal);
  pointer-events: auto;
  background: #0c121947;
  background: lab(5.22007% -.707574 -5.69676 / .28);
  animation: .18s ease-out both node-detail-backdrop;
  display: block;
  position: fixed;
  inset: 0;
}

.node-detail-shell {
  background: var(--atlas-bg);
  border-radius: 10px;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 620px;
  min-height: 500px;
  animation: .26s cubic-bezier(.16, 1, .3, 1) both node-detail-open;
  display: grid;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 8px 8px #0c121929;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .16);
}

.node-detail-header {
  border-bottom: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  display: flex;
}

.node-detail-header:active {
  cursor: grabbing;
}

.node-detail-title-block {
  gap: 8px;
  min-width: 0;
  display: grid;
}

.node-detail-title-block > span, .node-detail-editor > span, .node-markdown-preview > span, .node-detail-checklist > span, .node-detail-comments > span, .node-detail-attachments > span {
  color: var(--atlas-muted);
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
}

.node-detail-title-block input {
  text-wrap: balance;
  -webkit-user-select: text;
  user-select: text;
  background: none;
  border: 0;
  border-radius: 0;
  height: auto;
  padding: 0;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.08;
}

.node-detail-title-block input:focus {
  outline: none;
}

.node-detail-meta {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.node-detail-meta small {
  background: var(--atlas-surface-strong);
  min-height: 22px;
  color: var(--atlas-muted);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 650;
}

.node-detail-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.node-detail-body {
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.node-detail-body.comments-collapsed {
  grid-template-columns: minmax(0, 1fr) 44px;
}

.node-detail-main {
  grid-template-rows: minmax(360px, 1fr) auto auto;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  display: grid;
  overflow: hidden;
}

.node-comment-chat {
  border-left: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.node-comment-chat.is-collapsed {
  display: block;
}

.node-rich-editor, .node-detail-checklist, .node-detail-materials, .node-detail-collapsible, .node-detail-attachments {
  gap: 10px;
  display: grid;
}

.node-rich-editor {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.node-editor-toolbar {
  border-bottom: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px;
  display: flex;
}

.node-editor-toolbar button, .node-section-toggle, .node-material-tabs button, .node-calendar-quick-actions button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  min-height: 30px;
  color: var(--atlas-ink);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  display: inline-flex;
}

.node-editor-toolbar button {
  width: 30px;
  padding: 0;
}

.node-editor-toolbar button.is-active, .node-material-tabs button.is-active {
  border-color: var(--atlas-accent);
  color: var(--atlas-accent-strong);
  background: #d5f1f6;
  background: lab(93.2829% -8.6602 -5.73746);
}

.node-editor-toolbar-divider {
  background: var(--atlas-border);
  width: 1px;
  height: 22px;
  margin: 0 2px;
}

.node-rich-editor-content {
  outline: none;
  min-height: 100%;
  padding: 16px;
  line-height: 1.5;
  overflow: auto;
}

.node-rich-editor-content.ProseMirror {
  outline: none;
  min-height: 100%;
}

.node-rich-editor-content p, .node-rich-editor-content h1, .node-rich-editor-content h2, .node-rich-editor-content blockquote, .node-rich-editor-content ul, .node-rich-editor-content ol {
  margin: 0 0 12px;
}

.node-rich-editor-content h1 {
  font-size: 24px;
  line-height: 1.18;
}

.node-rich-editor-content h2 {
  font-size: 19px;
  line-height: 1.24;
}

.node-rich-editor-content a {
  color: var(--atlas-accent-strong);
  text-decoration: underline;
}

.node-rich-editor-content blockquote {
  border-left: 1px solid var(--atlas-border-strong);
  color: var(--atlas-muted);
  padding-left: 12px;
}

.node-rich-editor-content .is-editor-empty:first-child:before {
  content: attr(data-placeholder);
  float: left;
  color: var(--atlas-muted);
  pointer-events: none;
  height: 0;
}

.node-rich-editor-loading {
  min-height: 260px;
  color: var(--atlas-muted);
  place-items: center;
  display: grid;
}

.node-markdown-preview {
  border-top: 1px solid var(--atlas-border);
  padding-top: 14px;
}

.node-markdown-preview > div {
  gap: 8px;
  max-width: 76ch;
  display: grid;
}

.node-markdown-preview h2, .node-markdown-preview h3, .node-markdown-preview h4, .node-markdown-preview p {
  margin: 0;
  line-height: 1.45;
}

.node-markdown-preview h2 {
  font-size: 22px;
  line-height: 1.18;
}

.node-markdown-preview h3 {
  font-size: 18px;
  line-height: 1.22;
}

.node-markdown-preview h4 {
  font-size: 15px;
}

.markdown-list-item {
  padding-left: 16px;
  position: relative;
}

.markdown-list-item:before {
  content: "•";
  color: var(--atlas-accent);
  font-weight: 850;
  position: absolute;
  left: 0;
}

.node-detail-checklist {
  border-top: 1px solid var(--atlas-border);
  padding-top: 14px;
}

.node-section-toggle {
  width: 100%;
  color: var(--atlas-muted);
  background: none;
  border: 0;
  justify-content: space-between;
  padding: 0;
  font-size: 12px;
}

.node-section-toggle svg, .node-comment-chat-header svg:last-child {
  transition: transform .16s ease-out;
}

.node-section-toggle .is-collapsed, .node-comment-chat-header .is-collapsed {
  transform: rotate(-90deg);
}

.node-detail-checklist-items {
  gap: 8px;
  display: grid;
}

.node-detail-checklist-items button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  min-height: 34px;
  color: var(--atlas-ink);
  text-align: left;
  border-radius: 8px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  display: grid;
}

.node-detail-checklist i {
  border: 1px solid var(--atlas-border-strong);
  background: var(--atlas-bg);
  width: 18px;
  height: 18px;
  color: var(--atlas-bg);
  border-radius: 5px;
  place-items: center;
  font-style: normal;
  display: grid;
}

.node-detail-checklist .is-done {
  border-color: var(--atlas-success);
  background: var(--atlas-success);
}

.node-materials-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.node-materials-header .node-section-toggle {
  width: auto;
  min-width: 140px;
}

.node-material-tabs {
  flex-wrap: wrap;
  gap: 6px;
  display: inline-flex;
}

.node-material-tabs button {
  padding: 0 10px;
}

.node-comment-chat-header {
  border: 0;
  border-bottom: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  min-height: 48px;
  color: var(--atlas-muted);
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
}

.node-comment-chat-header span, .node-calendar-panel label > span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.node-comment-chat.is-collapsed .node-comment-chat-header {
  writing-mode: vertical-rl;
  border-bottom: 0;
  justify-content: flex-start;
  gap: 10px;
  width: 44px;
  height: 100%;
}

.node-chat-list, .node-attachment-list {
  gap: 8px;
  display: grid;
}

.node-chat-list {
  align-content: start;
  padding: 14px;
  overflow: auto;
}

.node-chat-list article, .node-attachment-list article {
  background: var(--atlas-bg);
  border-radius: 8px;
  padding: 10px;
}

.node-chat-list article {
  gap: 4px;
  display: grid;
}

.node-chat-list article.is-own {
  background: #d5f1f6;
  background: lab(93.2829% -8.6602 -5.73746);
}

.node-chat-list strong, .node-chat-list p, .node-chat-list time, .node-attachment-list strong, .node-attachment-list small {
  min-width: 0;
}

.node-chat-list article > div {
  justify-content: space-between;
  gap: 8px;
  display: flex;
}

.node-chat-list p {
  color: var(--atlas-ink);
  margin: 0;
  line-height: 1.4;
}

.node-chat-list time, .node-attachment-list small, .node-detail-empty, .node-attachment-dropzone small, .node-detail-error {
  color: var(--atlas-muted);
  font-size: 12px;
  line-height: 1.35;
}

.node-detail-error {
  color: var(--atlas-danger);
  margin: 0;
}

.node-chat-input {
  border-top: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  padding: 10px;
  display: grid;
}

.node-chat-input button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-ink);
  color: var(--atlas-bg);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.node-calendar-panel, .node-participants-panel {
  gap: 10px;
  display: grid;
}

.node-calendar-panel {
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 0;
}

.container-inline-calendar {
  overflow: hidden;
}

.container-inline-calendar .node-calendar-panel {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.node-calendar-quick-actions {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.node-calendar-picker {
  width: 100%;
}

.node-calendar-picker.ant-picker {
  border-color: #d4c1a8;
  border-color: lab(79.1643% 3.9086 15.1416);
  border-radius: 8px;
  height: 32px;
}

.container-inline-calendar .node-calendar-quick-actions {
  justify-content: flex-start;
  gap: 4px;
  overflow: hidden;
}

.node-calendar-quick-actions button {
  background: #fffbf5;
  background: lab(98.8601% 1.04877 4.4479);
  border-color: #dac7ae;
  border-color: lab(81.4851% 3.89582 15.1304);
  min-height: 30px;
  padding: 0 10px;
}

.container-inline-calendar .node-calendar-quick-actions button {
  min-height: 26px;
  padding: 0 7px;
  font-size: 11px;
}

.calendar-countdown-card {
  min-height: 0;
  color: var(--atlas-ink);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  display: grid;
  overflow: hidden;
}

.calendar-countdown-heading {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.calendar-countdown-heading h3 {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
  overflow: hidden;
}

.calendar-countdown-heading p {
  color: var(--atlas-ink);
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.calendar-countdown-panel {
  background: linear-gradient(#ffefdb, #fbe4c7);
  background: linear-gradient(lab(95.3811% 3.7699 12.5728), lab(91.92% 4.76268 17.338));
  border: 1px solid #f2daba;
  border: 1px solid lab(88.4503% 4.97833 19.0112);
  border-radius: 12px;
  align-content: center;
  gap: 8px;
  min-height: 116px;
  padding: 16px 18px;
  display: grid;
}

.calendar-countdown-panel > span {
  color: #392e23;
  color: lab(19.9479% 3.3433 9.4172);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.calendar-countdown-panel.is-empty {
  color: var(--atlas-muted);
  place-items: center;
}

.calendar-countdown-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  display: grid;
}

.calendar-countdown-grid span {
  color: #4f565f;
  color: lab(36.1548% -1.29382 -6.51922);
  justify-items: center;
  min-width: 0;
  font-size: 15px;
  line-height: 1.2;
  display: grid;
}

.calendar-countdown-grid strong {
  color: var(--atlas-ink);
  font-variant-numeric: tabular-nums;
  font-size: 48px;
  font-weight: 760;
  line-height: 1;
}

.calendar-countdown-meta {
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin-top: 4px;
  display: flex;
}

.calendar-countdown-meta span {
  background: var(--atlas-surface-strong);
  min-width: 0;
  color: var(--atlas-ink);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  display: inline-flex;
}

.calendar-countdown-card.is-expired .calendar-countdown-panel {
  background: #ffede8;
  background: lab(95.1528% 7.47132 5.36505);
  border-color: #edab9e;
  border-color: lab(76.1356% 23.4478 17.0103);
}

.calendar-countdown-card.is-expired .calendar-countdown-grid strong {
  color: var(--atlas-critical);
}

.node-participant-table {
  gap: 7px;
  display: grid;
}

.container-inline-participants {
  overflow: hidden;
}

.container-inline-participants .node-participants-panel {
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.container-inline-participants .node-participant-table {
  align-content: start;
  min-height: 0;
  overflow: auto;
}

.node-participant-table [role="row"] {
  border: 1px solid var(--atlas-border);
  border-radius: 8px;
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 7px;
  display: grid;
}

.node-participant-table strong, .node-participant-table small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.node-participant-table small {
  color: var(--atlas-muted);
  font-size: 12px;
}

.node-participant-avatar {
  width: 24px;
  height: 24px;
  color: var(--atlas-bg);
  border-radius: 999px;
  place-items: center;
  font-size: 12px;
  font-weight: 850;
  display: grid;
}

.node-participant-add {
  grid-template-columns: minmax(0, 1fr) 136px 34px;
  gap: 6px;
  display: grid;
}

.node-participant-add input, .node-participant-add select {
  min-width: 0;
}

.node-participant-add button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-ink);
  width: 34px;
  height: 34px;
  color: var(--atlas-bg);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.node-attachment-dropzone {
  border: 1px dashed var(--atlas-border-strong);
  background: var(--atlas-bg);
  min-height: 92px;
  color: var(--atlas-ink);
  text-align: left;
  border-radius: 8px;
  justify-items: start;
  gap: 5px;
  padding: 12px;
  display: grid;
}

.node-attachment-dropzone:hover {
  border-color: var(--atlas-accent);
}

.node-attachment-input {
  display: none;
}

.node-attachment-list article {
  grid-template-columns: 54px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 9px;
  display: grid;
}

.node-attachment-list img, .node-file-icon {
  background: var(--atlas-surface-strong);
  border-radius: 7px;
  width: 54px;
  height: 54px;
}

.node-attachment-list img {
  -o-object-fit: cover;
  object-fit: cover;
}

.node-file-icon {
  color: var(--atlas-muted);
  place-items: center;
  display: grid;
}

.node-attachment-list strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.node-attachment-list a {
  color: var(--atlas-accent-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 750;
  display: block;
  overflow: hidden;
}

.node-attachment-list button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  width: 30px;
  height: 30px;
  color: var(--atlas-muted);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.node-detail-resize-handle {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  width: 28px;
  height: 28px;
  color: var(--atlas-muted);
  cursor: nwse-resize;
  touch-action: none;
  border-radius: 8px;
  place-items: center;
  display: grid;
  position: absolute;
  bottom: 7px;
  right: 7px;
}

@media (max-width: 860px) {
  .node-detail-shell {
    min-width: min(620px, 100vw - 24px);
  }

  .node-detail-body, .node-detail-body.comments-collapsed {
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: 1fr;
  }

  .node-detail-main {
    grid-template-rows: minmax(320px, 1fr) auto auto;
  }

  .node-comment-chat.is-collapsed .node-comment-chat-header {
    writing-mode: horizontal-tb;
    width: auto;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .node-detail-overlay, .node-detail-shell {
    animation: none;
  }
}

@keyframes node-detail-backdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes node-detail-open {
  from {
    opacity: 0;
    transform: translateY(14px)scale(.94);
  }

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

.canvas-command-panel {
  z-index: 40;
  flex-wrap: wrap;
  max-width: min(1120px, 100vw - 430px);
}

.canvas-command-panel .search-panel {
  border-left: 1px solid var(--atlas-border);
  width: min(340px, 28vw);
  min-width: 240px;
  padding-left: 8px;
}

.canvas-side-tools {
  z-index: 40;
}

.zoom-readout {
  align-items: center;
  gap: 8px;
  min-width: 178px;
  padding: 0 8px;
  display: flex;
}

.zoom-readout strong, .zoom-readout span {
  white-space: nowrap;
  display: block;
}

.zoom-readout strong {
  font-size: 13px;
  line-height: 1.25;
}

.zoom-readout span {
  color: var(--atlas-muted);
  font-size: 12px;
}

.toolbar-group {
  align-items: center;
  gap: 6px;
  display: flex;
}

.toolbar-group.compact {
  gap: 4px;
}

.icon-button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  width: 34px;
  height: 34px;
  color: var(--atlas-ink);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.icon-button:hover {
  border-color: var(--atlas-accent);
  color: var(--atlas-accent-strong);
}

.text-button {
  padding: 0 10px;
}

.search-panel {
  width: min(420px, 40vw);
  position: relative;
}

.search-input-row {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.search-input-row input {
  background: none;
  border: 0;
  height: 32px;
  padding: 0;
}

.search-input-row input:focus {
  outline: none;
}

.search-results {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  box-shadow: var(--atlas-shadow);
  border-radius: 8px;
  gap: 4px;
  padding: 6px;
  display: grid;
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  right: 0;
}

.search-results [cmdk-item] {
  border-radius: 6px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px;
  display: grid;
}

.search-results [cmdk-item][data-selected="true"] {
  background: var(--atlas-surface-strong);
}

.search-results strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.search-results small {
  color: var(--atlas-muted);
  font-size: 11px;
}

.entity-dot {
  border-radius: 999px;
  width: 9px;
  height: 9px;
}

.entity-node {
  background: var(--atlas-primary);
}

.entity-container {
  background: var(--atlas-warning);
}

.canvas-side-tools {
  align-items: stretch;
}

.tool-popover {
  position: relative;
}

.tool-popover summary {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  min-height: 34px;
  padding: 0 10px;
  font-weight: 650;
  list-style: none;
}

.tool-popover summary::-webkit-details-marker {
  display: none;
}

.popover-content {
  z-index: 80;
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  width: 210px;
  box-shadow: var(--atlas-shadow);
  border-radius: 8px;
  gap: 8px;
  padding: 10px;
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
}

.insert-grid {
  top: 68px;
  left: clamp(calc(var(--sidebar-width, 300px) + 48px), 35vw, calc(100vw - 300px));
  z-index: 2000;
  grid-template-columns: 1fr 1fr;
  width: 260px;
  position: fixed;
  right: auto;
}

.insert-grid button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  min-height: 34px;
  color: var(--atlas-ink);
  border-radius: 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  font-weight: 700;
  display: inline-flex;
}

.filter-grid label {
  color: var(--atlas-muted);
  gap: 5px;
  font-size: 12px;
  display: grid;
}

.check-row {
  min-height: 26px;
  color: var(--atlas-ink);
  align-items: center;
  gap: 8px;
  display: flex;
}

.check-row input {
  width: 15px;
  height: 15px;
}

.atlas-minimap {
  border: 1px solid var(--atlas-border);
  background: #ffffffeb;
  background: lab(100% 0 0 / .92);
  border-radius: 8px;
  overflow: hidden;
}

.atlas-flow-controls {
  border: 1px solid var(--atlas-border);
  box-shadow: var(--atlas-shadow);
  border-radius: 8px;
  overflow: hidden;
}

.atlas-flow-controls button {
  border-bottom: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
}

.atlas-node-wrap {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  position: relative;
}

.node-drag-surface {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.node-drag-surface:active {
  cursor: grabbing;
}

.ant-card-head, .container-node > header, .document-node > header {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.ant-card-head:active, .container-node > header:active, .document-node > header:active {
  cursor: grabbing;
}

.ant-card-head .nodrag, .container-node > header button, .document-node > header button {
  cursor: auto;
}

.atlas-node-wrap > article {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.atlas-node-wrap.is-selected > article {
  outline: 2px solid var(--atlas-focus);
  outline-offset: 3px;
  box-shadow: 0 8px 8px #0c121929, 0 2px 4px #0c12191f, 0 0 0 1px #00b9d038, inset 0 1px #ffffffe6;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .16), 0 2px 4px lab(5.22007% -.707574 -5.69676 / .12), 0 0 0 1px lab(68.4893% -35.675 -24.0134 / .22), inset 0 1px lab(100% 0 0 / .9);
}

.react-flow__node.is-nest-target .atlas-node-wrap > article {
  outline: 2px solid var(--atlas-success);
  outline-offset: 7px;
  box-shadow: 0 0 0 7px #3e834324;
  box-shadow: 0 0 0 7px lab(49.258% -33.6567 27.8325 / .14);
}

.react-flow__node.is-nest-confirm-target .atlas-node-wrap > article {
  outline: 2px solid var(--atlas-primary);
  outline-offset: 8px;
  box-shadow: 0 8px 8px #0c121929, 0 0 0 8px #c66b0029;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .16), 0 0 0 8px lab(55.1936% 33.5672 64.0748 / .16);
}

.react-flow__node.is-nest-pending .atlas-node-wrap > article {
  opacity: .82;
}

.atlas-handle {
  border: 1px solid var(--atlas-bg);
  background: var(--atlas-accent);
  opacity: .18;
  width: 7px;
  height: 7px;
  transition: opacity .16s, width .16s, height .16s, background-color .16s, box-shadow .16s;
}

.atlas-handle.is-source {
  margin-top: -3px;
  margin-left: -3px;
}

.atlas-handle.is-target {
  margin-top: 3px;
  margin-left: 3px;
}

.atlas-handle.is-extra {
  background: var(--atlas-accent-strong);
  opacity: .28;
  width: 5px;
  height: 5px;
}

.atlas-handle-top.is-extra.is-source {
  margin-top: -4px;
  margin-left: 11px;
}

.atlas-handle-top.is-extra.is-target {
  margin-top: 4px;
  margin-left: 16px;
}

.atlas-handle-right.is-extra.is-source {
  margin-top: 11px;
  margin-left: -4px;
}

.atlas-handle-right.is-extra.is-target {
  margin-top: 16px;
  margin-left: 4px;
}

.atlas-handle-bottom.is-extra.is-source {
  margin-top: -4px;
  margin-left: 11px;
}

.atlas-handle-bottom.is-extra.is-target {
  margin-top: 4px;
  margin-left: 16px;
}

.atlas-handle-left.is-extra.is-source {
  margin-top: 11px;
  margin-left: -4px;
}

.atlas-handle-left.is-extra.is-target {
  margin-top: 16px;
  margin-left: 4px;
}

.atlas-node-wrap.has-used-handles .atlas-handle {
  opacity: .28;
}

.atlas-node-wrap:hover .atlas-handle, .atlas-node-wrap.is-selected .atlas-handle, .atlas-node-wrap.is-link-source .atlas-handle, .atlas-node-wrap.is-link-candidate .atlas-handle {
  opacity: .82;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 3px #006b791f;
  box-shadow: 0 0 0 3px lab(40.5376% -31.9374 -21.9041 / .12);
}

.atlas-flow .react-flow__edges {
  z-index: 8;
}

.atlas-flow .react-flow__nodes {
  z-index: 7;
}

.atlas-flow .react-flow__connectionline {
  z-index: 9;
}

.react-flow__edge.atlas-edge .react-flow__edge-path {
  pointer-events: visibleStroke;
  transition: stroke-width .16s, filter .16s, opacity .16s;
}

.react-flow__edge.edge-references .react-flow__edge-path, .react-flow__edge.edge-depends_on .react-flow__edge-path, .react-flow__edge.edge-blocks .react-flow__edge-path {
  stroke-linecap: round;
}

.react-flow__edge.atlas-edge.is-selected .react-flow__edge-path {
  filter: drop-shadow(0 0 4px #006b796b);
  filter: drop-shadow(0 0 4px lab(40.5376% -31.9374 -21.9041 / .42));
}

.edge-style-panel {
  z-index: 30;
  border: 1px solid var(--atlas-border-strong);
  background: var(--atlas-bg);
  border-radius: 10px;
  gap: 10px;
  width: 244px;
  padding: 10px;
  display: grid;
  position: absolute;
  box-shadow: 0 8px 8px #0c121929;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .16);
}

.edge-style-panel header {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.edge-style-panel header strong {
  font-size: 13px;
  line-height: 1.2;
}

.edge-style-panel header button, .edge-delete-action, .edge-delete-confirm button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  color: var(--atlas-ink);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-weight: 650;
  display: inline-flex;
}

.edge-style-panel header button {
  width: 28px;
  height: 28px;
}

.edge-style-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.edge-style-option {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  min-width: 0;
  color: var(--atlas-ink);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
}

.edge-style-option span {
  border-top: 2px solid var(--atlas-accent-strong);
  width: 22px;
}

.edge-style-depends_on span {
  border-top-style: dashed;
}

.edge-style-blocks span {
  border-top: 3px dashed var(--atlas-danger);
}

.edge-style-references span {
  border-top-style: dotted;
  border-top-color: var(--atlas-primary-strong);
}

.edge-style-option.is-active {
  border-color: var(--atlas-focus);
  color: var(--atlas-ink);
  background: #ccf0f4;
  background: lab(92.2229% -11.5199 -6.1548);
}

.edge-label-editor {
  gap: 5px;
  display: grid;
}

.edge-label-editor span {
  color: var(--atlas-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.edge-label-editor input {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  width: 100%;
  min-width: 0;
  color: var(--atlas-ink);
  font: inherit;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 12px;
  line-height: 1.2;
}

.edge-label-editor input:focus {
  border-color: var(--atlas-focus);
  outline: none;
  box-shadow: 0 0 0 3px #c66b0029;
  box-shadow: 0 0 0 3px lab(55.1936% 33.5672 64.0748 / .16);
}

.edge-delete-action {
  width: 100%;
  min-height: 34px;
  color: var(--atlas-critical);
  gap: 7px;
}

.edge-delete-confirm {
  background: #fff2ef;
  background: lab(96.3612% 5.73614 4.11748);
  border: 1px solid #eeb4a8;
  border: 1px solid lab(78.5433% 20.4409 14.7851);
  border-radius: 8px;
  gap: 7px;
  padding: 9px;
  display: grid;
}

.edge-delete-confirm strong {
  color: var(--atlas-critical);
  font-size: 12px;
}

.edge-delete-confirm p {
  color: var(--atlas-muted);
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.edge-delete-confirm div {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  display: grid;
}

.edge-delete-confirm button {
  min-height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.edge-delete-confirm button.danger {
  border-color: var(--atlas-critical);
  background: var(--atlas-critical);
  color: var(--atlas-bg);
}

.atlas-node-wrap.is-link-source > article {
  outline: 2px solid var(--atlas-accent-strong);
  outline-offset: 5px;
}

.atlas-node-wrap.is-link-candidate > article {
  cursor: crosshair;
}

.react-flow__resize-control.handle {
  border: 2px solid var(--atlas-bg);
  background: var(--atlas-focus);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 1px var(--atlas-accent-strong);
}

.react-flow__resize-control.line {
  border-color: var(--atlas-focus);
}

.node-toolbar {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-ink);
  color: var(--atlas-bg);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
}

.node-toolbar strong {
  color: #ffd79f;
  color: lab(88.4317% 10.0145 35.4288);
}

.node-toolbar button {
  min-height: 22px;
  color: var(--atlas-bg);
  background: #ffffff14;
  background: lab(100% 0 0 / .08);
  border: 1px solid #ffffff38;
  border: 1px solid lab(100% 0 0 / .22);
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}

.node-delete-button {
  color: #ffd1c4;
  color: lab(87.7816% 22.7112 18.3313);
}

.node-link-button.is-active {
  background: #8cf0bc38;
  background: lab(87.6791% -39.3504 15.5345 / .22);
  border-color: #93f7c3;
  border-color: lab(89.9998% -39.3244 15.5273);
}

.danger-button {
  border: 1px solid var(--atlas-critical);
  background: var(--atlas-critical);
  min-height: 34px;
  color: var(--atlas-bg);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  font-weight: 750;
  display: inline-flex;
}

.root-node, .work-node, .container-node, .document-node {
  background: var(--atlas-bg);
  color: var(--atlas-ink);
  border: 1px solid #b0b8c3;
  border: 1px solid lab(74.4398% -1.38652 -6.56359);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 8px #0c121921, 0 2px 4px #0c12191a, inset 0 1px #ffffffdb;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .13), 0 2px 4px lab(5.22007% -.707574 -5.69676 / .1), inset 0 1px lab(100% 0 0 / .86);
}

.ant-node-card > .ant-card {
  background: none;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  display: grid;
}

.ant-node-card .ant-card-head {
  border-bottom-color: var(--atlas-border);
  min-height: 44px;
  padding: 0 12px;
}

.ant-node-card .ant-card-head-title {
  min-width: 0;
  padding: 8px 0;
}

.ant-node-card .ant-card-extra {
  min-width: max-content;
  padding: 8px 0;
}

.ant-node-card .ant-card-body {
  gap: 8px;
  min-height: 0;
  padding: 10px 12px 12px;
  display: grid;
}

.ant-node-card .ant-typography {
  margin: 0;
}

.ant-node-card h5.ant-typography {
  color: var(--atlas-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  overflow: hidden;
}

.ant-node-card .ant-typography-secondary {
  font-size: 11px;
  line-height: 1.2;
}

.ant-node-card .ant-typography.ant-typography-ellipsis {
  color: var(--atlas-muted);
  line-height: 1.4;
}

.node-portal {
  background: linear-gradient(180deg, #fcfdff, var(--atlas-bg));
  border-color: #8cbac3;
  border-color: lab(72.5576% -14.2898 -9.47411);
}

@supports (color: lab(0% 0 0)) {
  .node-portal {
    background: linear-gradient(180deg, lab(99.4162% -.166595 -.736153), var(--atlas-bg));
  }
}

.react-flow__node:has(.node-portal) {
  min-width: 280px;
  min-height: 150px;
}

.node-portal .ant-card-body {
  grid-template-rows: auto auto auto auto auto auto;
  align-content: start;
  overflow: hidden;
}

.node-portal-card.is-selected > .ant-card-body {
  grid-template-rows: auto minmax(0, 1fr) repeat(5, auto);
  align-content: stretch;
}

.node-portal.is-root {
  border-color: #cb9872;
  border-color: lab(67.2434% 16.0445 27.791);
}

.node-portal.is-nested {
  border-color: #51a0ad;
  border-color: lab(61.1772% -22.4508 -14.9579);
}

.node-portal-title {
  width: 100%;
}

.node-title-input, .node-description-input {
  border-color: var(--atlas-border);
  background: var(--atlas-bg);
  width: 100%;
}

.node-title-input {
  height: 28px;
  padding: 0 7px;
  font-size: 15px;
  font-weight: 850;
}

.node-description-input {
  resize: none;
  height: 100%;
  min-height: 80px;
  padding: 8px;
  line-height: 1.35;
}

.node-description-editor {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  min-height: 0;
  display: grid;
}

.node-text-style-toolbar {
  align-items: center;
  gap: 5px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.node-text-style-toolbar label {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 7px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
  overflow: hidden;
}

.node-text-style-toolbar input[type="color"] {
  border: 0;
  width: 38px;
  height: 38px;
  padding: 0;
}

.node-text-style-toolbar select {
  width: 62px;
  height: 30px;
}

.node-text-style-toolbar button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  width: 30px;
  height: 30px;
  color: var(--atlas-ink);
  border-radius: 7px;
  place-items: center;
  display: grid;
}

.node-text-style-toolbar button.is-active {
  border-color: var(--atlas-accent);
  color: var(--atlas-accent-strong);
  background: #d1f2f8;
  background: lab(93.3226% -10.0882 -6.68355);
}

.node-description-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 0;
  line-height: 1.35;
  overflow: visible;
}

.node-portal-cover {
  background: radial-gradient(circle at 20% 20%, #d5f1f6, #0000 34%), linear-gradient(135deg, #f1fafc, #fff7f1);
  background: radial-gradient(circle at 20% 20%, lab(93.2829% -8.6602 -5.73746), #0000 34%), linear-gradient(135deg, lab(97.7619% -2.90415 -1.9249), lab(97.6523% 2.14821 3.91554));
  border: 1px dashed #a2bdc2;
  border: 1px dashed lab(74.722% -8.64399 -5.72677);
  border-radius: 8px;
  place-items: center;
  min-height: 72px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.node-portal-card:focus {
  outline: none;
}

.node-portal-card:focus-visible {
  box-shadow: 0 0 0 3px #00b9d033;
  box-shadow: 0 0 0 3px lab(68.4893% -35.675 -24.0134 / .2);
}

.node-portal-cover.has-cover {
  background: var(--atlas-surface-strong);
  border-style: solid;
}

.node-portal-cover img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 72px;
}

.node-portal-symbol {
  background: var(--atlas-ink);
  width: 42px;
  height: 42px;
  color: var(--atlas-bg);
  border-radius: 10px;
  place-items: center;
  font-size: 20px;
  display: grid;
}

.node-cover-upload {
  min-height: 28px;
  color: var(--atlas-bg);
  cursor: pointer;
  background: #0c1219d6;
  background: lab(5.22007% -.707574 -5.69676 / .84);
  border: 1px solid #ffffffb3;
  border: 1px solid lab(100% 0 0 / .7);
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.node-cover-upload input {
  display: none;
}

.node-enter-button.ant-btn {
  justify-content: center;
}

.node-cover-hint {
  color: var(--atlas-muted);
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}

.node-attachment-strip {
  gap: 5px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.node-attachment-strip span {
  background: var(--atlas-surface-strong);
  min-width: 0;
  max-width: 110px;
  color: var(--atlas-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.node-ant-metrics, .node-ant-footer {
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.node-ant-metrics .ant-tag, .node-ant-footer .ant-tag, .node-ant-tags .ant-tag {
  margin-inline-end: 0;
}

.ant-checklist-preview {
  gap: 5px;
  display: grid;
}

.ant-checklist-preview .ant-btn {
  text-align: left;
  justify-content: flex-start;
  min-width: 0;
  overflow: hidden;
}

.root-node {
  padding: 14px;
}

.root-node.territory {
  min-width: 0;
}

.work-node {
  padding: 14px;
}

.root-node.ant-node-card, .work-node.ant-node-card {
  padding: 0;
}

.document-node {
  padding: 18px;
  overflow: auto;
}

.container-node {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  padding: 13px;
  display: grid;
}

.container-node header, .container-node footer {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.container-type {
  color: var(--atlas-muted);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.container-node h3 {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
}

.container-node p {
  min-height: 40px;
  color: var(--atlas-muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}

.container-node footer {
  justify-content: flex-start;
  min-height: 22px;
}

.container-node footer span {
  background: var(--atlas-surface-strong);
  color: var(--atlas-muted);
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}

.container-preview-image {
  -o-object-fit: contain;
  object-fit: contain;
  background: var(--atlas-surface-strong);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  min-height: 92px;
}

.container-file-preview {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  grid-template-rows: minmax(110px, 1fr) auto;
  min-height: 150px;
  margin: 0;
  display: grid;
  overflow: hidden;
}

.container-file-preview img {
  -o-object-fit: contain;
  object-fit: contain;
  background: linear-gradient(45deg, #f0f2f4 25%, transparent 25%),
    linear-gradient(-45deg, #f0f2f4 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0f2f4 75%),
    linear-gradient(-45deg, transparent 75%, #f0f2f4 75%),
    var(--atlas-bg);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  width: 100%;
  height: 100%;
  min-height: 110px;
}

@supports (color: lab(0% 0 0)) {
  .container-file-preview img {
    background: linear-gradient(45deg, lab(95.3523% -.330657 -1.47084) 25%, transparent 25%),
    linear-gradient(-45deg, lab(95.3523% -.330657 -1.47084) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, lab(95.3523% -.330657 -1.47084) 75%),
    linear-gradient(-45deg, transparent 75%, lab(95.3523% -.330657 -1.47084) 75%),
    var(--atlas-bg);
  }
}

.container-file-preview figcaption {
  border-top: 1px solid var(--atlas-border);
  min-width: 0;
  color: var(--atlas-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 750;
  overflow: hidden;
}

.container-node.is-editing {
  gap: 8px;
}

.container-node.is-editing footer {
  display: none;
}

.container-title-editor {
  display: block;
}

.container-title-editor input {
  height: 34px;
  font-weight: 750;
}

.container-inline-editor {
  min-width: 0;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.container-inline-editor .node-rich-editor {
  height: 100%;
  min-height: 0;
}

.container-inline-editor .node-editor-toolbar {
  max-height: 88px;
  overflow: auto;
}

.container-inline-editor .node-rich-editor-content {
  min-height: 0;
}

.container-inline-editor .node-calendar-panel, .container-inline-editor .node-participants-panel, .container-chat-editor, .container-files-editor, .container-link-editor, .container-description-editor {
  min-width: 0;
  min-height: 0;
}

.container-text {
  border-color: #d2b285;
  border-color: lab(74.515% 7.60457 27.309);
}

.container-chat {
  border-color: #51aebd;
  border-color: lab(65.8915% -25.1914 -16.8005);
}

.container-files, .container-video {
  border-color: #8bb98c;
  border-color: lab(70.8575% -22.3664 17.7557);
}

.container-participants {
  border-color: #ae96da;
  border-color: lab(66.2387% 19.4163 -31.5787);
}

.container-calendar {
  background: linear-gradient(180deg, #fffefd, var(--atlas-bg));
  border-color: #df9962;
  border-color: lab(69.4143% 22.8585 39.6211);
  gap: 14px;
  padding: 18px 20px;
}

@supports (color: lab(0% 0 0)) {
  .container-calendar {
    background: linear-gradient(180deg, lab(99.7717% .168949 .73756), var(--atlas-bg));
  }
}

.container-calendar .calendar-countdown-heading h3 {
  color: var(--atlas-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
  overflow: hidden;
}

.container-calendar .calendar-countdown-heading p {
  min-height: 0;
  color: var(--atlas-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  display: block;
  overflow: hidden;
}

.container-calendar .calendar-countdown-panel {
  min-height: 116px;
}

.container-calendar .calendar-countdown-grid strong {
  font-size: 48px;
}

.container-calendar .calendar-countdown-meta span {
  color: var(--atlas-ink);
  font-size: 13px;
}

.container-link, .container-youtube {
  border-color: #e6867a;
  border-color: lab(66.4159% 36.7365 23.3027);
}

.root-node header, .work-node header, .document-node header, .territory-footer {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.root-node h2, .root-node h3, .work-node h3, .document-node h2, .document-node h3 {
  text-wrap: balance;
  margin: 0;
}

.root-node h2 {
  font-size: 18px;
  line-height: 1.2;
}

.work-node h3 {
  font-size: 16px;
  line-height: 1.25;
}

.document-node h2 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.18;
}

.root-node p, .work-node p, .document-node p {
  color: var(--atlas-muted);
  margin: 10px 0 0;
  line-height: 1.45;
}

.node-kicker {
  color: var(--atlas-muted);
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  display: block;
}

.risk-pill, .status-chip, .priority-chip {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}

.risk-pill {
  background: var(--atlas-surface-strong);
  color: var(--atlas-ink);
}

.risk-attention .risk-pill {
  color: #513400;
  color: lab(24.4889% 11.2755 37.1773);
  background: #ffe7c5;
  background: lab(93.093% 6.10811 22.9437);
}

.risk-risk .risk-pill {
  color: #75220c;
  color: lab(27.0147% 36.0639 33.8784);
  background: #ffd0c3;
  background: lab(87.863% 19.8008 15.9558);
}

.risk-critical .risk-pill, .status-blocked .status-chip, .priority-critical .priority-chip {
  background: var(--atlas-critical);
  color: var(--atlas-bg);
}

.status-chip {
  background: var(--atlas-surface-strong);
  color: var(--atlas-muted);
}

.status-in_progress .status-chip, .priority-high .priority-chip {
  background: var(--atlas-accent);
  color: var(--atlas-bg);
}

.status-done .status-chip {
  background: var(--atlas-success);
  color: var(--atlas-bg);
}

.priority-chip {
  color: var(--atlas-primary-strong);
  background: #f9ece2;
  background: lab(94.1516% 3.62176 6.55386);
}

.progress-track {
  background: var(--atlas-surface-strong);
  border-radius: 999px;
  height: 8px;
  margin-top: 13px;
  position: relative;
  overflow: hidden;
}

.progress-track span {
  border-radius: inherit;
  background: var(--atlas-primary);
  height: 100%;
  display: block;
}

.node-metrics, .zone-grid, .signal-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  display: grid;
}

.node-metrics span, .zone-grid span, .signal-grid span, .territory-footer span {
  min-width: 0;
  color: var(--atlas-muted);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.territory-footer {
  border-top: 1px solid var(--atlas-border);
  margin-top: 12px;
  padding-top: 10px;
}

.tag-row {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  display: flex;
}

.tag-row span {
  background: var(--atlas-surface-strong);
  color: var(--atlas-muted);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 650;
}

.checklist-preview, .document-checklist {
  gap: 7px;
  margin-top: 12px;
  display: grid;
}

.checklist-preview button, .document-checklist button {
  background: var(--atlas-surface);
  min-height: 30px;
  color: var(--atlas-ink);
  text-align: left;
  border: 0;
  border-radius: 6px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  display: grid;
}

.checklist-preview button span, .document-checklist button span {
  border: 1px solid var(--atlas-border-strong);
  background: var(--atlas-bg);
  border-radius: 5px;
  place-items: center;
  width: 16px;
  height: 16px;
  display: grid;
}

.checklist-preview button .is-done, .document-checklist button .is-done {
  border-color: var(--atlas-success);
  background: var(--atlas-success);
  color: var(--atlas-bg);
}

.document-node section {
  border-top: 1px solid var(--atlas-border);
  margin-top: 16px;
  padding-top: 14px;
}

.document-copy {
  max-width: 68ch;
}

.signal-grid {
  margin-top: 0;
}

.signal-grid span {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  padding: 9px;
}

.link-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.link-source {
  color: var(--atlas-muted);
  margin: 0;
  font-size: 12px;
}

.edge-list {
  gap: 6px;
  display: grid;
}

.edge-list span, .edge-list small {
  background: var(--atlas-surface);
  color: var(--atlas-muted);
  border-radius: 6px;
  padding: 7px 8px;
  font-size: 12px;
}

.empty-state {
  align-content: center;
  justify-items: start;
  gap: 8px;
  min-height: 100%;
  display: grid;
}

.empty-state h2 {
  margin: 0;
  font-size: 18px;
}

.empty-state p {
  max-width: 28ch;
}

.container-description-editor span, .container-link-editor span {
  color: var(--atlas-muted);
  font-size: 12px;
  font-weight: 800;
}

.container-chat-editor, .container-files-editor, .container-link-editor, .container-description-editor {
  gap: 10px;
  display: grid;
  overflow: auto;
}

.container-link-editor {
  height: 100%;
}

.container-link-editor label {
  gap: 5px;
  min-height: 0;
  display: grid;
}

.container-youtube-editor {
  grid-template-rows: auto minmax(160px, 1fr) auto;
  overflow: hidden;
}

.container-youtube-editor label:last-child textarea {
  resize: none;
  min-height: 62px;
  max-height: 86px;
}

.container-chat-editor {
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.container-chat-list, .container-attachment-list {
  align-content: start;
  gap: 8px;
  display: grid;
  overflow: auto;
}

.container-chat-list article, .container-attachment-list article {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  border-radius: 8px;
  padding: 9px;
}

.container-chat-list p {
  margin: 4px 0 0;
  line-height: 1.4;
}

.container-chat-input {
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  display: grid;
}

.container-chat-input button, .container-attachment-list button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-ink);
  color: var(--atlas-bg);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.container-file-picker {
  border: 1px dashed var(--atlas-border-strong);
  background: var(--atlas-surface);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  font-weight: 800;
  display: inline-flex;
}

.container-file-picker input {
  display: none;
}

.container-open-link {
  border: 1px solid var(--atlas-border);
  min-width: 0;
  color: var(--atlas-accent-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  display: inline-flex;
  overflow: hidden;
}

.container-youtube-frame {
  background: var(--atlas-surface-strong);
  border: 0;
  border-radius: 8px;
  width: 100%;
  min-height: 180px;
}

.container-youtube-frame.is-editor {
  height: 100%;
  min-height: 0;
}

.container-youtube-frame.is-canvas, .container-media-preview {
  background: var(--atlas-surface-strong);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
}

.container-media-preview {
  place-items: center;
  display: grid;
  position: relative;
}

.container-media-preview img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.container-media-preview:after {
  content: "";
  pointer-events: none;
  background: linear-gradient(#0c12190f, #0c121957);
  background: linear-gradient(lab(5.22007% -.707574 -5.69676 / .06), lab(5.22007% -.707574 -5.69676 / .34));
  position: absolute;
  inset: 0;
}

.media-play-button {
  z-index: 2;
  width: 58px;
  height: 58px;
  color: var(--atlas-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffff38;
  background: lab(100% 0 0 / .22);
  border: 1px solid #ffffff8a;
  border: 1px solid lab(100% 0 0 / .54);
  border-radius: 999px;
  place-items: center;
  display: grid;
  position: absolute;
  box-shadow: 0 8px 8px #0c121938;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .22);
}

.media-play-button:hover {
  background: #ffffff52;
  background: lab(100% 0 0 / .32);
}

.nest-confirm-panel {
  z-index: 18;
  background: var(--atlas-bg);
  pointer-events: auto;
  border: 1px solid #d4c1a8;
  border: 1px solid lab(79.1643% 3.9086 15.1416);
  border-radius: 8px;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  width: min(560px, 100vw - 380px);
  min-width: 360px;
  padding: 10px;
  display: grid;
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 8px #0c121929;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .16);
}

.nest-confirm-panel div {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.nest-confirm-panel strong {
  font-size: 13px;
  line-height: 1.2;
}

.nest-confirm-panel span {
  color: var(--atlas-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.nest-confirm-action {
  border: 1px solid var(--atlas-primary);
  background: var(--atlas-primary);
  min-height: 34px;
  color: var(--atlas-bg);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  font-weight: 750;
  display: inline-flex;
}

.container-attachment-list article {
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  display: grid;
}

.container-attachment-list img, .container-attachment-list article > svg {
  -o-object-fit: cover;
  object-fit: cover;
  background: var(--atlas-bg);
  border-radius: 7px;
  width: 44px;
  height: 44px;
}

.container-attachment-list strong, .container-attachment-list small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.container-attachment-list small {
  color: var(--atlas-muted);
  font-size: 12px;
}

.delete-confirm-overlay {
  z-index: var(--atlas-z-modal);
  background: #0c121947;
  background: lab(5.22007% -.707574 -5.69676 / .28);
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.delete-confirm-dialog {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 10px;
  gap: 14px;
  width: min(460px, 100vw - 32px);
  padding: 14px;
  display: grid;
  box-shadow: 0 8px 8px #0c121929;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .16);
}

.delete-confirm-dialog header {
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 10px;
  display: grid;
}

.delete-confirm-dialog h2, .delete-confirm-dialog p {
  margin: 0;
}

.delete-confirm-dialog h2 {
  font-size: 17px;
  line-height: 1.2;
}

.delete-confirm-dialog p, .delete-confirm-dialog small, .delete-confirm-target span {
  color: var(--atlas-muted);
  font-size: 12px;
  line-height: 1.45;
}

.delete-confirm-mark {
  width: 34px;
  height: 34px;
  color: var(--atlas-critical);
  background: #ffd0c3;
  background: lab(87.863% 19.8008 15.9558);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.delete-confirm-target {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-surface);
  border-radius: 8px;
  gap: 3px;
  padding: 10px;
  display: grid;
}

.delete-confirm-target strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.delete-confirm-dialog footer {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.delete-confirm-dialog footer > div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

@media (max-width: 1180px) {
  .atlas-shell {
    grid-template-columns: minmax(220px, var(--sidebar-width, 300px)) 6px minmax(0, 1fr);
  }

  .sidebar {
    padding: 12px;
  }

  .search-command-panel, .canvas-command-panel .search-panel {
    display: none;
  }
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .atlas-shell {
    grid-template-rows: auto 70vh;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }

  .sidebar-resizer {
    display: none;
  }

  .sidebar {
    border: 0;
    border-bottom: 1px solid var(--atlas-border);
    max-height: none;
  }

  .canvas-command-panel, .canvas-side-tools {
    flex-wrap: wrap;
    max-width: calc(100vw - 28px);
  }

  .users-panel {
    width: auto;
    max-height: calc(100vh - 24px);
    position: fixed;
    inset: 12px;
  }

  .user-create-form {
    grid-template-columns: 1fr;
  }

  .user-create-form label:first-child, .user-create-form label:nth-child(2), .user-create-form label:nth-child(3), .user-create-form label:nth-child(4), .user-create-form .ant-btn {
    grid-column: 1;
  }

  .node-detail-header, .node-detail-body {
    grid-template-columns: 1fr;
    display: grid;
  }

  .node-detail-actions {
    justify-content: start;
  }

  .node-detail-title-block input {
    font-size: 24px;
  }

  .node-detail-body {
    min-height: 0;
  }

  .node-detail-main {
    padding: 14px;
  }
}

.board-tabs {
  z-index: 7;
  max-width: min(720px, calc(100vw - var(--sidebar-width) - 260px));
  border: 1px solid var(--atlas-border);
  background: #fffffff0;
  background: lab(100% 0 0 / .94);
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 4px;
  display: flex;
  position: absolute;
  top: 82px;
  left: 16px;
  overflow-x: auto;
  box-shadow: 0 2px 8px #0c12191a;
  box-shadow: 0 2px 8px lab(5.22007% -.707574 -5.69676 / .1);
}

.board-tab {
  min-width: 0;
  height: 30px;
  color: var(--atlas-muted);
  white-space: nowrap;
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 10px;
  font-size: 12px;
  font-weight: 750;
  display: inline-flex;
}

.board-tab.is-active {
  color: var(--atlas-ink);
  background: #d5f5fc;
  background: lab(94.4826% -10.0893 -6.68429);
  border-color: #8cbac3;
  border-color: lab(72.5576% -14.2898 -9.47411);
}

.board-tab-close {
  width: 18px;
  height: 18px;
  color: var(--atlas-muted);
  border-radius: 999px;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  display: grid;
}

.board-tab-close:hover {
  color: var(--atlas-ink);
  background: #d6dfea;
  background: lab(88.3607% -1.40312 -6.57215);
}

.live-toolbar {
  z-index: 14;
  align-items: center;
  gap: 8px;
  display: flex;
  position: absolute;
  top: 64px;
  right: 16px;
}

.live-follow-request, .live-events-panel {
  z-index: 16;
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  border-radius: 8px;
  position: absolute;
  right: 16px;
  box-shadow: 0 8px 8px #0c121921, 0 2px 4px #0c12191a;
  box-shadow: 0 8px 8px lab(5.22007% -.707574 -5.69676 / .13), 0 2px 4px lab(5.22007% -.707574 -5.69676 / .1);
}

.live-follow-request {
  width: min(560px, calc(100vw - var(--sidebar-width) - 40px));
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: grid;
  top: 114px;
}

.live-follow-request div, .live-events-panel header {
  gap: 3px;
  display: grid;
}

.live-follow-request strong, .live-events-panel strong {
  color: var(--atlas-ink);
  font-size: 13px;
}

.live-follow-request span, .live-events-panel header span, .live-event-item time, .live-event-item p {
  color: var(--atlas-muted);
  font-size: 12px;
}

.live-events-panel {
  width: 360px;
  max-height: min(620px, 100vh - 92px);
  top: 114px;
  overflow: hidden;
}

.live-events-panel header {
  border-bottom: 1px solid var(--atlas-border);
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px;
}

.live-events-list {
  gap: 8px;
  max-height: 540px;
  padding: 10px;
  display: grid;
  overflow: auto;
}

.live-event-item {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-panel);
  border-radius: 8px;
  gap: 7px;
  padding: 10px;
  display: grid;
}

.live-event-item div {
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  display: flex;
}

.live-event-item p, .live-events-empty {
  margin: 0;
}

.live-event-item button {
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  height: 26px;
  color: var(--atlas-ink);
  border-radius: 7px;
  justify-self: start;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 750;
}

.live-events-empty {
  color: var(--atlas-muted);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* [project]/node_modules/@xyflow/react/dist/style.css [app-client] (css) */
.react-flow {
  --xy-edge-stroke-default: #b1b1b7;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #555;
  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;
  --xy-attribution-background-color-default: #ffffff80;
  --xy-minimap-background-color-default: #fff;
  --xy-minimap-mask-background-color-default: #f0f0f099;
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #e2e2e2;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;
  --xy-background-color-default: transparent;
  --xy-background-pattern-dots-color-default: #91919a;
  --xy-background-pattern-lines-color-default: #eee;
  --xy-background-pattern-cross-color-default: #e2e2e2;
  background-color: var(--xy-background-color, var(--xy-background-color-default));
  --xy-node-color-default: inherit;
  --xy-node-border-default: 1px solid #1a192b;
  --xy-node-background-color-default: #fff;
  --xy-node-group-background-color-default: #f0f0f040;
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px #00000014;
  --xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;
  --xy-node-border-radius-default: 3px;
  --xy-handle-background-color-default: #1a192b;
  --xy-handle-border-color-default: #fff;
  --xy-selection-background-color-default: #0059dc14;
  --xy-selection-border-default: 1px dotted #0059dccc;
  --xy-controls-button-background-color-default: #fefefe;
  --xy-controls-button-background-color-hover-default: #f4f4f4;
  --xy-controls-button-color-default: inherit;
  --xy-controls-button-color-hover-default: inherit;
  --xy-controls-button-border-color-default: #eee;
  --xy-controls-box-shadow-default: 0 0 2px 1px #00000014;
  --xy-edge-label-background-color-default: #fff;
  --xy-edge-label-color-default: inherit;
  --xy-resize-background-color-default: #3367d9;
  direction: ltr;
}

.react-flow.dark {
  --xy-edge-stroke-default: #3e3e3e;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #727272;
  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;
  --xy-attribution-background-color-default: #96969640;
  --xy-minimap-background-color-default: #141414;
  --xy-minimap-mask-background-color-default: #3c3c3c99;
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #2b2b2b;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;
  --xy-background-color-default: #141414;
  --xy-background-pattern-dots-color-default: #777;
  --xy-background-pattern-lines-color-default: #777;
  --xy-background-pattern-cross-color-default: #777;
  --xy-node-color-default: #f8f8f8;
  --xy-node-border-default: 1px solid #3c3c3c;
  --xy-node-background-color-default: #1e1e1e;
  --xy-node-group-background-color-default: #f0f0f040;
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px #ffffff14;
  --xy-node-boxshadow-selected-default: 0 0 0 .5px #999;
  --xy-handle-background-color-default: #bebebe;
  --xy-handle-border-color-default: #1e1e1e;
  --xy-selection-background-color-default: #c8c8dc14;
  --xy-selection-border-default: 1px dotted #c8c8dccc;
  --xy-controls-button-background-color-default: #2b2b2b;
  --xy-controls-button-background-color-hover-default: #3e3e3e;
  --xy-controls-button-color-default: #f8f8f8;
  --xy-controls-button-color-hover-default: #fff;
  --xy-controls-button-border-color-default: #5b5b5b;
  --xy-controls-box-shadow-default: 0 0 2px 1px #00000014;
  --xy-edge-label-background-color-default: #141414;
  --xy-edge-label-color-default: #f8f8f8;
}

.react-flow__background {
  background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
  pointer-events: none;
  z-index: -1;
}

.react-flow__container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.react-flow__pane {
  z-index: 1;
  touch-action: none;
}

.react-flow__pane.draggable {
  cursor: grab;
}

.react-flow__pane.dragging {
  cursor: grabbing;
}

.react-flow__pane.selection {
  cursor: pointer;
}

.react-flow__viewport {
  transform-origin: 0 0;
  z-index: 2;
  pointer-events: none;
}

.react-flow__renderer {
  z-index: 4;
}

.react-flow__selection {
  z-index: 6;
}

.react-flow__nodesselection-rect:focus, .react-flow__nodesselection-rect:focus-visible {
  outline: none;
}

.react-flow__edge-path {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
  stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
  fill: none;
}

.react-flow__connection-path {
  stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
  stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
  fill: none;
}

.react-flow .react-flow__edges {
  position: absolute;
}

.react-flow .react-flow__edges svg {
  pointer-events: none;
  position: absolute;
  overflow: visible;
}

.react-flow__edge {
  pointer-events: visibleStroke;
}

.react-flow__edge.selectable {
  cursor: pointer;
}

.react-flow__edge.animated path {
  stroke-dasharray: 5;
  animation: .5s linear infinite dashdraw;
}

.react-flow__edge.animated path.react-flow__edge-interaction {
  stroke-dasharray: none;
  animation: none;
}

.react-flow__edge.inactive {
  pointer-events: none;
}

.react-flow__edge.selected, .react-flow__edge:focus, .react-flow__edge:focus-visible {
  outline: none;
}

.react-flow__edge.selected .react-flow__edge-path, .react-flow__edge.selectable:focus .react-flow__edge-path, .react-flow__edge.selectable:focus-visible .react-flow__edge-path {
  stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
}

.react-flow__edge-textwrapper {
  pointer-events: all;
}

.react-flow__edge .react-flow__edge-text {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.react-flow__arrowhead polyline {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}

.react-flow__arrowhead polyline.arrowclosed {
  fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}

.react-flow__connection {
  pointer-events: none;
}

.react-flow__connection .animated {
  stroke-dasharray: 5;
  animation: .5s linear infinite dashdraw;
}

svg.react-flow__connectionline {
  z-index: 1001;
  position: absolute;
  overflow: visible;
}

.react-flow__nodes {
  pointer-events: none;
  transform-origin: 0 0;
}

.react-flow__node {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: all;
  transform-origin: 0 0;
  box-sizing: border-box;
  cursor: default;
  position: absolute;
}

.react-flow__node.selectable {
  cursor: pointer;
}

.react-flow__node.draggable {
  cursor: grab;
  pointer-events: all;
}

.react-flow__node.draggable.dragging {
  cursor: grabbing;
}

.react-flow__nodesselection {
  z-index: 3;
  transform-origin: 0 0;
  pointer-events: none;
}

.react-flow__nodesselection-rect {
  pointer-events: all;
  cursor: grab;
  position: absolute;
}

.react-flow__handle {
  pointer-events: none;
  background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
  border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
  border-radius: 100%;
  width: 6px;
  min-width: 5px;
  height: 6px;
  min-height: 5px;
  position: absolute;
}

.react-flow__handle.connectingfrom {
  pointer-events: all;
}

.react-flow__handle.connectionindicator {
  pointer-events: all;
  cursor: crosshair;
}

.react-flow__handle-bottom {
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.react-flow__handle-top {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.react-flow__handle-left {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.react-flow__handle-right {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}

.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}

.react-flow__pane.selection .react-flow__panel {
  pointer-events: none;
}

.react-flow__panel {
  z-index: 5;
  margin: 15px;
  position: absolute;
}

.react-flow__panel.top {
  top: 0;
}

.react-flow__panel.bottom {
  bottom: 0;
}

.react-flow__panel.top.center, .react-flow__panel.bottom.center {
  left: 50%;
  transform: translateX(-15px)translateX(-50%);
}

.react-flow__panel.left {
  left: 0;
}

.react-flow__panel.right {
  right: 0;
}

.react-flow__panel.left.center, .react-flow__panel.right.center {
  top: 50%;
  transform: translateY(-15px)translateY(-50%);
}

.react-flow__attribution {
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
  margin: 0;
  padding: 2px 3px;
  font-size: 10px;
}

.react-flow__attribution a {
  color: #999;
  text-decoration: none;
}

@keyframes dashdraw {
  from {
    stroke-dashoffset: 10px;
  }
}

.react-flow__edgelabel-renderer {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.react-flow__viewport-portal {
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.react-flow__minimap {
  background: var(--xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)));
}

.react-flow__minimap-svg {
  display: block;
}

.react-flow__minimap-mask {
  fill: var(--xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)));
  stroke: var(--xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)));
  stroke-width: var(--xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)));
}

.react-flow__minimap-node {
  fill: var(--xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)));
  stroke: var(--xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)));
  stroke-width: var(--xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)));
}

.react-flow__background-pattern.dots {
  fill: var(--xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)));
}

.react-flow__background-pattern.lines {
  stroke: var(--xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)));
}

.react-flow__background-pattern.cross {
  stroke: var(--xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)));
}

.react-flow__controls {
  box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
  flex-direction: column;
  display: flex;
}

.react-flow__controls.horizontal {
  flex-direction: row;
}

.react-flow__controls-button {
  background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
  border: none;
  border-bottom: 1px solid
      var(--xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)));
  width: 26px;
  height: 26px;
  color: var(--xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)));
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  padding: 4px;
  display: flex;
}

.react-flow__controls-button svg {
  fill: currentColor;
  width: 100%;
  max-width: 12px;
  max-height: 12px;
}

.react-flow__edge.updating .react-flow__edge-path {
  stroke: #777;
}

.react-flow__edge-text {
  font-size: 10px;
}

.react-flow__node.selectable:focus, .react-flow__node.selectable:focus-visible {
  outline: none;
}

.react-flow__node-input, .react-flow__node-default, .react-flow__node-output, .react-flow__node-group {
  border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
  width: 150px;
  color: var(--xy-node-color, var(--xy-node-color-default));
  text-align: center;
  border: var(--xy-node-border, var(--xy-node-border-default));
  background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
  padding: 10px;
  font-size: 12px;
}

.react-flow__node-input.selectable:hover, .react-flow__node-default.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
  box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default));
}

.react-flow__node-input.selectable.selected, .react-flow__node-input.selectable:focus, .react-flow__node-input.selectable:focus-visible, .react-flow__node-default.selectable.selected, .react-flow__node-default.selectable:focus, .react-flow__node-default.selectable:focus-visible, .react-flow__node-output.selectable.selected, .react-flow__node-output.selectable:focus, .react-flow__node-output.selectable:focus-visible, .react-flow__node-group.selectable.selected, .react-flow__node-group.selectable:focus, .react-flow__node-group.selectable:focus-visible {
  box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
}

.react-flow__node-group {
  background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default));
}

.react-flow__nodesselection-rect, .react-flow__selection {
  background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
  border: var(--xy-selection-border, var(--xy-selection-border-default));
}

.react-flow__nodesselection-rect:focus, .react-flow__nodesselection-rect:focus-visible, .react-flow__selection:focus, .react-flow__selection:focus-visible {
  outline: none;
}

.react-flow__controls-button:hover {
  background: var(--xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)));
  color: var(--xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)));
}

.react-flow__controls-button:disabled {
  pointer-events: none;
}

.react-flow__controls-button:disabled svg {
  fill-opacity: .4;
}

.react-flow__controls-button:last-child {
  border-bottom: none;
}

.react-flow__controls.horizontal .react-flow__controls-button {
  border-bottom: none;
  border-right: 1px solid
      var(--xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)));
}

.react-flow__controls.horizontal .react-flow__controls-button:last-child {
  border-right: none;
}

.react-flow__resize-control {
  position: absolute;
}

.react-flow__resize-control.left, .react-flow__resize-control.right {
  cursor: ew-resize;
}

.react-flow__resize-control.top, .react-flow__resize-control.bottom {
  cursor: ns-resize;
}

.react-flow__resize-control.top.left, .react-flow__resize-control.bottom.right {
  cursor: nwse-resize;
}

.react-flow__resize-control.bottom.left, .react-flow__resize-control.top.right {
  cursor: nesw-resize;
}

.react-flow__resize-control.handle {
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border: 1px solid #fff;
  border-radius: 1px;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
}

.react-flow__resize-control.handle.left {
  top: 50%;
  left: 0;
}

.react-flow__resize-control.handle.right {
  top: 50%;
  left: 100%;
}

.react-flow__resize-control.handle.top {
  top: 0;
  left: 50%;
}

.react-flow__resize-control.handle.bottom {
  top: 100%;
  left: 50%;
}

.react-flow__resize-control.handle.top.left, .react-flow__resize-control.handle.bottom.left {
  left: 0;
}

.react-flow__resize-control.handle.top.right, .react-flow__resize-control.handle.bottom.right {
  left: 100%;
}

.react-flow__resize-control.line {
  border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border-style: solid;
  border-width: 0;
}

.react-flow__resize-control.line.left, .react-flow__resize-control.line.right {
  width: 1px;
  height: 100%;
  top: 0;
  transform: translate(-50%);
}

.react-flow__resize-control.line.left {
  border-left-width: 1px;
  left: 0;
}

.react-flow__resize-control.line.right {
  border-right-width: 1px;
  left: 100%;
}

.react-flow__resize-control.line.top, .react-flow__resize-control.line.bottom {
  width: 100%;
  height: 1px;
  left: 0;
  transform: translate(0, -50%);
}

.react-flow__resize-control.line.top {
  border-top-width: 1px;
  top: 0;
}

.react-flow__resize-control.line.bottom {
  border-bottom-width: 1px;
  top: 100%;
}

.react-flow__edge-textbg {
  fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
}

.react-flow__edge-text {
  fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
}

/*# sourceMappingURL=_0dl0a2j._.css.map*/