:root {
  color-scheme: dark;
  --bg: #070914;
  --wallpaper-image: url("./img/bg_navmap.jpg");
  --wallpaper-color: #000000;
  --wallpaper-opacity: 0;
  --wallpaper-blur: 0px;
  --icon-color-picker-size: 32px;
  --panel: #101327;
  --panel-soft: #171b35;
  --line: rgba(255, 255, 255, .11);
  --table-row-divider: 1px solid rgba(255,255,255,.26);
  --text: #f8f9ff;
  --muted: #969cb8;
  --accent: #8b5cf6;
  --accent-rgb: 139, 92, 246;
  --root: #8b5cf6;
  --module: #38bdf8;
  --submodule: #7dd3fc;
  --function: #fbbf24;
  --integration: #f472b6;
  --task: #fb923c;
  --catalog: #22c55e;
  --component: #06b6d4;
  --database: #60a5fa;
  --finalized: #34d399;
  --switch-active: #38c0f0;
  --ui-switch-width: 44px;
  --ui-switch-height: 24px;
  --ui-switch-thumb-size: 18px;
  --ui-switch-thumb-inset: 2px;
  --ui-switch-thumb-travel: 20px;
  --ui-switch-border: rgba(255,255,255,.28);
  --ui-switch-background: rgba(0,0,0,.54);
  --ui-switch-partial-background: rgba(24,157,255,.32);
  --form-control-border-width: 2px;
  --form-control-inline-inset: 13px;
  --form-label-inline-inset: 14px;
  --form-label-control-gap: 4px;
  --form-select-arrow-inset: 14px;
  --form-pill-radius: 999px;
  --form-unit-min: 194px;
  --form-unit-max: 266px;
  --form-layout-column-gap: 16px;
  --form-layout-row-gap: 18px;
  --form-control-height: 40px;
  --account-card-padding-block: 44px;
  --account-card-submit-gap: 30px;
  --profile-editor-panel-min-height: 204px;
  --form-layout-width-1x: var(--form-unit-max);
  --form-layout-width-2x: calc(var(--form-layout-width-1x) + var(--form-layout-column-gap) + var(--form-unit-max));
  --form-layout-width-3x: calc(var(--form-layout-width-2x) + var(--form-layout-column-gap) + var(--form-unit-max));
  --form-layout-width-4x: calc(var(--form-layout-width-3x) + var(--form-layout-column-gap) + var(--form-unit-max));
  --form-layout-width-5x: calc(var(--form-layout-width-4x) + var(--form-layout-column-gap) + var(--form-unit-max));
  --form-layout-width-6x: calc(var(--form-layout-width-5x) + var(--form-layout-column-gap) + var(--form-unit-max));
  --section-heading-support-gap: 4px;
  --close-control-size: 38px;
  --close-icon-size: 16px;
  --close-control-color: #fff;
  --close-control-hover-color: rgba(255,255,255,.72);
  --sidebar-action-height: 48px;
  --sidebar-action-padding-inline: 15px;
  --sidebar-action-radius: 999px;
  --sidebar-action-font-size: 12px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .32);
  --panel-acrylic-border: 1px solid rgba(255,255,255,.13);
  --surface-opacity: 0;
  --surface-floor: 0;
  --surface-darkening: calc(var(--surface-floor) + (0.9 - var(--surface-floor)) * var(--surface-opacity));
  --surface-shade: linear-gradient(rgba(8,8,12,var(--surface-darkening)), rgba(8,8,12,var(--surface-darkening)));
  --panel-acrylic-base: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.035)), rgba(255,255,255,.035);
  --panel-acrylic-background: var(--surface-shade), var(--panel-acrylic-base);
  --sidebar-open-acrylic-background: var(--surface-shade), linear-gradient(90deg, rgba(255,255,255,.13), rgba(255,255,255,.07)), rgba(255,255,255,.08);
  --panel-acrylic-drop-shadow: 10px 12px 22px rgba(0,0,0,.34);
  --panel-acrylic-shadow: var(--panel-acrylic-drop-shadow), 0 14px 20px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(255,255,255,.06);
  --panel-acrylic-filter: blur(18px);
  font-family: "Open Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Bright wallpapers use dark frosted materials; personal opacity still ranges to 90%. */
:root[data-wallpaper-tone="light"] { --surface-floor: .66; }

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { position: relative; min-width: 320px; min-height: 100%; margin: 0; color: var(--text); background: transparent; isolation: isolate; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.ui-switch { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; cursor: pointer; }
.ui-switch > input { position: absolute; opacity: 0; pointer-events: none; }
.ui-switch__track { position: relative; display: block; flex: 0 0 auto; width: var(--ui-switch-width); height: var(--ui-switch-height); border: 1px solid var(--ui-switch-border); border-radius: 999px; background: var(--ui-switch-background); transition: border-color .18s, background .18s; }
.ui-switch__track::after { content: ""; position: absolute; top: var(--ui-switch-thumb-inset); left: var(--ui-switch-thumb-inset); width: var(--ui-switch-thumb-size); height: var(--ui-switch-thumb-size); border-radius: 50%; background: rgba(255,255,255,.76); transition: transform .18s, width .18s, left .18s, background .18s; }
.ui-switch > input:checked + .ui-switch__track { border-color: #189dff; background: #189dff; }
.ui-switch > input:checked + .ui-switch__track::after { background: #fff; transform: translateX(var(--ui-switch-thumb-travel)); }
.ui-switch > input:indeterminate + .ui-switch__track { border-color: #189dff; background: var(--ui-switch-partial-background); }
.ui-switch > input:indeterminate + .ui-switch__track::after { left: 10px; width: 22px; border-radius: 999px; background: #fff; transform: none; }
.ui-switch > input:focus-visible + .ui-switch__track { outline: 2px solid rgba(255,255,255,.62); outline-offset: 3px; }
.ui-switch > input:disabled + .ui-switch__track { opacity: .42; cursor: default; }
.fa-icon { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; background: currentColor; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.fa-xmark { -webkit-mask-image: url("./assets/fa-xmark.svg"); mask-image: url("./assets/fa-xmark.svg"); }
.fa-trash-can { -webkit-mask-image: url("./assets/fa-trash-can.svg"); mask-image: url("./assets/fa-trash-can.svg"); }
.fa-rotate-left { -webkit-mask-image: url("./assets/fa-rotate-left.svg"); mask-image: url("./assets/fa-rotate-left.svg"); }
.fa-pen { -webkit-mask-image: url("./assets/fa-pen.svg"); mask-image: url("./assets/fa-pen.svg"); }
.fa-plus { -webkit-mask-image: url("./assets/fa-plus.svg"); mask-image: url("./assets/fa-plus.svg"); }
.fa-chevron-down { -webkit-mask-image: url("./assets/fa-chevron-down.svg"); mask-image: url("./assets/fa-chevron-down.svg"); }
.fa-magnifying-glass { -webkit-mask-image: url("./assets/fa-magnifying-glass.svg"); mask-image: url("./assets/fa-magnifying-glass.svg"); }
.fa-layer-group { -webkit-mask-image: url("./assets/fa-layer-group.svg"); mask-image: url("./assets/fa-layer-group.svg"); }
.fa-video { -webkit-mask-image: url("./assets/fa-video.svg"); mask-image: url("./assets/fa-video.svg"); }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* The page and both appearance previews share the same background layers. */
body::before, .card-opacity-preview::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--wallpaper-color);
  opacity: var(--wallpaper-opacity);
}

body::after, .card-opacity-preview::after {
  content: "";
  position: fixed;
  /* Extend the image by the blur radius to avoid transparent screen edges. */
  inset: calc(var(--wallpaper-blur) * -3);
  z-index: -2;
  pointer-events: none;
  background-image: var(--wallpaper-image);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(var(--wallpaper-blur));
}

.app-shell {
  --sidebar-width: 350px;
  --workspace-shift: calc(var(--sidebar-width) + 36px);
  --sidebar-rail-left: 14px;
  --sidebar-rail-width: 54px;
  --settings-workspace-edge-gap: 28px;
  --settings-panel-top: 18px;
  --settings-workspace-left: var(--workspace-shift);
  --sidebar-control-size: var(--close-control-size);
  --sidebar-radius: 42px;
  --sidebar-rail-radius: 18px;
  position: relative;
  display: block;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.app-shell:is(.is-settings-mode, .is-versions-mode, .is-progress-mode, .is-billing-mode, .is-account-mode):not(.is-sidebar-open) {
  --settings-workspace-left: calc(var(--sidebar-rail-left) + var(--sidebar-rail-width) + var(--settings-workspace-edge-gap));
}

.brand-block { display: flex; align-items: center; gap: 7px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
  cursor: pointer;
}
.brand-mark img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.brand-mark:focus-visible, .sidebar-rail__mark:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: -2px; }
.eyebrow { margin: 0; color: #b8bdd2; font-size: 11px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.project-heading { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.project-heading__add { display: grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 4px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.75); cursor: pointer; appearance: none; }
.project-heading__add:hover, .project-heading__add:focus-visible { outline: 0; background: #000; }
.project-heading__add .fa-icon { width: 8px; height: 8px; }
.project-switcher-trigger { display: block; padding: 0; border: 0; border-bottom: 1px solid transparent; color: inherit; background: transparent; cursor: pointer; appearance: none; transition: color .18s, border-color .18s; }
.project-switcher-trigger:hover, .project-switcher-trigger:focus-visible { outline: 0; color: #fff; border-bottom-color: rgba(255,255,255,.72); }
.project-title-trigger { display: block; padding: 0; border: 0; border-bottom: 1px solid transparent; color: inherit; background: transparent; font: inherit; line-height: inherit; text-align: left; cursor: pointer; appearance: none; transition: color .18s, border-color .18s; }
.project-title-trigger:hover, .project-title-trigger:focus-visible { outline: 0; color: #fff; border-bottom-color: rgba(255,255,255,.72); }
.workspace-kicker { margin: 0; color: var(--muted); font-size: 11px; font-weight: 750; line-height: 1; text-transform: uppercase; }
.brand-block h1 { margin: 0; font-size: 23px; font-weight: 400; line-height: 1.08; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.sidebar {
  position: fixed; top: 18px; bottom: 18px; left: 18px; z-index: 30;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  width: var(--sidebar-width); overflow: hidden; padding: 0;
  border: var(--panel-acrylic-border); border-radius: var(--sidebar-radius);
  background: var(--panel-acrylic-background);
  box-shadow: var(--panel-acrylic-shadow);
  -webkit-backdrop-filter: var(--panel-acrylic-filter);
  backdrop-filter: var(--panel-acrylic-filter); transform: translateX(calc(-100% - 30px)); visibility: hidden;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), visibility .28s, border-color .18s, background .18s;
}
.sidebar.is-open { border-color: rgba(255,255,255,.20); background: var(--sidebar-open-acrylic-background); transform: translateX(0); visibility: visible; }
.sidebar-header { position: relative; z-index: 2; padding: 24px 22px 23px; border-bottom: 1px solid var(--line); background: transparent; }
.sidebar-scroll { min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 23px 22px 36px; overscroll-behavior: contain; }
.sidebar-close { position: absolute; top: 24px; right: 22px; display: grid; place-items: center; width: var(--close-control-size); height: var(--close-control-size); padding: 0; border: 0; border-radius: 0; color: var(--close-control-color); background: transparent; box-shadow: none; cursor: pointer; appearance: none; transition: color .18s, opacity .18s; }
.sidebar-close:hover, .sidebar-close:focus-visible { outline: 0; color: var(--close-control-hover-color); background: transparent; }
.sidebar-close .fa-icon { width: var(--close-icon-size); height: var(--close-icon-size); }
.sidebar-rail {
  position: fixed;
  top: 18px;
  bottom: 18px;
  left: var(--sidebar-rail-left);
  z-index: 29;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: var(--sidebar-control-size);
  align-content: start;
  justify-items: center;
  row-gap: 18px;
  width: var(--sidebar-rail-width);
  padding: 24px 0 9px;
  border: var(--panel-acrylic-border);
  border-radius: var(--sidebar-rail-radius);
  color: #fff;
  background: var(--panel-acrylic-background);
  box-shadow: var(--panel-acrylic-shadow);
  -webkit-backdrop-filter: var(--panel-acrylic-filter);
  backdrop-filter: var(--panel-acrylic-filter);
  transition: opacity .18s, transform .22s, border-color .18s, background .18s;
}
.sidebar-rail:hover { border-color: rgba(255,255,255,.26); background: var(--surface-shade), linear-gradient(90deg, rgba(255,255,255,.19), rgba(255,255,255,.10)), rgba(255,255,255,.12); }
.sidebar-rail.is-hidden { opacity: 0; transform: translateX(-14px); pointer-events: none; }
.sidebar-rail__mark {
  display: grid;
  place-items: center;
  width: var(--sidebar-control-size);
  height: var(--sidebar-control-size);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .9);
  box-shadow: 0 9px 20px rgba(0,0,0,.24);
  cursor: pointer;
}
.sidebar-rail__mark img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 50%; }
.sidebar-rail__action {
  display: grid;
  place-items: center;
  width: var(--sidebar-control-size);
  height: var(--sidebar-control-size);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--surface-shade), rgba(0,0,0,.75);
  box-shadow: none;
  cursor: pointer;
  appearance: none;
}
.sidebar-rail__action:focus-visible { outline: 0; background: var(--surface-shade), rgba(0,0,0,.9); }
.sidebar-rail__action.is-active { color: #fff; background: #189dff; }
.sidebar-rail__action[aria-disabled="true"] { cursor: default; }
.sidebar-rail__action .fa-icon { width: 18px; height: 18px; margin: 0; }
.sidebar-rail__action .material-symbols-rounded { display: block; font-size: 21px; font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 24; line-height: 1; }
.sidebar-rail__action .node-comment-icon { width: 17px; height: 17px; }
.sidebar-brand { padding: 0; margin: 0; border: 0; }
.sidebar-brand > div { padding-right: 38px; }
.sidebar-section.sidebar-tools { display: grid; gap: 20px; margin-bottom: 0; }
.sidebar-section.product-switcher { padding-bottom: 0; margin-bottom: 18px; border-bottom: 0; }
.sidebar-settings__create-project,
.sidebar-advanced,
.sidebar-settings__group button,
.my-profile-panel__action,
.my-profile-panel__logout {
  width: 100%;
  min-height: var(--sidebar-action-height);
  padding: 0 var(--sidebar-action-padding-inline);
  border-radius: var(--sidebar-action-radius);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: var(--sidebar-action-font-size);
  line-height: 1;
}
.sidebar.is-versions-mode .sidebar-scroll > .sidebar-section:not(.versions-panel-section),
.sidebar.is-checklist-mode .sidebar-scroll > .sidebar-section:not(.checklist-master-section),
.sidebar.is-comments-mode .sidebar-scroll > .sidebar-section:not(.product-switcher):not(.comments-panel-section),
.sidebar.is-profile-mode .sidebar-scroll > .sidebar-section:not(.my-profile-panel),
.sidebar.is-settings-mode .sidebar-scroll > .sidebar-section:not(.settings-panel-section) { display: none; }
.versions-panel-section { display: flex; flex-direction: column; min-height: 100%; padding: 0; margin: 0; border-bottom: 0; }
.versions-panel-section[hidden] { display: none; }
.versions-panel__header { display: grid; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.versions-panel__header .section-label { font-size: 13px; font-weight: 600; }
.versions-panel__create { width: 100%; min-height: var(--sidebar-action-height); gap: 3px; }
.versions-panel__list { display: grid; align-content: start; gap: 9px; min-height: 0; margin-top: 18px; overflow-y: auto; padding-right: 3px; }
.versions-panel__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 9px 14px 9px 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: var(--surface-shade), rgba(0,0,0,.34); }
.versions-panel__identity { display: grid; gap: 3px; min-width: 0; text-align: left; }
.versions-panel__identity strong { color: #fff; font-size: 13px; font-weight: 600; }
.versions-panel__identity small { color: rgba(255,255,255,.58); font-size: 10px; }
.versions-panel__switch { flex: 0 0 auto; }
.versions-panel__status { min-height: 15px; margin: 12px 2px 0; color: rgba(255,255,255,.7); font-size: 10px; line-height: 1.45; }
.my-profile-panel { display: flex; flex-direction: column; align-items: center; min-height: 100%; padding-top: 32px; text-align: center; }
.my-profile-panel__avatar { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: linear-gradient(135deg, #8b5cf6, #189dff); box-shadow: 0 12px 28px rgba(0,0,0,.28); font-size: 28px; font-weight: 600; letter-spacing: .04em; }
.my-profile-panel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.my-profile-panel h2 { margin: 16px 0 28px; color: #fff; font-size: 18px; font-weight: 550; line-height: 1.3; }
.my-profile-panel__content { display: grid; gap: 12px; width: 100%; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.my-profile-panel__action, .my-profile-panel__logout { display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); background: var(--surface-shade), rgba(0,0,0,.48); }
.my-profile-panel__action:hover, .my-profile-panel__action:focus-visible { border-color: rgba(255,255,255,.44); outline: 0; background: var(--surface-shade), rgba(255,255,255,.1); }
.my-profile-panel__action.is-active { border-color: rgba(56,189,248,.72); background: var(--surface-shade), rgba(24,157,255,.22); }
.my-profile-storage { display: grid; gap: 11px; padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: var(--surface-shade), rgba(0,0,0,.24); text-align: left; }
.my-profile-storage__heading { display: grid; gap: 3px; }
.my-profile-storage__heading span { color: #fff; font-size: 12px; font-weight: 600; }
.my-profile-storage__heading strong { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 400; }
.my-profile-storage__bar { position: relative; width: 100%; height: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(0,0,0,.56); }
.my-profile-storage__bar > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #22c55e; transition: width .28s ease, background-color .2s ease; }
.my-profile-storage__bar.is-warning > span { background: #facc15; }
.my-profile-storage__bar.is-critical > span { background: #ef4444; }
.my-profile-storage__usage { margin: -3px 0 0; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.4; }
.my-profile-storage__buy { margin-top: 2px; }
.my-profile-panel__logout:hover, .my-profile-panel__logout:focus-visible { border-color: rgba(248,113,113,.75); outline: 0; background: var(--surface-shade), rgba(239,68,68,.17); }
.my-profile-panel__status { min-height: 16px; margin: 12px 0 0; color: rgba(255,255,255,.7); font-size: 11px; }
.app-shell:is(.is-settings-mode, .is-versions-mode, .is-progress-mode, .is-profile-mode, .is-billing-mode, .is-account-mode) .map-canvas { visibility: hidden; pointer-events: none; }
.app-shell.is-password-change-required .sidebar-rail__action:not(#sidebarRailProfile),
.app-shell.is-password-change-required #profilePersonalData,
.app-shell.is-password-change-required #profileBillingData,
.app-shell.is-password-change-required #profileBilling,
.app-shell.is-password-change-required .my-profile-storage,
.app-shell.is-password-change-required #sidebarClose { display: none; }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .project-heading__add { display: none; }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .brand-mark,
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .project-switcher-trigger,
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .project-title-trigger { cursor: default; pointer-events: none; }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .brand-mark { background: var(--surface-shade), rgba(255,255,255,.08); }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .sidebar-brand > div { display: flex; align-items: flex-start; flex-direction: column; }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .sidebar-brand h1 { order: 1; }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .sidebar-brand .project-heading { order: 2; margin: 3px 0 0; }
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .project-switcher-trigger:hover,
.sidebar:is(.is-settings-mode, .is-checklist-mode, .is-versions-mode, .is-profile-mode) .project-title-trigger:hover { border-bottom-color: transparent; }
.checklist-master-section[hidden], .checklist-master__editor[hidden] { display: none; }
.checklist-master__heading .section-label { font-size: 13px; font-weight: 600; }
.checklist-master__heading p { margin: -2px 0 16px; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.45; }
.checklist-master__selector-row { --checklist-master-selector-height: 52px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; }
.checklist-master__selector-row .checklist-master__field { block-size: var(--checklist-master-selector-height); margin-bottom: 0; }
.checklist-master__selector-row .checklist-master__field select,
.checklist-master__create { block-size: var(--checklist-master-selector-height); min-block-size: var(--checklist-master-selector-height); max-block-size: var(--checklist-master-selector-height); margin-block: 0; }
.checklist-action-button.checklist-master__create { --checklist-action-height: var(--checklist-master-selector-height); gap: 2px; padding-inline: 12px; line-height: 1; }
.checklist-master__field { display: grid; gap: 9px; margin-bottom: 17px; color: rgba(255,255,255,.78); font-size: 11px; }
#checklistMasterEditor .checklist-master__field[for="checklistMasterName"] { gap: 4px; }
#checklistMasterEditor .checklist-master__field[for="checklistMasterName"] > span { padding-left: 18px; font-size: 13px; }
.checklist-master__field select, .checklist-master__field input, .checklist-master__field textarea { width: 100%; min-width: 0; padding: 0 16px; border: var(--form-control-border-width) solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background-color: color-mix(in srgb, #08080c calc(var(--surface-darkening) * 100%), rgba(0,0,0,.62)); font: inherit; font-size: 13px; transition: border-color .18s, background-color .18s, box-shadow .18s; }
.checklist-master__field select, .checklist-master__field input { min-height: 52px; }
.checklist-master__field select { padding-right: 46px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 17px center; background-size: 18px; cursor: pointer; }
.checklist-master__field select:hover, .checklist-master__field input:hover, .checklist-master__field textarea:hover { border-color: rgba(255,255,255,.38); background-color: color-mix(in srgb, #08080c calc(var(--surface-darkening) * 100%), rgba(0,0,0,.7)); }
.checklist-master__field select:focus, .checklist-master__field input:focus, .checklist-master__field textarea:focus { outline: 0; border-color: rgba(139,92,246,.8); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.checklist-master__field textarea { resize: vertical; line-height: 1.45; }
.checklist-master__editor { margin-top: 16px; }
.checklist-master__types { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; margin: 0 0 15px; padding: 8px 16px; border: var(--form-control-border-width) solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.62); cursor: pointer; text-align: left; }
.checklist-master__types:hover, .checklist-master__types:focus-visible { border-color: rgba(139,92,246,.8); outline: 0; box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.checklist-master__types > span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.checklist-master__types .material-symbols-rounded { font-size: 18px; }
.checklist-master__types small { overflow: hidden; color: rgba(255,255,255,.68); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.checklist-master__items { display: grid; gap: 7px; margin: 0 0 13px; padding: 0; list-style: none; }
.checklist-master-item { display: grid; grid-template-columns: 23px minmax(0,1fr) 28px; align-items: center; gap: 6px; min-height: 41px; padding: 4px 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: var(--surface-shade), rgba(0,0,0,.34); }
.checklist-master-item.is-dragging { opacity: .45; }
.checklist-master-item.is-drop-before { box-shadow: inset 0 2px 0 #38bdf8; }
.checklist-master-item.is-drop-after { box-shadow: inset 0 -2px 0 #38bdf8; }
.checklist-master-item input { min-width: 0; padding: 5px 2px; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; font-size: 11px; }
.checklist-master-item__drag, .checklist-master-item__delete { display: grid; place-items: center; width: 23px; height: 29px; padding: 0; border: 0; color: rgba(255,255,255,.56); background: transparent; cursor: grab; }
.checklist-master-item__drag span { width: 11px; height: 10px; background: repeating-linear-gradient(to bottom,currentColor 0 1px,transparent 1px 4px); }
.checklist-master-item__delete { width: 28px; cursor: pointer; }
.checklist-master-item__delete .fa-icon { width: 12px; height: 12px; }
.checklist-master__field[for="checklistMasterNewItems"] > span { font-size: 12px; }
#checklistMasterNewItems { padding: 12px 16px; border-radius: 11px; }
.checklist-action-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--checklist-action-height, 34px); padding: 0 var(--checklist-action-padding-end, 15px) 0 var(--checklist-action-padding-start, 15px); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; background: #189dff; cursor: pointer; font: inherit; font-size: var(--checklist-action-font-size, 12px); transition: border-color .18s, background .18s; }
.checklist-action-button__icon { font-size: 16px; font-weight: 600; line-height: 1; }
.checklist-action-button:hover, .checklist-action-button:focus-visible { border-color: rgba(255,255,255,.48); outline: 0; background: #8b5cf6; }
.checklist-action-button--danger { background: #ef4444; }
.checklist-action-button--danger:hover, .checklist-action-button--danger:focus-visible { background: #dc2626; }
.checklist-action-button--warning { background: #f4930b; color: #fff; }
.checklist-action-button--warning:hover, .checklist-action-button--warning:focus-visible { background: #f9ae24; }
.checklist-action-button--success { background: #22c55e; }
.checklist-action-button--success:hover, .checklist-action-button--success:focus-visible { background: #16a34a; }
.checklist-action-button:disabled { opacity: .38; cursor: default; pointer-events: none; }
.checklist-master__add { justify-self: stretch; width: 100%; }
.checklist-master__status { min-height: 14px; margin: 8px 0; color: #fca5a5; font-size: 10px; }
.checklist-master__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checklist-master-type-modal { z-index: 41; }
.checklist-master-type-modal__panel { width: min(520px, 100%); overflow: hidden; }
.checklist-master-type-modal__header-actions { display: flex; align-items: center; gap: 8px; }
.checklist-master-type-modal__confirm .material-symbols-rounded { font-size: 24px; }
.advanced-map-modal { --modal-text: #fff; --modal-text-muted: rgba(255,255,255,.72); width: min(620px, calc(100% - 24px)); margin: auto; color: #fff; background: var(--surface-shade), rgba(25,25,35,.95); }
.advanced-map-modal::backdrop { background: rgba(0,0,0,.56); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.advanced-map-modal__map { margin: 6px 0 0; color: #38c0f0; font-size: 13px; overflow-wrap: anywhere; }
.advanced-map-modal__description { margin: 16px 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.5; }
.advanced-map-modal .checklist-master-type-row { cursor: default; }
.advanced-map-modal .checklist-master-type-row strong { overflow-wrap: anywhere; }
.advanced-map-modal__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.advanced-map-modal__status { min-height: 18px; color: #fff; font-size: 12px; line-height: 1.5; }
.advanced-map-modal button:disabled { opacity: .45; cursor: default; }
.checklist-master-type-list { display: grid; gap: 8px; margin-top: 22px; }
.checklist-master-type-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.34); cursor: pointer; }
.checklist-master-type-row:hover { background: var(--surface-shade), rgba(255,255,255,.055); }
.checklist-master-type-row strong { font-size: 13px; font-weight: 550; }
.comments-panel-section[hidden], .sidebar-comments__editor[hidden], .sidebar-comments__empty[hidden] { display: none; }
.sidebar-comments__heading p { margin: -2px 0 17px; color: rgba(255,255,255,.66); font-size: 10px; line-height: 1.5; }
.sidebar-comments__empty { padding: 18px; border: 1px dashed rgba(255,255,255,.2); border-radius: 15px; color: rgba(255,255,255,.62); background: var(--surface-shade), rgba(0,0,0,.22); font-size: 11px; line-height: 1.5; text-align: center; }
.sidebar-comments__item { display: grid; gap: 5px; margin-bottom: 17px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: var(--surface-shade), rgba(0,0,0,.32); }
.sidebar-comments__item span, .sidebar-comments__editor > label { color: rgba(255,255,255,.66); font-size: 10px; }
.sidebar-comments__item strong { color: #fff; font-size: 13px; font-weight: 600; }
.sidebar-comments__editor > label { display: block; margin-bottom: 8px; }
.sidebar-comments__editor textarea { width: 100%; min-height: 190px; padding: 14px 16px; resize: vertical; border: var(--form-control-border-width) solid rgba(255,255,255,.2); border-radius: 18px; outline: 0; color: #fff; background: var(--surface-shade), rgba(0,0,0,.56); font: inherit; font-size: 12px; line-height: 1.55; transition: border-color .18s, box-shadow .18s; }
.sidebar-comments__editor textarea:focus { border-color: rgba(139,92,246,.8); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.sidebar-comments__status { min-height: 15px; margin: 8px 0; color: rgba(255,255,255,.72); font-size: 10px; }
.sidebar-comments__editor > button { width: 100%; min-height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.56); cursor: pointer; font: inherit; font-size: 11px; }
.settings-panel-section[hidden] { display: none; }
.sidebar-settings__create-project, .sidebar-advanced { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: var(--surface-shade), rgba(0,0,0,.56); }
.sidebar-settings__create-project:hover, .sidebar-settings__create-project:focus-visible, .sidebar-advanced:hover, .sidebar-advanced:focus-visible { border-color: rgba(255,255,255,.44); outline: 0; background: var(--surface-shade), rgba(0,0,0,.7); }
.sidebar-settings__create-project.is-active { border-color: #189dff; background: #189dff; box-shadow: 0 0 20px rgba(24,157,255,.3); }
.sidebar-settings__group { display: grid; gap: 9px; margin-top: 21px; padding-top: 20px; border-top: 1px solid var(--line); }
.sidebar-settings__group button { display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.18); background: var(--surface-shade), rgba(0,0,0,.48); text-align: left; }
.sidebar-settings__group button:hover, .sidebar-settings__group button:focus-visible { border-color: rgba(255,255,255,.4); outline: 0; background: var(--surface-shade), rgba(0,0,0,.65); }
.sidebar-settings__group button.is-active { border-color: #189dff; color: #fff; background: #189dff; box-shadow: 0 0 20px rgba(24,157,255,.3); }
.sidebar-settings__group .material-symbols-rounded { font-size: 19px; font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 24; }
.product-switcher #lastUpdated { display: block; margin: 0 0 11px; color: #fff; font-size: 11px; }
.sidebar-tools .topbar__actions { justify-content: flex-start; }
.sidebar-section { padding: 0 0 23px; margin: 0 0 23px; border-bottom: 1px solid var(--line); }
.sidebar-section.search-section { padding: 23px 0; margin: 0 0 23px; }
.search-label, .section-label { display: block; margin: 0 0 10px; color: #fff; font-size: 12px; font-weight: 750; }
.sidebar .eyebrow,
.sidebar-scroll,
.sidebar-scroll .system-tab small,
.sidebar-scroll .version-toggle,
.sidebar-scroll .summary-progress__label,
.sidebar-scroll .summary-progress__detail,
.sidebar-scroll .stats-grid dd,
.sidebar-scroll .legend { color: #fff; }

.system-tabs { display: grid; gap: 8px; }
.system-tab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7.5px; width: 100%; min-height: 62px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface-shade), rgba(255,255,255,.025); transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.system-tab:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.42); background: var(--surface-shade), rgba(255,255,255,.10); box-shadow: 0 0 20px rgba(255,255,255,.08); }
.system-tab.is-active { background: var(--surface-shade), rgba(255,255,255,.055); }
.system-tab.is-context-selected { border-color: rgba(255,255,255,.72); background: var(--surface-shade), rgba(255,255,255,.11); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 22px rgba(255,255,255,.10); }
.system-tab__icon { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.20); border-radius: 50%; color: rgba(255,255,255,.92); background: rgba(0,0,0,.5); cursor: pointer; }
.system-tab__icon img, .node-host img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.system-tab__icon:hover, .system-tab__icon:focus-visible { border-color: rgba(255,255,255,.52); color: #fff; outline: 0; }
.system-tab__icon .material-symbols-rounded { max-width: 26px; overflow: hidden; font-size: 21px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.system-tab__icon.is-empty .material-symbols-rounded { opacity: .45; font-size: 18px; }
.system-tab__copy { min-width: 0; padding: 0; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.system-tab strong, .system-tab small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.system-tab strong { font-size: 13px; font-weight: 650; }
.system-tab small { margin-top: 3px; color: #fff; font-size: 10px; }


.system-tab__actions { align-self: start; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.system-tab__actions:hover, .system-tab__actions:focus-visible, .system-tab__actions[aria-expanded="true"] { background: var(--surface-shade), rgba(255,255,255,.14); outline: 1px solid var(--line); }
.map-actions-menu { position: fixed; z-index: 100; display: grid; min-width: 180px; max-width: calc(100vw - 24px); padding: 6px; border: var(--panel-acrylic-border); border-radius: 14px; background: var(--surface-shade), rgba(20,20,20,.9); box-shadow: var(--panel-acrylic-shadow); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.map-actions-menu[hidden] { display: none; }
.map-actions-menu button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 9px; text-align: left; color: var(--text); background: transparent; cursor: pointer; }
.map-actions-menu button:hover, .map-actions-menu button:focus-visible { outline: 0; background: var(--surface-shade), rgba(255,255,255,.14); }
.map-actions-menu button:disabled { opacity: .4; cursor: not-allowed; }
.map-transfer-description { margin: 0 0 18px; font-size: 13px; line-height: 1.5; color: var(--modal-text); }
.map-transfer-field { display: grid; gap: 6px; margin-top: 16px; min-width: 0; }
.map-transfer-field[hidden] { display: none; }
.map-transfer-field .comment-modal__label { margin: 0; }
.map-transfer-field select, .map-transfer-field input { width: 100%; min-width: 0; }
.map-transfer-progress { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; border: 0; color: var(--modal-text); font-size: 13px; }
.map-transfer-progress[hidden] { display: none; }
.map-transfer-progress legend { margin-bottom: 12px; }
.map-transfer-progress label { display: flex; align-items: center; gap: 9px; }
.map-transfer-progress input { margin: 0; accent-color: var(--accent); }
.map-transfer-progress p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }


.search-box { position: relative; }
.search-box__icon { position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; color: #fff; transform: translateY(-50%); }
.search-box input { width: 100%; height: 44px; padding: 0 18px 0 42px; border: var(--form-control-border-width) solid rgba(255,255,255,.22); border-radius: 999px; outline: none; color: var(--text); background: var(--surface-shade), rgba(0,0,0,.5); font-size: 13px; }
.search-box input::placeholder { color: rgba(255,255,255,.72); }
.search-box input::-webkit-search-cancel-button { display: none; appearance: none; -webkit-appearance: none; }
.search-box input:not(:placeholder-shown) { padding-right: 42px; }
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .11); }
.search-box button { position: absolute; right: 9px; top: 50%; display: none; width: 28px; height: 28px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; }
.search-box button.is-visible { display: grid; place-items: center; }
.search-box button .fa-icon { width: 13px; height: 13px; }
.search-results { display: grid; width: 100%; max-width: 100%; min-width: 0; gap: 7px; margin-top: 10px; overflow: hidden; }
.search-results:empty { display: none; margin-top: 0; }
.search-result { display: block; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; padding: 10px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--text); text-align: left; background: var(--surface-shade), rgba(255,255,255,.10); cursor: pointer; }
.search-result:hover { border-color: rgba(255,255,255,.52); background: var(--surface-shade), rgba(255,255,255,.14); }
.search-result strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search-result strong { font-size: 12px; }
.search-empty { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.button-grid--secondary { margin-top: 8px; }
.button-grid button { min-height: 39px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--surface-shade), rgba(0,0,0,.35); font-size: 13px; white-space: nowrap; cursor: pointer; }
.button-grid button:hover { border-color: rgba(255,255,255,.52); background: var(--surface-shade), rgba(255,255,255,.08); box-shadow: 0 0 18px rgba(255,255,255,.07); }
.button-grid button.is-active { border-color: rgba(255,255,255,.68); background: var(--surface-shade), rgba(255,255,255,.10); box-shadow: 0 0 18px rgba(255,255,255,.08); }
.button-grid button:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: 2px; }
.version-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; width: 100%; column-gap: 0; row-gap: 10px; margin-top: 14px; }
.version-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 28px; padding: 0; border: 0; border-radius: 0; color: var(--muted); background: transparent; cursor: pointer; }
.version-toggle__label { font-size: 10px; font-weight: 400; }
.version-toggle[aria-checked="true"] { color: #fff; background: transparent; }
.version-toggle[aria-checked="true"] .ui-switch__track { border-color: var(--switch-active); background: var(--switch-active); }
.version-toggle[aria-checked="true"] .ui-switch__track::after { transform: translateX(var(--ui-switch-thumb-travel)); background: #fff; }
.version-toggle:focus-visible { outline: 0; }
.version-toggle:focus-visible .ui-switch__track { outline: 2px solid var(--switch-active); outline-offset: 3px; }
.check-state-section select { width: 100%; height: 42px; padding: 0 36px 0 12px; border: var(--form-control-border-width) solid var(--line); border-radius: 10px; outline: none; color: var(--text); background: #0a0d1e; cursor: pointer; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.stats-grid div { display: flex; min-height: 78px; padding: 12px; flex-direction: column; border: 1px solid rgba(255,255,255,.045); border-radius: 14px; background: var(--surface-shade), rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 7px 16px rgba(0,0,0,.12); }
.stats-grid dt { color: #fff; font-size: 21px; font-weight: 500; line-height: 1; }
.stats-grid dd { margin: auto 0 0; color: rgba(255,255,255,.68); font-size: 8px; font-weight: 600; line-height: 1.15; text-transform: uppercase; }
.project-progress-section { text-align: center; }
.summary-progress { --progress: 0; --summary-color: #ef4444; display: grid; justify-items: center; gap: 0; margin-top: 0; color: var(--summary-color); }
.summary-progress[data-progress-level="medium"] { --summary-color: #facc15; }
.summary-progress[data-progress-level="high"] { --summary-color: var(--switch-active); }
.summary-progress[data-progress-level="complete"] { --summary-color: var(--finalized); }
.summary-progress.is-empty { --summary-color: rgba(255,255,255,.28); }
.summary-progress__ring { --ring-radius: 47px; --cap-size: 10px; position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--summary-color) calc(var(--progress) * 1%), rgba(255,255,255,.10) 0); box-shadow: 0 0 0 1px color-mix(in srgb, var(--summary-color) 24%, transparent), 0 0 18px color-mix(in srgb, var(--summary-color) 9%, transparent); transition: background .22s, box-shadow .22s; }
.summary-progress__ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #11152b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.summary-progress__cap { position: absolute; left: 50%; top: 50%; z-index: 1; width: var(--cap-size); height: var(--cap-size); border-radius: 50%; background: var(--summary-color); opacity: clamp(0, var(--progress), 1); pointer-events: none; }
.summary-progress__cap--start { transform: translate(-50%, -50%) translateY(calc(var(--ring-radius) * -1)); }
.summary-progress__cap--end { transform: translate(-50%, -50%) rotate(calc(var(--progress) * 3.6deg)) translateY(calc(var(--ring-radius) * -1)); }
.summary-progress__ring strong { position: relative; z-index: 2; color: var(--text); font-size: 18px; font-weight: 600; }
.summary-progress__label { margin-top: 10px; color: #fff; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.summary-progress__detail { margin-top: 5px; color: #fff; font-size: 10px; }
.summary-progress.is-finalized .summary-progress__ring { box-shadow: 0 0 0 1px color-mix(in srgb, var(--finalized) 72%, transparent), 0 0 14px color-mix(in srgb, var(--finalized) 72%, transparent), 0 0 30px color-mix(in srgb, var(--finalized) 46%, transparent); }
.section-progress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; margin-top: 24px; }
.section-progress { --progress: 0; --summary-color: #ef4444; display: grid; min-width: 0; justify-items: center; color: var(--summary-color); }
.section-progress[data-progress-level="medium"] { --summary-color: #facc15; }
.section-progress[data-progress-level="high"] { --summary-color: var(--switch-active); }
.section-progress[data-progress-level="complete"] { --summary-color: var(--finalized); }
.section-progress.is-empty { --summary-color: rgba(255,255,255,.28); }
.section-progress__ring { --ring-radius: 27px; --cap-size: 6px; position: relative; display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; background: conic-gradient(var(--summary-color) calc(var(--progress) * 1%), rgba(255,255,255,.10) 0); box-shadow: 0 0 0 1px color-mix(in srgb, var(--summary-color) 22%, transparent), 0 0 12px color-mix(in srgb, var(--summary-color) 8%, transparent); }
.section-progress__ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #11152b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.section-progress__cap { position: absolute; left: 50%; top: 50%; z-index: 1; width: var(--cap-size); height: var(--cap-size); border-radius: 50%; background: var(--summary-color); opacity: clamp(0, var(--progress), 1); pointer-events: none; }
.section-progress__cap--start { transform: translate(-50%, -50%) translateY(calc(var(--ring-radius) * -1)); }
.section-progress__cap--end { transform: translate(-50%, -50%) rotate(calc(var(--progress) * 3.6deg)) translateY(calc(var(--ring-radius) * -1)); }
.section-progress__ring strong { position: relative; z-index: 2; color: var(--text); font-size: 11px; font-weight: 600; }
.section-progress__label { overflow: hidden; max-width: 100%; margin-top: 7px; color: #fff; font-size: 9px; font-weight: 650; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.section-progress__detail { margin-top: 3px; color: rgba(255,255,255,.74); font-size: 9px; line-height: 1.2; }
.section-progress.is-finalized .section-progress__ring { box-shadow: 0 0 0 1px color-mix(in srgb, var(--finalized) 55%, transparent), 0 0 12px color-mix(in srgb, var(--finalized) 38%, transparent); }
.legend { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: #fff; font-size: 12px; }
.legend li { display: flex; align-items: center; gap: 9px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 14px currentColor; }
.legend-dot--module { color: var(--root); background: currentColor; }
.legend-dot--submodule { color: var(--module); background: currentColor; }
.legend-dot--function { color: var(--function); background: currentColor; }
.legend-dot--integration { color: var(--integration); background: currentColor; }
.legend-dot--task { color: var(--task); background: currentColor; }
.legend-dot--section { color: #e2e8f0; background: currentColor; }
.legend-dot--catalog { color: var(--catalog); background: currentColor; }
.legend-dot--component { color: var(--component); background: currentColor; }
.legend-dot--database { color: var(--database); background: currentColor; }
.legend-dot--finalized { color: var(--finalized); background: currentColor; }

.workspace { position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr); }
.workspace-hint { color: var(--muted); font-size: 11px; }
.add-node-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; color: #fff; background: var(--surface-shade), rgba(255,255,255,.055); box-shadow: none; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.add-node-button .fa-icon { display: block; width: 18px; height: 18px; }
.double-plus-icon { position: relative; display: block; width: 20px; height: 20px; }
.double-plus-icon .fa-icon { position: absolute; width: 12px; height: 12px; }
.double-plus-icon .fa-icon:first-child { top: 0; right: 0; }
.double-plus-icon .fa-icon:last-child { bottom: 0; left: 0; }
.add-node-button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(255,255,255,.42); background: var(--surface-shade), rgba(255,255,255,.10); box-shadow: 0 0 20px rgba(255,255,255,.08); }
.add-node-button:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: 3px; }
.add-node-button:disabled { opacity: .32; cursor: not-allowed; box-shadow: none; }
.delete-node-button:not(:disabled) { border-color: rgba(255,255,255,.22); background: var(--surface-shade), rgba(255,255,255,.055); box-shadow: none; }
.delete-node-button:hover:not(:disabled) { border-color: rgba(255,255,255,.42); background: var(--surface-shade), rgba(255,255,255,.10); box-shadow: 0 0 20px rgba(255,255,255,.08); }
kbd { padding: 3px 6px; border: 1px solid var(--line); border-bottom-color: rgba(255,255,255,.24); border-radius: 5px; color: #d5d9ee; background: #11152b; box-shadow: 0 2px 0 #02030a; }
.map-canvas { overflow: auto; padding: 30px clamp(28px, 2.6vw, 48px) 80px clamp(16px, 1.4vw, 24px); scroll-behavior: smooth; transition: padding-left .3s cubic-bezier(.22, 1, .36, 1); }
.map-tree { width: max-content; min-width: 0; margin: 0; padding-right: 15px; box-sizing: content-box; }
.map-load-sentinel { position: sticky; left: 0; display: grid; place-items: center; width: min(100%, 520px); height: 58px; margin-top: 4px; pointer-events: none; }
.map-load-sentinel[hidden] { display: none; }
.map-load-sentinel__spinner { width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.16); border-top-color: rgba(255,255,255,.88); border-radius: 50%; opacity: 0; animation: map-load-spin .72s linear infinite; }
.map-load-sentinel.is-loading .map-load-sentinel__spinner { opacity: 1; }
@keyframes map-load-spin { to { transform: rotate(360deg); } }

.map-node { --node-color: var(--module); --branch-connector-y: 51px; --lateral-connector-y: 45px; --branch-line-thickness: 1px; --branch-line-color: #fff; --branch-line-opacity: .42; --node-horizontal-offset: 0px; position: relative; left: var(--node-horizontal-offset); isolation: isolate; width: 460px; max-width: 460px; margin: 0; padding-bottom: 20px; }
.map-node[data-type="root"] { --node-color: var(--root); }
.map-node[data-type="flow"] { --node-color: var(--root); }
.map-node[data-type="module"] { --node-color: var(--root); }
.map-node[data-type="submodule"] { --node-color: var(--module); }
.map-node[data-type="function"] { --node-color: var(--function); }
.map-node[data-type="integration"] { --node-color: var(--integration); width: min(400px, 100%); max-width: 400px; }
.map-node[data-type="task"] { --node-color: var(--task); width: min(400px, 100%); max-width: 400px; }
.map-node[data-type="section"] { --node-color: #e2e8f0; --branch-connector-y: 29px; --lateral-connector-y: 29px; margin-top: 40px; }
.map-node[data-type="catalog"] { --node-color: var(--catalog); }
.map-node[data-type="component"] { --node-color: var(--component); }
.map-node[data-type="database"] { --node-color: var(--database); }
.map-node[data-type="lateral"] { --node-color: #a78bfa; }
.map-node > summary { position: relative; display: block; overflow: hidden; min-height: 90px; padding: 0; border: var(--panel-acrylic-border); border-radius: 999px; outline: none; --card-surface: var(--panel-acrylic-base); background: var(--surface-shade), var(--card-surface); box-shadow: var(--panel-acrylic-shadow); backdrop-filter: var(--panel-acrylic-filter); -webkit-backdrop-filter: var(--panel-acrylic-filter); cursor: pointer; list-style: none; transition: border-color .18s, transform .18s, background .18s, box-shadow .18s; }
.map-node > summary[draggable="true"] { cursor: grab; }
.map-node > summary[draggable="true"]:active { cursor: grabbing; }
.map-node > summary::-webkit-details-marker { display: none; }
.map-node > summary:hover { transform: translateX(2px); border-color: rgba(255,255,255,.38); --card-surface: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.09)); }
.map-node[open] > summary { border-color: rgba(255,255,255,.13); }
.map-node.is-selected::before { content: ""; position: absolute; z-index: -1; left: -8px; right: -8px; top: 7px; height: 76px; border-radius: 999px; background: color-mix(in srgb, var(--node-color) 55%, transparent); filter: blur(22px); opacity: .25; pointer-events: none; }
.map-node.is-selected > summary { border-color: color-mix(in srgb, var(--node-color) 56%, rgba(255,255,255,.52)); --card-surface: linear-gradient(135deg, rgba(255,255,255,.23), color-mix(in srgb, var(--node-color) 9%, rgba(255,255,255,.07))); box-shadow: var(--panel-acrylic-drop-shadow), inset 1px 1px 0 rgba(255,255,255,.34), 0 0 0 1px color-mix(in srgb, var(--node-color) 20%, transparent), 0 14px 34px rgba(0,0,0,.28); }
.map-node.is-dragging > summary { opacity: .38; transform: scale(.985); }
.map-node.is-horizontal-dragging { z-index: 8; }
.map-node.is-horizontal-dragging > summary { transform: none; cursor: ew-resize; user-select: none; }
.map-node.is-drop-inside > summary { border-color: color-mix(in srgb, var(--node-color) 90%, #fff 10%); --card-surface: color-mix(in srgb, var(--node-color) 20%, var(--panel)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--node-color) 48%, transparent), 0 0 26px color-mix(in srgb, var(--node-color) 30%, transparent); }
.map-node.is-drop-before > summary::after, .map-node.is-drop-after > summary::after { content: ""; position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 999px; background: var(--node-color); box-shadow: 0 0 12px var(--node-color); pointer-events: none; }
.map-node.is-drop-before > summary::after { top: 0; }
.map-node.is-drop-after > summary::after { bottom: 0; }
.map-node.is-search-match > summary { border-color: var(--submodule); box-shadow: 0 0 0 3px rgba(125,211,252,.13), 0 8px 28px rgba(0,0,0,.16); }
.map-node.is-finalized { --node-color: var(--finalized); }
.map-node.is-finalized > summary { opacity: 1; border-color: color-mix(in srgb, var(--finalized) 62%, transparent); }
.node-card__main { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 12px; min-height: 62px; padding: 7px 32px 5px; }
.node-card__footer { display: flex; align-items: center; justify-content: flex-start; gap: 5px; min-height: 28px; margin: 0 94px 0 34px; padding: 5px 0 7px; border-top: 1px solid rgba(255,255,255,.16); }
.node-card__footer .node-attachment-button { order: 1; }
.node-card__footer .node-icon-slot { order: 2; }
.node-card__footer .node-type-control { order: 3; }
.node-card__footer .node-documentation-button { order: 4; }
.node-card__footer .node-version { order: 5; }
.node-card__footer .node-count { order: 6; margin-left: 3px; }
.node-card__footer .node-chevron { order: 7; flex: 0 0 auto; margin-left: 2px; }
.node-card__footer .node-horizontal-handle { order: 8; }
.node-horizontal-handle { display: grid; place-items: center; width: 26px; height: 26px; margin-left: 3px; padding: 0; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: rgba(255,255,255,.9); background: var(--surface-shade), rgba(0,0,0,.34); cursor: ew-resize; touch-action: none; -webkit-user-drag: none; user-select: none; }
.node-horizontal-handle:hover, .node-horizontal-handle:focus-visible { border-color: rgba(255,255,255,.48); color: #fff; background: var(--surface-shade), rgba(0,0,0,.42); }
.node-horizontal-handle .material-symbols-rounded { font-size: 15px; pointer-events: none; }
.node-icon, .node-comment-button, .node-attachment-button, .node-documentation-button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 0; color: rgba(255,255,255,.76); background: transparent; font-size: 10px; font-weight: 650; }
.node-comment-button, .node-attachment-button, .node-documentation-button { cursor: pointer; transition: color .18s, background .18s, transform .18s; }
.node-comment-icon { display: block; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("./assets/fa-comment-solid.svg") center / contain no-repeat; mask: url("./assets/fa-comment-solid.svg") center / contain no-repeat; }
.node-comment-button.has-comment { color: #ffeb00; }
.node-comment-button:hover, .node-documentation-button:hover { background: transparent; transform: translateY(-1px); }
.node-comment-button:not(.has-comment):hover, .node-documentation-button:hover { color: #fff; }
.node-attachment-button:hover { color: var(--node-color); background: transparent; transform: translateY(-1px); }
.node-attachment-button img { display: block; width: 19px; height: 19px; border-radius: 5px; object-fit: cover; }
.node-documentation-button .fa-icon { width: 15px; height: 15px; }
.node-copy { min-width: 0; transform: translateX(-7px); }
.material-symbols-rounded { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; }
.node-host { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: rgba(255,255,255,.92); background: rgba(0,0,0,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); cursor: pointer; transition: border-color .18s, transform .18s, background .18s; }
.node-host:hover, .node-host:focus-visible { border-color: rgba(255,255,255,.48); background: rgba(0,0,0,.62); transform: scale(1.04); }
.node-host__icon { max-width: 30px; overflow: hidden; font-size: 24px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.node-host.is-empty .node-host__icon { opacity: .45; font-size: 20px; }
.node-title { display: block; overflow: hidden; color: #fff; font-size: 13px; font-weight: 430; line-height: 1.2; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.node-kind { display: block; margin-top: 5px; color: rgba(255,255,255,.54); font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: uppercase; }
.node-version { width: 47px; height: 25px; padding: 0 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; outline: none; appearance: none; -webkit-appearance: none; color: rgba(255,255,255,.78); text-align: center; text-align-last: center; background: var(--surface-shade), rgba(0,0,0,.23); cursor: pointer; font-size: 9px; font-weight: 600; }
.node-version:hover, .node-version:focus { border-color: color-mix(in srgb, var(--node-color) 68%, transparent); }
.node-type-control { position: relative; display: grid; place-items: center; width: 24px; height: 24px; color: rgba(255,255,255,.76); cursor: pointer; }
.node-type-control > .fa-icon { width: 11px; height: 11px; pointer-events: none; }
.node-type-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.node-type-control:hover, .node-type-control:focus-within { color: #fff; }
.node-progress { --progress: 0; --progress-color: #ef4444; position: absolute; top: 50%; right: 26px; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; color: var(--progress-color); background: transparent; cursor: pointer; transform: translateY(-50%); }
.node-progress[data-progress-level="medium"] { --progress-color: #facc15; }
.node-progress[data-progress-level="high"] { --progress-color: var(--switch-active); }
.node-progress[data-progress-level="complete"] { --progress-color: var(--finalized); }
.node-progress.is-empty { --progress-color: rgba(255,255,255,.28); }
.node-progress__ring { --ring-size: 54px; --ring-width: 6px; --ring-radius: calc((var(--ring-size) - var(--ring-width)) / 2); position: relative; display: grid; place-items: center; width: var(--ring-size); height: var(--ring-size); border-radius: 50%; background: transparent; box-shadow: 0 0 0 1px color-mix(in srgb, var(--progress-color) 24%, transparent), 0 0 12px color-mix(in srgb, var(--progress-color) 20%, transparent); transition: transform .18s, box-shadow .18s; }
.node-progress__ring::before, .node-progress__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-width)), #000 calc(100% - var(--ring-width) + 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-width)), #000 calc(100% - var(--ring-width) + 1px)); }
.node-progress__ring::before { background: rgba(255,255,255,.16); }
.node-progress__ring::after { background: conic-gradient(var(--progress-color) calc(var(--progress) * 1%), transparent 0); }
.node-progress__cap { position: absolute; top: 50%; left: 50%; z-index: 1; width: var(--ring-width); height: var(--ring-width); border-radius: 50%; background: var(--progress-color); opacity: 0; }
.node-progress.has-progress:not(.is-complete) .node-progress__cap { opacity: 1; }
.node-progress.is-empty .node-progress__ring { box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.node-progress.is-empty .node-progress__ring::after { background: transparent; }
.node-progress.is-empty:hover .node-progress__ring { box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.node-progress__cap--start { transform: translate(-50%, -50%) translateY(calc(var(--ring-radius) * -1)); }
.node-progress__cap--end { transform: translate(-50%, -50%) rotate(calc(var(--progress) * 3.6deg)) translateY(calc(var(--ring-radius) * -1)); }
.node-progress__value { position: relative; z-index: 2; color: #fff; font-size: 9px; font-weight: 650; }
.node-progress:hover .node-progress__ring { transform: translateY(-1px) scale(1.03); box-shadow: 0 0 0 1px color-mix(in srgb, var(--progress-color) 42%, transparent), 0 0 16px color-mix(in srgb, var(--progress-color) 32%, transparent); }
.node-progress:focus-visible { outline: 2px solid var(--progress-color); outline-offset: 3px; }
.node-progress:disabled { cursor: default; }
.node-progress:disabled:hover .node-progress__ring { transform: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--progress-color) 24%, transparent), 0 0 12px color-mix(in srgb, var(--progress-color) 20%, transparent); }
.map-node.is-finalized > summary .node-progress__ring,
.map-node.is-finalized > summary .node-progress:disabled:hover .node-progress__ring { box-shadow: 0 0 0 1px color-mix(in srgb, var(--finalized) 72%, transparent), 0 0 10px color-mix(in srgb, var(--finalized) 72%, transparent), 0 0 24px color-mix(in srgb, var(--finalized) 42%, transparent); }
.node-count { display: grid; place-items: center; min-width: 32px; height: 21px; padding: 0 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.78); background: var(--surface-shade), rgba(0,0,0,.23); font-size: 10px; font-weight: 600; line-height: 1; }
.node-chevron { position: relative; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: rgba(255,255,255,.8); font-size: 16px; font-weight: 300; line-height: 1; transition: background .18s; }
.node-chevron::before { content: "+"; display: block; line-height: 1; transform: translateY(-.5px); }
.map-node:not([open]) > summary .node-chevron { border-color: var(--switch-active); color: #fff; background: var(--switch-active); box-shadow: 0 0 10px rgba(56,192,240,.3); }
.map-node[open] > summary .node-chevron::before { content: "−"; }
.map-node--leaf .node-chevron { display: none; }
.node-body { --branch-offset: 34px; position: relative; margin-left: 19px; padding: 20px 0 0 var(--branch-offset); }
.node-body::before { content: ""; position: absolute; left: 0; top: calc(var(--branch-line-start, 0px) * -1); width: var(--branch-line-thickness); height: calc(var(--branch-line-end, 0px) + var(--branch-line-start, 0px)); background: var(--branch-line-color); opacity: var(--branch-line-opacity); }
.node-children { position: relative; }
.node-children > .map-node:last-child { padding-bottom: 0; }
.node-children > .map-node::after { content: ""; position: absolute; left: calc(0px - var(--branch-connector-width, var(--branch-offset))); top: var(--branch-connector-y); z-index: -1; width: calc(var(--branch-connector-width, var(--branch-offset)) + 2px); height: var(--branch-line-thickness); background: var(--branch-line-color); opacity: var(--branch-line-opacity); pointer-events: none; }
.node-lateral-children { position: absolute; top: 0; left: var(--lateral-offset, calc(100% + 34px)); display: flex; align-items: flex-start; gap: 34px; }
.map-node.has-lateral-children:not([open]) > .node-lateral-children { display: flex !important; }
.node-lateral-children > .map-node { flex: 0 0 auto; }
.node-lateral-children > .map-node::after { content: ""; position: absolute; left: calc(var(--lateral-connector-width, 34px) * -1); top: var(--lateral-connector-y); z-index: -1; width: var(--lateral-connector-width, 34px); height: var(--branch-line-thickness); background: var(--branch-line-color); opacity: var(--branch-line-opacity); pointer-events: none; }
.map-node[data-type="section"] > summary { min-height: 58px; border-radius: 20px; }
.map-node[data-type="section"] > summary .node-card__main { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; min-height: 58px; padding: 8px 20px; }
.map-node[data-type="section"] > summary .node-host { width: 38px; height: 38px; }
.map-node[data-type="section"] > summary .node-host__icon { font-size: 20px; }
.map-node[data-type="section"] > summary .node-copy { transform: none; }
.map-node[data-type="section"] > summary .node-progress { display: none; }
.map-node[data-type="section"] > summary .node-card__main { padding-right: 56px; }
.map-node[data-type="section"] > summary .node-card__footer { position: absolute; top: 50%; right: 16px; display: block; min-height: 0; margin: 0; padding: 0; border: 0; transform: translateY(-50%); }
.map-node[data-type="section"] > summary .node-card__footer > :not(.node-horizontal-handle) { display: none; }
.map-node.is-version-context { margin-bottom: 0; }
.map-node.is-version-context > summary { display: none; }
.map-node.is-version-context > .node-body { margin-left: 0; padding-top: 0; padding-left: 0; }
.map-node.is-version-context > .node-body::before { display: none; }
.map-node--leaf > .node-body { display: none; }
.map-node--leaf:not([data-type="section"]) > summary { min-height: 90px; }
.map-error, .comments-filter-empty { max-width: 620px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; color: #d7daf0; background: var(--surface-shade), rgba(255,255,255,.03); }

.comment-modal { --modal-text: #fff; --modal-text-secondary: #d6d6d6; --modal-text-muted: #a8a8a8; --modal-control-border: rgba(255,255,255,.22); --modal-control-border-hover: rgba(255,255,255,.48); --modal-control-background: var(--surface-shade), rgba(0,0,0,.5); --modal-control-background-hover: var(--surface-shade), rgba(0,0,0,.62); --modal-focus-ring: 0 0 0 3px rgba(255,255,255,.07); position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; color: var(--modal-text); background: rgba(0,0,0,.46); -webkit-backdrop-filter: blur(7px) saturate(82%); backdrop-filter: blur(7px) saturate(82%); }
.comment-modal__panel { width: min(620px, 100%); max-height: calc(100dvh - 32px); padding: 28px 34px 36px; overflow: auto; border: var(--panel-acrylic-border); border-radius: 18px; background: var(--surface-shade), rgba(20,20,20,.64); box-shadow: var(--panel-acrylic-shadow); -webkit-backdrop-filter: blur(26px) saturate(0%); backdrop-filter: blur(26px) saturate(0%); }
.comment-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.comment-modal__header h2 { margin: 0; color: var(--modal-text); font-size: 21px; }
.modal-kicker { margin: 4px 0 0; color: var(--modal-text-muted); font-size: 11px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.add-node-modal .modal-kicker { font-size: 12px; }
.comment-modal__close { display: grid; place-items: center; width: var(--close-control-size); height: var(--close-control-size); padding: 0; border: 0; border-radius: 0; color: var(--close-control-color); background: transparent; box-shadow: none; cursor: pointer; appearance: none; transition: color .18s, opacity .18s; }
.comment-modal__close:hover, .comment-modal__close:focus-visible { outline: 0; color: var(--close-control-hover-color); background: transparent; }
.comment-modal__close .fa-icon { width: var(--close-icon-size); height: var(--close-icon-size); }
.comment-modal__label { display: block; margin: 24px 0 9px; color: var(--modal-text-secondary); font-size: 12px; font-weight: 750; }
.add-node-modal .comment-modal__label { margin-bottom: 6px; font-size: 13px; }
.comment-modal textarea { width: 100%; resize: vertical; padding: 13px; border: var(--form-control-border-width) solid var(--modal-control-border); border-radius: 12px; outline: none; color: var(--modal-text); background: var(--modal-control-background); line-height: 1.5; }
.comment-modal input::placeholder, .comment-modal textarea::placeholder { color: rgba(255,255,255,.48); }
.comment-modal textarea:focus { border-color: var(--modal-control-border-hover); box-shadow: var(--modal-focus-ring); }
.comment-modal__actions { display: flex; align-items: center; gap: 9px; margin-top: 20px; }
.comment-modal__actions button { min-height: 39px; padding: 0 14px; border: 1px solid var(--modal-control-border); border-radius: 10px; color: var(--modal-text); background: var(--modal-control-background); cursor: pointer; }
.comment-modal__actions button:hover, .comment-modal__actions button:focus-visible { border-color: var(--modal-control-border-hover); outline: 0; background: var(--modal-control-background-hover); }
.comment-modal__actions button:disabled { opacity: .38; cursor: not-allowed; }
.comment-modal__delete { color: var(--modal-text) !important; }
.comment-modal__xd { display: grid; place-items: center; width: 39px; padding: 0 !important; }
.comment-modal__xd img { display: block; width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.comment-modal__spacer { flex: 1; }
.comment-modal__save { border-color: var(--modal-control-border) !important; background: var(--modal-control-background) !important; }
.comment-modal__save:hover, .comment-modal__save:focus-visible { border-color: var(--modal-control-border-hover) !important; background: var(--modal-control-background-hover) !important; }
.settings-delete-modal { z-index: 38; }
.settings-delete-modal__panel { width: min(560px, 100%); }
.settings-delete-modal__description { margin: 22px 0 18px; color: var(--modal-text-secondary); font-size: 13px; line-height: 1.5; }
.settings-delete-modal__choices { display: grid; gap: 10px; }
.settings-delete-modal__choices > button { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 66px; padding: 12px 15px; border: 1px solid var(--modal-control-border); border-radius: 14px; color: #fff; text-align: left; background: var(--modal-control-background); cursor: pointer; }
.settings-delete-modal__choices > button:hover, .settings-delete-modal__choices > button:focus-visible { border-color: #189dff; outline: 0; background: var(--surface-shade), rgba(24,157,255,.13); }
.settings-delete-modal__choices .material-symbols-rounded { flex: 0 0 auto; font-size: 25px; }
.settings-delete-modal__choices strong, .settings-delete-modal__choices small { display: block; }
.settings-delete-modal__choices strong { font-size: 13px; }
.settings-delete-modal__choices small { margin-top: 3px; color: var(--modal-text-muted); font-size: 11px; font-weight: 400; }
.settings-delete-modal__choices > .settings-delete-modal__permanent:hover, .settings-delete-modal__choices > .settings-delete-modal__permanent:focus-visible { border-color: #ef4444; background: var(--surface-shade), rgba(239,68,68,.13); }
.checklist-item-modal { z-index: 36; background: rgba(0,0,0,.56); -webkit-backdrop-filter: blur(8px) saturate(78%); backdrop-filter: blur(8px) saturate(78%); }
.checklist-item-modal__panel { width: min(500px, 100%); padding: 26px 30px 30px; border-radius: 18px; background: var(--surface-shade), rgba(20,20,20,.72); }
.checklist-item-modal textarea { min-height: 156px; resize: vertical; border-radius: 14px; background: var(--surface-shade), rgba(0,0,0,.56); }
.checklist-item-modal__hint { margin: 9px 0 0; color: var(--modal-text-muted); font-size: 10px; line-height: 1.45; }
.checklist-item-modal__status { min-height: 15px; margin: 8px 0 0; color: #fca5a5; font-size: 10px; }
.project-modal__panel { display: flex; flex-direction: column; width: min(640px, 100%); height: auto; max-height: calc(100dvh - 72px); padding-bottom: 26px; overflow: hidden; }
.project-modal__panel .comment-modal__header h2 { font-size: 23px; font-weight: 600; }
.project-form { margin-top: 22px; }
.project-form .comment-modal__label { margin-top: 0; }
.project-form__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 9px; }
.project-form__controls:has(#cancelProjectEdit[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
.project-form__controls button { min-height: 44px; padding: 0 14px; border: 1px solid var(--modal-control-border); border-radius: 11px; color: var(--modal-text); background: var(--modal-control-background); cursor: pointer; }
.project-form__controls button:hover, .project-form__controls button:focus-visible { border-color: var(--modal-control-border-hover); outline: 0; background: var(--modal-control-background-hover); }
#saveProject { border-color: #189dff !important; background: #189dff !important; font-size: 15px; }
#saveProject:hover, #saveProject:focus-visible { border-color: #64bdff !important; background: #0f8fe8 !important; }
.project-modal__status { min-height: 18px; margin: 8px 0 0; color: var(--modal-text-muted); font-size: 11px; }
.project-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 9px; color: var(--modal-text-secondary); font-size: 12px; font-weight: 750; }
.project-list-heading small { color: var(--modal-text-muted); font-size: 10px; font-weight: 400; }
.project-list { display: grid; flex: 0 1 auto; align-content: start; gap: 8px; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.project-list__empty { padding: 22px; border: 1px solid var(--modal-control-border); border-radius: 12px; color: var(--modal-text-muted); text-align: center; }
.project-item { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 8px; }
.project-item__open, .project-item__edit { min-height: 48px; border: 2px solid var(--modal-control-border); border-radius: 12px; color: var(--modal-text); background: var(--modal-control-background); cursor: pointer; }
.project-item__open { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 0 14px; text-align: left; }
.project-item__open strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.profiles-workspace { position: absolute; inset: 0; z-index: 3; min-width: 0; overflow-x: hidden; overflow-y: auto; padding: 70px 28px 80px var(--settings-workspace-left); color: #fff; scrollbar-gutter: stable; }
.profiles-workspace[hidden] { display: none; }
.progress-dashboard { display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; padding-top: var(--settings-panel-top); padding-bottom: 0; }
.progress-dashboard__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding: 20px 24px 20px 28px; border: 1px solid rgba(255,255,255,.28); border-radius: 22px; background: var(--surface-shade), linear-gradient(105deg, rgba(5,8,22,.84), rgba(28,5,14,.74)); box-shadow: 0 20px 48px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.progress-dashboard__header h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.15; }
.progress-dashboard__header p { margin: var(--section-heading-support-gap) 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.workspace-loading { display: grid; place-content: center; min-height: 0; flex: 1; }
.progress-dashboard__loading { grid-area: 2 / 1; }
.workspace-loading[hidden] { display: none; }
.workspace-loading__disc { display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(5,8,22,.88); box-shadow: var(--shadow); }
.workspace-loading__spinner { width: 48px; height: 48px; border: 4px solid rgba(255,255,255,.28); border-top-color: #38c0f0; border-radius: 50%; animation: map-load-spin .72s linear infinite; }
.workspace-message-modal { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; color: #fff; }
.workspace-message-modal:not([open]) { display: none; }
.workspace-message-modal::backdrop { background: rgba(0,0,0,.45); }
.workspace-message-modal__message { margin: 22px 0; color: #d6d6d6; font-size: 13px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .workspace-loading__spinner { animation: none; }
}
.progress-dashboard__projects { grid-area: 2 / 1; display: grid; justify-items: start; align-content: start; gap: 44px; width: auto; min-width: 0; min-height: 0; margin-right: calc(0px - var(--settings-workspace-edge-gap)); margin-left: calc(0px - var(--settings-workspace-edge-gap)); overflow: auto; padding: 32px var(--settings-workspace-edge-gap) 18px; }
.progress-dashboard__project { --dashboard-project-border: 2px; --dashboard-project-inline: 18px; --dashboard-project-logo: 66px; --dashboard-project-gap: 14px; --dashboard-project-card-width: 520px; --dashboard-map-card-width: 470px; --dashboard-map-row-height: 78px; --dashboard-project-connector-x: calc(var(--dashboard-project-border) + var(--dashboard-project-inline) + (var(--dashboard-project-logo) / 2)); --dashboard-map-indent: calc(var(--dashboard-project-inline) + var(--dashboard-project-logo) + var(--dashboard-project-gap)); width: fit-content; }
.progress-dashboard__project-line { display: flex; align-items: center; flex-wrap: nowrap; gap: 20px; width: fit-content; }
.progress-dashboard__project-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px; width: var(--dashboard-project-card-width); min-width: var(--dashboard-project-card-width); min-height: 104px; padding: 17px 25px 17px var(--dashboard-project-inline); overflow: hidden; border: var(--dashboard-project-border) solid rgba(255,255,255,.28); border-radius: 999px; background: var(--surface-shade), linear-gradient(100deg, rgba(40,47,73,.72), rgba(91,27,49,.66)); box-shadow: 0 15px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.progress-dashboard__project-heading { display: flex; align-items: center; gap: var(--dashboard-project-gap); min-width: 0; }
.progress-dashboard__project-icon { display: grid; place-items: center; flex: 0 0 auto; width: var(--dashboard-project-logo); height: var(--dashboard-project-logo); border-radius: 50%; color: #fff; background: #38bdf8; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px rgba(56,189,248,.22); font-size: 31px; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24; }
.progress-dashboard__project-icon img, .progress-dashboard__map-icon img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.progress-dashboard__project-icon.is-initials { font-size: 17px; font-weight: 650; letter-spacing: .02em; }
.progress-dashboard__project-heading h3, .progress-dashboard__map-heading h4 { margin: 0; color: #fff; font-weight: 600; }
.progress-dashboard__project-heading > div { min-width: 0; }
.progress-dashboard__project-heading h3 { overflow: hidden; font-size: 17px; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.progress-dashboard__project-heading > div > span { display: block; margin-top: 4px; color: rgba(255,255,255,.65); font-size: 11px; line-height: 1.2; }
.progress-dashboard__metric { --metric-color: #ef4444; display: grid; grid-template-columns: 52px auto; align-items: center; column-gap: 9px; min-width: 120px; }
.progress-dashboard__metric[data-progress-level="medium"] { --metric-color: #facc15; }
.progress-dashboard__metric[data-progress-level="high"] { --metric-color: var(--switch-active); }
.progress-dashboard__metric[data-progress-level="complete"] { --metric-color: var(--finalized); }
.progress-dashboard__metric.is-empty { --metric-color: rgba(255,255,255,.28); }
.progress-dashboard__ring { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: transparent; box-shadow: 0 0 13px color-mix(in srgb, var(--metric-color) 22%, transparent); }
.progress-dashboard__ring::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(var(--metric-color) calc(var(--progress) * 1%), rgba(255,255,255,.13) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 0); }
.progress-dashboard__ring strong { position: relative; z-index: 1; font-size: 11px; font-weight: 650; }
.progress-dashboard__metric--prominent { grid-template-columns: 66px auto; min-width: 140px; }
.progress-dashboard__metric--prominent .progress-dashboard__ring { width: 66px; height: 66px; }
.progress-dashboard__metric--prominent .progress-dashboard__ring strong { font-size: 13px; }
.progress-dashboard__metric--detail-first { grid-template-columns: auto 52px; column-gap: 7px; min-width: 154px; }
.progress-dashboard__metric--detail-first.progress-dashboard__metric--prominent { grid-template-columns: auto 66px; min-width: 168px; }
.progress-dashboard__metric--detail-first .progress-dashboard__ring { grid-column: 2; }
.progress-dashboard__metric-copy { display: grid; row-gap: 2px; min-width: 0; }
.progress-dashboard__metric--detail-first .progress-dashboard__metric-copy { grid-column: 1; grid-row: 1; justify-items: end; text-align: right; }
.progress-dashboard__metric-label { align-self: end; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.1; }
.progress-dashboard__metric small { align-self: start; margin-top: 0; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.1; white-space: nowrap; }
.progress-dashboard__metric .progress-dashboard__metric-modules { margin-top: 0; }
.progress-dashboard__version-cards { position: relative; display: flex; align-items: center; flex-wrap: nowrap; gap: 20px; }
.progress-dashboard__version-cards::before { content: ""; position: absolute; z-index: 0; top: 50%; right: 0; left: -20px; height: 1px; background: rgba(255,255,255,.5); }
.progress-dashboard__version-card { position: relative; z-index: 1; display: flex; align-items: center; min-height: 104px; padding: 17px 38px 17px 20px; overflow: hidden; border: 2px solid rgba(255,255,255,.28); border-radius: 999px; background: var(--surface-shade), linear-gradient(100deg, rgba(40,47,73,.72), rgba(91,27,49,.66)); box-shadow: 0 15px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.progress-dashboard__version-card .progress-dashboard__metric { min-width: 140px; }
.progress-dashboard__maps { position: relative; display: grid; justify-items: start; gap: 9px; margin-top: 10px; padding-left: var(--dashboard-map-indent); }
.progress-dashboard__maps::before { content: ""; position: absolute; z-index: 0; top: -10px; bottom: calc(var(--dashboard-map-row-height) / 2); left: var(--dashboard-project-connector-x); width: 1px; background: rgba(255,255,255,.5); }
.progress-dashboard__map-line { position: relative; display: flex; align-items: center; flex-wrap: nowrap; gap: 20px; width: fit-content; }
.progress-dashboard__map-line::before { content: ""; position: absolute; z-index: 0; top: 50%; right: 100%; width: calc(var(--dashboard-map-indent) - var(--dashboard-project-connector-x)); height: 1px; background: rgba(255,255,255,.5); }
.progress-dashboard__map { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; width: var(--dashboard-map-card-width); min-width: var(--dashboard-map-card-width); min-height: 78px; padding: 11px 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: var(--surface-shade), rgba(12,10,23,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.progress-dashboard__map,
.progress-dashboard__version-cards { z-index: 1; }
.progress-dashboard__version-card--compact { min-height: 78px; padding: 11px 34px 11px 22px; border: 1px solid rgba(255,255,255,.18); background: var(--surface-shade), rgba(12,10,23,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.progress-dashboard__version-card--compact .progress-dashboard__metric { min-width: 120px; }
.progress-dashboard__map-line:nth-child(even) :is(.progress-dashboard__map, .progress-dashboard__version-card--compact) { background: var(--surface-shade), rgba(43,20,47,.48); }
.progress-dashboard__map-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.progress-dashboard__map-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(0,0,0,.48); }
.progress-dashboard__map-icon .material-symbols-rounded { color: inherit; font-size: 23px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.progress-dashboard__map-icon.is-initials { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.progress-dashboard__map-heading h4 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
#projectsWorkspace, #profilesWorkspace, #usersWorkspace, #permissionsWorkspace { padding-top: var(--settings-panel-top); }
#projectsWorkspace { padding-bottom: var(--settings-panel-top); }
#projectsWorkspace:not([hidden]) { display: grid; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; }
#projectsWorkspace .profile-table-scroll { min-height: 0; overflow-x: auto; overflow-y: auto; }
#projectsWorkspace .profile-table thead { position: sticky; top: 0; z-index: 2; }
.profile-editor-panel { --profile-action-size: 54px; --profile-action-anchor-offset: 12px; --profile-editor-padding-top: 29px; --profile-editor-padding-inline: 30px; --profile-editor-padding-bottom: 15px; display: grid; grid-template-columns: minmax(0, 1fr) var(--profile-action-size); width: 100%; min-height: var(--profile-editor-panel-min-height); overflow: hidden; border: 2px solid rgba(255,255,255,.3); border-radius: 22px; background: var(--panel-acrylic-background); box-shadow: var(--panel-acrylic-drop-shadow), inset 0 1px 0 rgba(255,255,255,.16); -webkit-backdrop-filter: var(--panel-acrylic-filter); backdrop-filter: var(--panel-acrylic-filter); }
.profile-editor-panel__content { min-width: 0; padding: var(--profile-editor-padding-top) var(--profile-editor-padding-inline) var(--profile-editor-padding-bottom); container: profile-form / inline-size; }
.profile-form { --form-layout-columns: 6; --form-layout-max-width: var(--form-layout-width-6x); display: grid; grid-template-columns: repeat(var(--form-layout-columns), minmax(0, 1fr)); align-items: end; gap: var(--form-layout-row-gap) var(--form-layout-column-gap); width: min(100%, var(--form-layout-max-width)); margin: 0; }
.profile-form__field { display: grid; min-width: 0; gap: var(--form-label-control-gap); color: rgba(255,255,255,.85); font-size: 12px; }
.profile-form__field > span { padding-left: var(--form-label-inline-inset); }
.profile-form__field :is(input, select) { width: 100%; min-width: 0; height: var(--form-control-height); padding: 0 var(--form-label-inline-inset); border: var(--form-control-border-width) solid rgba(255,255,255,.25); border-radius: var(--form-pill-radius); outline: 0; color: #fff; background-color: color-mix(in srgb, #08080c calc(var(--surface-darkening) * 100%), rgba(0,0,0,.64)); font-size: 13px; }
.profile-form__field select { padding-right: 40px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--form-select-arrow-inset) center; background-size: 16px; }
.profile-form__field :is(input, select):disabled { opacity: .5; cursor: not-allowed; }
.profile-form__field input::placeholder { color: rgba(255,255,255,.42); }
.profile-form__field :is(input, select):focus { border-color: rgba(56,189,248,.78); box-shadow: 0 0 0 3px rgba(56,189,248,.11); }
.profile-form__inline-action { align-self: end; min-height: 40px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.58); cursor: pointer; font: inherit; font-size: 12px; white-space: nowrap; }
.profile-form__inline-action:hover, .profile-form__inline-action:focus-visible { border-color: #189dff; outline: 0; background: var(--surface-shade), rgba(24,157,255,.18); }
.profile-form__inline-action:disabled { opacity: .55; cursor: default; }
.profile-form__status { grid-column: 1 / -1; min-height: 16px; margin: -7px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
/* Keep the original trash anchor and the same compact spacing in every form toolbar. */
.profile-editor-panel__actions { --profile-action-step: calc(var(--profile-action-size) - var(--profile-action-anchor-offset)); display: flex; flex-direction: column; padding-top: calc(var(--profile-action-size) / 2 + var(--profile-action-anchor-offset) - var(--profile-action-step) / 2); border-left: 1px solid rgba(255,255,255,.11); background: var(--surface-shade), rgba(0,0,0,.42); }
.profile-editor-panel__actions button { display: grid; place-items: center; flex: 0 0 var(--profile-action-step); width: var(--profile-action-size); height: var(--profile-action-step); padding: 0; border: 0; color: rgba(255,255,255,.8); background: transparent; cursor: pointer; }
.profile-editor-panel__actions button:hover, .profile-editor-panel__actions button:focus-visible { outline: 0; color: #fff; background: var(--surface-shade), rgba(255,255,255,.08); }
.profile-editor-panel__actions button:disabled { opacity: .35; cursor: wait; }
.profile-editor-panel__actions .material-symbols-rounded { font-size: 24px; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24; }
.profile-editor-panel__actions :is(#submitProfile, #submitUser, #submitPermission) { color: #fff; }
.profile-table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 64px; margin-top: 22px; padding: 12px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px 20px 0 0; background: var(--panel-acrylic-background); box-shadow: var(--panel-acrylic-drop-shadow), inset 0 1px 0 rgba(255,255,255,.16); -webkit-backdrop-filter: var(--panel-acrylic-filter); backdrop-filter: var(--panel-acrylic-filter); }
.profile-table-toolbar > div { display: flex; align-items: center; align-self: stretch; }
.profile-table-toolbar > .profile-table-toolbar__actions { justify-content: flex-end; gap: 16px; }
.profile-table-toolbar strong { display: block; font-size: 15px; font-weight: 600; }
.profile-table-bulk-action { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.48); cursor: pointer; font: inherit; font-size: 11px; }
.profile-table-bulk-action[hidden] { display: none; }
.profile-table-bulk-action:hover, .profile-table-bulk-action:focus-visible { border-color: #ef4444; outline: 0; background: var(--surface-shade), rgba(239,68,68,.16); }
.profile-table-bulk-action:disabled { opacity: .45; cursor: default; }
.profile-table-bulk-action .material-symbols-rounded { font-size: 18px; }
.profile-table-bulk-action__count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(255,255,255,.14); font-size: 10px; font-weight: 700; }
.profile-inactive-switch { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; color: #fff; cursor: pointer; font-size: 11px; font-weight: 550; }
.profile-active-switch { align-self: end; height: 40px; }
.profile-table-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; border: 1px solid rgba(255,255,255,.16); border-top: 0; border-radius: 0 0 20px 20px; background: var(--surface-shade), rgba(0,0,0,.42); }
.profile-table { width: 100%; border-spacing: 0; border-collapse: separate; table-layout: auto; }
.profile-table th { white-space: nowrap; height: 45px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.74); background: var(--surface-shade), rgba(27,17,33,.92); font-size: 11px; font-weight: 500; letter-spacing: .015em; text-align: left; text-transform: uppercase; }
.content-sized-table {
  --table-checkbox-size: 16px;
  --table-selection-start: 22px;
  --table-selection-end: 8px;
  --table-selection-width: calc(var(--table-selection-start) + var(--table-checkbox-size) + var(--table-selection-end));
  table-layout: auto;
}
.content-sized-table :is(th, td):not(.content-sized-table__spacer) { width: 1%; padding-right: 18px; padding-left: 18px; white-space: nowrap; }
.content-sized-table .content-sized-table__spacer { width: auto; padding: 0; }
.content-sized-table :is(th, td).profile-table__selection { width: var(--table-selection-width); min-width: var(--table-selection-width); padding-right: var(--table-selection-end); padding-left: var(--table-selection-start); text-align: center; text-overflow: clip; }
.project-settings-table__item { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.project-settings-table__identity { flex: 0 0 auto; display: grid; place-items: center; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: #fff; background: var(--surface-shade), rgba(0,0,0,.48); line-height: 1; }
.project-settings-table__identity--project,
.project-settings-table__identity--map { width: 38px; height: 38px; }
.project-settings-table__identity--project { background: #38bdf8; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.project-settings-table__identity--map { font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.project-settings-table__identity img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.project-settings-table__identity .material-symbols-rounded { color: inherit; font-size: 18px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.project-settings-table__identity--map .material-symbols-rounded { font-size: 17px; }
.profile-table__selection input { display: block; width: var(--table-checkbox-size, 16px); height: var(--table-checkbox-size, 16px); margin: 0 auto; accent-color: #189dff; cursor: pointer; }
.project-table-sort { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 0; border: 0; color: inherit; background: none; font: inherit; letter-spacing: inherit; text-align: left; text-transform: inherit; cursor: pointer; }
.project-table-sort__label { white-space: nowrap; }
.project-table-sort__indicator { flex: 0 0 auto; font-size: 9px; }
.project-table-sort:is(:hover, :focus-visible), .project-table-sort.is-active { color: #7dd3fc; }
.project-table-sort:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.version-table :is(th, td):first-child { text-align: center; }
.version-table__row { cursor: default; }
.profile-table :is(th, td).profile-table__numeric { text-align: right; }
.profile-table :is(th, td).profile-table__center { text-align: center; }
.project-settings-row--map .project-settings-table__maps { position: relative; }
.project-settings-row--map .project-settings-table__maps strong { font-weight: 550; }
.project-settings-table__open { display: block; max-width: 100%; padding: 0; overflow: hidden; border: 0; color: inherit; background: none; font: inherit; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.project-settings-table__open strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.project-settings-table__open:not(:disabled):is(:hover, :focus-visible) { color: #38bdf8; text-decoration: underline; text-underline-offset: 3px; }
.project-settings-table__open:focus-visible { outline: 1px solid #38bdf8; outline-offset: 2px; }
.project-settings-table__open:disabled { cursor: default; }
.project-status-switch { flex-direction: row; justify-content: center; gap: 8px; white-space: nowrap; vertical-align: middle; }
.project-status-switch__label { font-size: 10px; line-height: 1.2; }
.profile-item { background: var(--surface-shade), rgba(47,25,54,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: background .16s, opacity .16s; }
.profile-item:nth-child(odd) { background: var(--surface-shade), rgba(64,22,74,.62); }
.profile-item:hover, .profile-item:focus-visible { outline: 0; background: var(--surface-shade), rgba(49,72,103,.7); }
.profile-item.is-protected { cursor: default; }
.profile-item.is-protected:hover { background: var(--surface-shade), rgba(47,25,54,.72); }
.profile-item.is-protected:nth-child(odd):hover { background: var(--surface-shade), rgba(64,22,74,.62); }
.profile-item.is-editing { background: var(--surface-shade), rgba(32,86,120,.55); box-shadow: inset 3px 0 0 #38bdf8; }
.profile-item.project-settings-row--map.is-editing { background: var(--surface-shade), rgba(32,86,120,.55); box-shadow: inset 3px 0 0 #38bdf8; }
.profile-item.is-inactive { opacity: .58; }
.profile-item td { height: 68px; padding: 10px 18px; overflow: hidden; border-bottom: var(--table-row-divider); color: rgba(255,255,255,.82); font-size: 12px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
.profile-item__name strong { display: block; overflow: hidden; color: #fff; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.profile-item__badge { display: inline-flex; align-items: center; min-height: 23px; padding: 0 9px; border: 1px solid rgba(52,211,153,.42); border-radius: 999px; color: #a7f3d0; font-size: 10px; }
.profile-item__badge--inactive { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.62); }
.user-credential-cell { overflow: visible !important; }
.user-credential-control { display: flex; align-items: center; gap: 8px; min-width: 0; }
.user-credential-password { width: 150px; height: 32px; flex: 0 0 150px; padding: 0 11px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(3,5,12,.56); font: 11px ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; text-overflow: ellipsis; }
.user-credential-actions { display: flex; align-items: center; gap: 6px; }
.user-credential-share,.user-credential-reset { min-height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.46); font: 600 10px inherit; cursor: pointer; }
.user-credential-share:hover,.user-credential-share:focus-visible,.user-credential-reset:hover,.user-credential-reset:focus-visible { border-color: #38bdf8; outline: 0; background: var(--surface-shade), rgba(56,189,248,.16); }
.user-credential-reset:disabled { opacity: .42; cursor: default; }
.user-credential-share-modal__panel { width: min(560px, 100%); }
.user-credential-share-modal textarea { min-height: 146px; resize: none; font: 12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; }
.profile-table__empty { height: 120px; padding: 24px; color: rgba(255,255,255,.56); text-align: center; background: var(--surface-shade), rgba(0,0,0,.54); font-size: 13px; }
.permission-editor-panel { min-height: 0; }
.permission-form { align-items: end; }
.permission-project-trigger, .permission-capability-trigger { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; overflow: hidden; }
.permission-capability-trigger { justify-content: center; text-align: center; }
.permission-project-trigger[hidden] { display: none; }
.permission-project-trigger > span, .permission-capability-trigger > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.permission-project-trigger small, .permission-capability-trigger small { flex: 0 0 auto; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); font-size: 10px; }
.permission-project-modal { z-index: 39; }
.permission-project-modal__panel { display: flex; flex-direction: column; width: min(680px, 100%); max-height: calc(100dvh - 64px); overflow: hidden; }
.permission-project-tree { display: grid; gap: 10px; min-height: 180px; margin-top: 22px; overflow-y: auto; padding: 2px 7px 2px 2px; }
.permission-project-group { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: var(--surface-shade), rgba(0,0,0,.34); }
.permission-project-row { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 58px; padding: 9px 16px; color: rgba(255,255,255,.84); cursor: pointer; }
.permission-project-row:hover { background: var(--surface-shade), rgba(255,255,255,.045); }
.permission-project-row--project { min-height: 64px; background: var(--surface-shade), rgba(255,255,255,.035); }
.permission-project-row--map { position: relative; margin-left: 36px; border-top: 1px solid rgba(255,255,255,.08); }
.permission-project-row--map::before { content: ""; position: absolute; top: 0; bottom: 50%; left: -19px; width: 13px; border-bottom: 1px solid rgba(255,255,255,.24); border-left: 1px solid rgba(255,255,255,.24); }
.permission-project-copy { min-width: 0; }
.permission-project-copy strong, .permission-project-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.permission-project-copy strong { color: #fff; font-size: 13px; font-weight: 600; }
.permission-project-copy small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 10px; }
.permission-project-modal__status { margin: 14px 2px 0; }
.permission-capability-modal { z-index: 40; }
.permission-capability-modal__panel { display: flex; flex-direction: column; width: min(1040px, 100%); max-height: calc(100dvh - 64px); padding-bottom: 28px; overflow: hidden; }
.permission-capability-modal__header-actions { display: flex; align-items: center; gap: 8px; }
.permission-capability-modal__confirm .material-symbols-rounded { font-size: 24px; }
.permission-capability-modal__confirm:disabled { opacity: .32; cursor: default; }
.permission-capability-table-wrap { flex: 1 1 auto; min-height: 0; margin-top: 22px; overflow: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: var(--surface-shade), rgba(0,0,0,.34); }
.permission-capability-table { width: 100%; min-width: 790px; border-spacing: 0; border-collapse: collapse; }
.permission-capability-table th { white-space: nowrap; position: sticky; top: 0; z-index: 2; height: 45px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); background: var(--surface-shade), rgba(27,17,33,.96); font-size: 10px; font-weight: 550; text-align: center; text-transform: uppercase; }
.permission-capability-table th:first-child { min-width: 250px; text-align: left; }
.permission-capability-table td { white-space: nowrap; height: 56px; padding: 8px 14px; border-bottom: var(--table-row-divider); text-align: center; }
.permission-capability-table tr:last-child td { border-bottom: 0; }
.permission-capability-table__resource { position: relative; color: rgba(255,255,255,.82); text-align: left !important; }
.permission-capability-table__resource strong, .permission-capability-table__resource small { display: inline; white-space: nowrap; }
.permission-capability-table__resource strong { color: #fff; font-size: 12px; font-weight: 600; }
.permission-capability-table__resource small { margin-left: 8px; color: rgba(255,255,255,.52); font-size: 10px; }
.permission-capability-row--project { background: var(--surface-shade), rgba(255,255,255,.045); }
.permission-capability-row--all td { position: sticky; top: 45px; z-index: 1; background: var(--surface-shade), rgba(22,92,134,.96); }
.permission-capability-row--map:nth-child(odd) { background: var(--surface-shade), rgba(255,255,255,.018); }
.permission-capability-row--map .permission-capability-table__resource { padding-left: 48px; }
.permission-capability-row--map .permission-capability-table__resource::before { content: ""; position: absolute; top: 0; bottom: 50%; left: 27px; width: 13px; border-bottom: 1px solid rgba(255,255,255,.24); border-left: 1px solid rgba(255,255,255,.24); }
.permission-rule-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.billing-workspace { display: flex; flex-direction: column; min-height: 0; padding-top: var(--settings-panel-top); }
.versions-workspace { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; overflow: hidden; padding-top: var(--settings-panel-top); padding-bottom: var(--settings-panel-top); }
.versions-workspace__toolbar { margin-top: 0; }
.versions-workspace .profile-table-scroll { min-height: 0; overflow-x: auto; overflow-y: auto; }
.versions-workspace .profile-table thead { position: sticky; top: 0; z-index: 2; }
.workspace-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 23px 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: var(--panel-acrylic-background); box-shadow: var(--panel-acrylic-drop-shadow), inset 0 1px 0 rgba(255,255,255,.16); -webkit-backdrop-filter: var(--panel-acrylic-filter); backdrop-filter: var(--panel-acrylic-filter); }
.workspace-header h2 { margin: 0; color: #fff; font-size: 20px; font-weight: 600; }
.workspace-header p { margin: var(--section-heading-support-gap) 0 0; color: rgba(255,255,255,.62); font-size: 11px; }
.billing-workspace__source { display: inline-flex; align-items: center; min-height: 27px; padding: 0 11px; border: 1px solid rgba(250,204,21,.36); border-radius: 999px; color: #fde68a; background: rgba(161,98,7,.2); font-size: 10px; white-space: nowrap; }
.billing-workspace__content { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.billing-workspace__content[hidden], .billing-workspace__source:empty { display: none; }
.billing-workspace__toolbar { margin-top: 22px; }
.billing-table .profile-item { cursor: default; }
.billing-table .profile-item:hover { background: var(--surface-shade), rgba(49,72,103,.54); }
.billing-system strong, .billing-system small, .billing-contract strong, .billing-contract small { display: inline; }
.billing-system strong, .billing-contract strong { color: #fff; font-size: 12px; font-weight: 600; }
.billing-system small, .billing-contract small { margin-left: 8px; color: rgba(255,255,255,.54); font-size: 10px; }
.billing-period { color: #fff; white-space: nowrap; }
.billing-period strong, .billing-period small { display: inline; }
.billing-period strong { font-size: 11px; font-weight: 600; }
.billing-period small { margin-left: 8px; color: rgba(255,255,255,.54); font-size: 9px; }
.billing-actions { display: flex; align-items: center; justify-content: center; gap: 7px; }
.billing-action { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.48); cursor: pointer; font: inherit; font-size: 10px; }
.billing-action:hover, .billing-action:focus-visible { border-color: #38bdf8; outline: 0; background: var(--surface-shade), rgba(56,189,248,.14); }
.billing-action .material-symbols-rounded { font-size: 18px; font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 20; }
.billing-action--renew { gap: 6px; padding-inline: 12px; }
.billing-action--pending { color: #fde68a; }
.billing-document-modal { z-index: 42; padding: 24px; }
.billing-document-modal__panel { display: flex; flex-direction: column; width: min(980px, 100%); height: min(900px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); padding: 24px 28px 22px; overflow: hidden; }
.billing-document-modal__header-actions { display: flex; align-items: center; gap: 8px; }
.billing-document-modal__download { text-decoration: none; }
.billing-document-modal__download .material-symbols-rounded { font-size: 24px; }
.billing-document-preview { flex: 1 1 auto; min-height: 0; margin-top: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: #d9dde6; }
.billing-document-preview iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.billing-document-modal__notice { flex: 0 0 auto; margin: 12px 2px 0; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.5; }

.account-workspace { --account-card-padding-inline: 36px; display: grid; min-height: 100%; padding: 24px 28px 24px var(--settings-workspace-left); place-items: safe center; container: account-workspace / inline-size; }
.account-card { --form-layout-columns: 2; --form-layout-max-width: var(--form-layout-width-2x); width: min(calc(var(--form-layout-max-width) + var(--account-card-padding-inline) + var(--account-card-padding-inline)), 100%); padding: var(--account-card-padding-block) var(--account-card-padding-inline); border: var(--form-control-border-width) solid rgba(255,255,255,.22); border-radius: 36px; background: var(--panel-acrylic-background); box-shadow: var(--panel-acrylic-drop-shadow), inset 0 1px 0 rgba(255,255,255,.16); -webkit-backdrop-filter: var(--panel-acrylic-filter); backdrop-filter: var(--panel-acrylic-filter); }
.account-card--billing { --form-layout-columns: 4; --form-layout-max-width: var(--form-layout-width-4x); }
.account-card__header { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.account-card__mark { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #8b5cf6, #2563eb); box-shadow: 0 10px 22px rgba(0,0,0,.28); }
.account-card__mark--billing { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.account-card__mark--password { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.account-card__mark .material-symbols-rounded { font-size: 25px; font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 24; }
.account-card__header h2 { margin: 0; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.1; }
.account-card__header p { margin: var(--section-heading-support-gap) 0 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.25; }
.account-form-grid { display: grid; grid-template-columns: repeat(var(--form-layout-columns), minmax(0, 1fr)); gap: var(--form-layout-row-gap) var(--form-layout-column-gap); width: 100%; }
.account-field { display: grid; gap: var(--form-label-control-gap); min-width: 0; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 600; }
.account-field--wide { grid-column: 1 / -1; }
.account-field--billing-double { grid-column: span 2; }
.account-field--billing-triple { grid-column: span 3; }
.account-field > span { padding-left: var(--form-label-inline-inset); line-height: 1.15; }
.account-field > label { padding-left: var(--form-label-inline-inset); line-height: 1.15; }
.account-field :is(input, select) { width: 100%; height: var(--form-control-height); min-width: 0; padding: 0 var(--form-label-inline-inset); border: var(--form-control-border-width) solid rgba(255,255,255,.2); border-radius: var(--form-pill-radius); outline: 0; color: #fff; background-color: color-mix(in srgb, #08080c calc(var(--surface-darkening) * 100%), rgba(4,7,20,.74)); font: inherit; font-size: 12px; font-weight: 400; }
.account-field select { padding-right: 44px; appearance: none; -webkit-appearance: none; color-scheme: dark; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--form-select-arrow-inset) center; background-size: 16px; cursor: pointer; }
.account-field :is(input, select):hover { border-color: rgba(255,255,255,.38); }
.account-field :is(input, select):focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.18); }
.account-field input::placeholder { color: rgba(255,255,255,.38); }
.account-password-control { position: relative; min-width: 0; }
.account-field .account-password-control input { padding-right: 48px; }
.account-password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; place-items: center; color: rgba(255,255,255,.68); background: transparent; cursor: pointer; transform: translateY(-50%); }
.account-password-toggle:hover, .account-password-toggle:focus-visible { outline: 0; color: #fff; background: var(--surface-shade), rgba(255,255,255,.1); }
.account-password-toggle .material-symbols-rounded { font-size: 19px; font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 24; }
.account-password-requirements { margin: 13px var(--form-label-inline-inset) 0; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.4; }
.account-card__status { min-height: 18px; margin: 18px 0 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.45; text-align: center; }
.account-card__status:empty { display: none; }
.account-card__status.is-error { color: #fca5a5; }
.account-card__status.is-success { color: #86efac; }
.account-card__submit { display: flex; align-items: center; justify-content: center; width: min(170px, 100%); height: var(--form-control-height); margin: var(--account-card-submit-gap) auto 0; padding: 0 24px; border: 0; border-radius: 999px; color: #fff; background: #2296ec; box-shadow: 0 10px 24px rgba(34,150,236,.22); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
.account-card__status:not(:empty) + .account-card__submit { margin-top: 16px; }
.account-card__submit:hover, .account-card__submit:focus-visible { outline: 0; background: #3aabff; }
.account-card__submit:disabled { opacity: .55; cursor: wait; }

@container account-workspace (max-width: 895px) {
  .account-card--billing { --form-layout-columns: 3; --form-layout-max-width: var(--form-layout-width-3x); }
}

@container account-workspace (max-width: 685px) {
  .account-card, .account-card--billing { --form-layout-columns: 2; --form-layout-max-width: var(--form-layout-width-2x); }
}

@container account-workspace (max-width: 475px) {
  .account-card, .account-card--billing { --form-layout-columns: 1; --form-layout-max-width: var(--form-layout-width-1x); }
  .account-field--wide, .account-field--billing-double, .account-field--billing-triple { grid-column: auto; }
}

@container profile-form (max-width: 1243px) {
  .profile-form { --form-layout-columns: 5; --form-layout-max-width: var(--form-layout-width-5x); }
}

@container profile-form (max-width: 1033px) {
  .profile-form { --form-layout-columns: 4; --form-layout-max-width: var(--form-layout-width-4x); }
}

@container profile-form (max-width: 823px) {
  .profile-form { --form-layout-columns: 3; --form-layout-max-width: var(--form-layout-width-3x); }
}

@container profile-form (max-width: 613px) {
  .profile-form { --form-layout-columns: 2; --form-layout-max-width: var(--form-layout-width-2x); }
}

@container profile-form (max-width: 403px) {
  .profile-form { --form-layout-columns: 1; --form-layout-max-width: var(--form-layout-width-1x); }
}

@media (max-width: 900px) {
  .profiles-workspace { padding-right: 14px; }
}

@media (max-width: 768px) {
  .profile-table-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .profiles-workspace.versions-workspace {
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: var(--settings-panel-top);
    padding-bottom: var(--settings-panel-top);
  }
  .versions-workspace__toolbar,
  .versions-workspace .profile-table-scroll { flex: 0 0 auto; width: 100%; }
  .versions-workspace .profile-table-scroll { min-height: auto; overflow-x: auto; overflow-y: visible; }
  .billing-actions { justify-content: flex-start; }
  .account-workspace { --account-card-padding-inline: 22px; }
  .account-card { border-radius: 30px; }
}

@media (max-width: 560px) {
  .profiles-workspace { padding: 22px 12px 48px var(--settings-workspace-left); }
  .profile-editor-panel { --profile-action-size: 48px; --profile-editor-padding-top: 22px; --profile-editor-padding-inline: 18px; --profile-editor-padding-bottom: 12px; grid-template-columns: minmax(0, 1fr) var(--profile-action-size); }
  .profile-form__inline-action { width: 100%; }
  .profile-form__hint { grid-column: 1 / -1; }
  .profile-table-toolbar { align-items: flex-start; flex-direction: column; min-height: 0; padding: 17px 15px; }
  .workspace-header { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px 18px; }
  .billing-document-modal { padding: 12px; }
  .billing-document-modal__panel { height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); padding: 20px 16px 16px; }
  .billing-document-preview { margin-top: 14px; }
  .account-workspace { padding: 30px 12px 30px var(--settings-workspace-left); place-items: safe center; }
  .account-workspace { --account-card-padding-inline: 18px; }
  .account-card { border-radius: 26px; }
  .account-card__header { align-items: flex-start; margin-bottom: 24px; }
}

@media (max-width: 768px) {
  .app-shell { --sidebar-rail-left: 8px; --sidebar-rail-width: 46px; --settings-workspace-edge-gap: 12px; --settings-panel-top: 10px; --sidebar-radius: 36px; --sidebar-rail-radius: 16px; }
  .app-shell:is(.is-settings-mode, .is-versions-mode, .is-progress-mode, .is-billing-mode, .is-account-mode).is-sidebar-open {
    --settings-workspace-left: var(--settings-workspace-edge-gap);
  }
  .sidebar { top: 10px; bottom: 10px; left: 10px; width: min(var(--sidebar-width), calc(100vw - 20px)); }
  .sidebar-rail { top: 10px; bottom: 10px; padding-inline: 0; }
  .profiles-workspace { padding-right: var(--settings-workspace-edge-gap); }
  .account-workspace { padding-right: var(--settings-workspace-edge-gap); }
  .account-card,
  .account-card--billing {
    --form-layout-columns: 1;
    --form-layout-max-width: 100%;
  }
}
.project-item__open small { flex: 0 0 auto; color: var(--modal-text-muted); font-size: 11px; text-transform: uppercase; }
.project-item__edit { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; }
.project-item__edit .fa-icon { width: 15px; height: 15px; }
.project-item__open:hover, .project-item__open:focus-visible, .project-item__edit:hover, .project-item__edit:focus-visible { border-color: var(--modal-control-border-hover); outline: 0; background: var(--modal-control-background-hover); }
.project-item.is-active .project-item__open { border-color: rgba(255,255,255,.52); background: var(--surface-shade), rgba(255,255,255,.1); }
.attachment-modal__panel { width: min(560px, 100%); }
.attachment-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 22px; }
.attachment-picker { display: flex; align-items: center; min-width: 0; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: #d9ddf0; background: #0a0d1e; cursor: pointer; }
.attachment-picker input { position: absolute; overflow: hidden; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.attachment-picker span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; font-weight: 700; }
.attachment-upload button { min-height: 42px; padding: 0 17px; border: 1px solid rgba(var(--accent-rgb), .62); border-radius: 11px; color: var(--text); background: var(--surface-shade), rgba(var(--accent-rgb), .16); cursor: pointer; }
.attachment-upload button:disabled { opacity: .46; cursor: wait; }
.attachment-status { min-height: 18px; margin: 9px 0; color: var(--muted); font-size: 11px; }
.attachment-list { display: grid; gap: 8px; max-height: 310px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.attachment-list__empty { padding: 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); text-align: center; background: var(--surface-shade), rgba(255,255,255,.02); font-size: 12px; }
.attachment-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; padding: 9px 10px 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-shade), rgba(255,255,255,.025); }
.attachment-item__copy { min-width: 0; }
.attachment-item__copy strong, .attachment-item__copy small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.attachment-item__copy strong { font-size: 12px; }
.attachment-item__copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.attachment-item__actions { display: flex; gap: 7px; }
.attachment-item__actions a, .attachment-item__actions button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: #d9ddf0; text-decoration: none; background: var(--surface-shade), rgba(255,255,255,.035); cursor: pointer; font-size: 10px; }
.attachment-item__actions a:hover, .attachment-item__actions button:hover { border-color: rgba(var(--accent-rgb), .55); background: var(--surface-shade), rgba(var(--accent-rgb), .09); }
.attachment-item__actions button { color: #c4b5fd; }
.add-node-modal__panel { width: min(470px, 100%); }
.add-node-modal__input { width: 100%; height: 44px; padding: 0 var(--form-control-inline-inset); border: var(--form-control-border-width) solid var(--line); border-radius: 12px; outline: none; color: var(--text); background: #0a0d1e; }
.add-node-modal__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .11); }
.add-node-modal__type-label { margin-top: 16px; }
.add-node-modal__select { width: 100%; height: 44px; padding: 0 38px 0 var(--form-control-inline-inset); border: var(--form-control-border-width) solid var(--line); border-radius: 12px; outline: none; appearance: none; -webkit-appearance: none; color: var(--text); background-color: #0a0d1e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--form-control-inline-inset) center; background-size: 16px; cursor: pointer; }
.add-node-modal__select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .11); }
.add-node-modal__lateral { gap: 11px; margin-top: 18px; color: #fff; font-size: 12px; }
.documentation-modal__panel { width: min(560px, 100%); }
.documentation-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) auto; align-items: end; gap: 9px; margin-top: 22px; }
.documentation-form label { display: grid; gap: 7px; min-width: 0; color: #d9ddf0; font-size: 10px; font-weight: 650; }
.documentation-form input { width: 100%; height: 42px; padding: 0 12px; border: var(--form-control-border-width) solid var(--line); border-radius: 11px; outline: none; color: var(--text); background: #0a0d1e; }
.documentation-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1); }
.documentation-form button { min-height: 42px; padding: 0 15px; border: 1px solid rgba(var(--accent-rgb), .62); border-radius: 11px; color: var(--text); background: var(--surface-shade), rgba(var(--accent-rgb), .16); cursor: pointer; }
.documentation-form button:disabled { opacity: .46; cursor: wait; }
.documentation-list { display: grid; gap: 8px; max-height: 310px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.documentation-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; padding: 9px 10px 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-shade), rgba(255,255,255,.025); }
.documentation-item__link { display: block; min-width: 0; color: #eef0ff; text-decoration: none; }
.documentation-item__link strong, .documentation-item__link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.documentation-item__link strong { font-size: 12px; font-weight: 600; }
.documentation-item__link small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.documentation-item__link:hover strong { color: var(--module); }
.documentation-item__delete { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: #c4b5fd; background: var(--surface-shade), rgba(255,255,255,.035); cursor: pointer; font-size: 10px; }
/* Shared image cropper: fixed output coordinates, responsive preview. */
.image-editor { box-sizing: border-box; width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 24px; overflow: auto; border: var(--panel-acrylic-border); border-radius: 24px; color: #fff; background: var(--surface-shade), rgba(26, 26, 36, .96); box-shadow: var(--panel-acrylic-shadow); font: inherit; }
.image-editor::backdrop { background: rgba(0,0,0,.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.image-editor .comment-modal__header h2 { margin: 0; font-size: 20px; }
.image-editor__help { margin: 12px 0; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.5; }
.image-editor__preview { position: relative; width: min(100%, 300px, 42dvh); aspect-ratio: 1; margin: 16px auto; overflow: hidden; border-radius: 12px; background: repeating-conic-gradient(#41414b 0% 25%, #30303a 0% 50%) 0 / 20px 20px; }
.image-editor__preview canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.image-editor__preview canvas:active { cursor: grabbing; }
.image-editor__preview canvas:focus-visible { outline: 2px solid #29bdf0; outline-offset: -2px; }
.image-editor__circle { position: absolute; inset: 0; border: 1px dashed rgba(255,255,255,.8); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 100px rgba(0,0,0,.25); }
.image-editor__zoom { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 13px; }
.image-editor__zoom input { grid-column: 1 / -1; width: 100%; min-width: 0; margin: 0; accent-color: #29bdf0; }
.image-editor__tools, .image-editor__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.image-editor__tools button, .image-editor__actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: var(--surface-shade), rgba(0,0,0,.35); font: inherit; font-size: 13px; cursor: pointer; }
.image-editor button:focus-visible { outline: 2px solid #29bdf0; outline-offset: 2px; }
.image-editor button:hover { border-color: #fff; }
.image-editor button:disabled, .image-editor input:disabled { opacity: .5; cursor: wait; }
.image-editor__tools .material-symbols-rounded { font-size: 22px; }
.image-editor__actions .image-editor__save { background: #199b4b; }
.image-editor__status { margin: 10px 0 0; color: #ffd66c; font-size: 13px; line-height: 1.4; }
.image-editor__status:empty { display: none; }

.icon-picker-modal__panel { display: flex; flex-direction: column; width: min(880px, 100%); height: calc(100dvh - 64px); max-height: none; padding-bottom: 14px; overflow: hidden; }
.icon-picker-modal__toolbar { display: grid; grid-template-columns: minmax(180px, .85fr) 124px auto auto; gap: 10px; margin: 20px 0 12px; }
.icon-picker-modal__search { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 46px; padding: 0 13px; border: var(--form-control-border-width) solid rgba(255,255,255,.18); border-radius: 14px; color: rgba(255,255,255,.6); background: var(--surface-shade), rgba(0,0,0,.5); }
.icon-picker-modal__search .material-symbols-rounded { font-size: 20px; }
.icon-picker-modal__search:focus-within { border-color: rgba(255,255,255,.48); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.icon-picker-modal__search input { min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; font-size: 13px; letter-spacing: 0; }
.icon-picker-modal__search input::-webkit-search-cancel-button { display: none; }
.icon-picker-modal__source { position: relative; display: block; min-width: 0; }
.icon-picker-modal__source::after { content: "expand_more"; position: absolute; top: 50%; right: 12px; color: rgba(255,255,255,.62); font-family: "Material Symbols Rounded"; font-size: 18px; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.icon-picker-modal__source select { width: 100%; min-height: 46px; padding: 0 38px 0 14px; border: var(--form-control-border-width) solid rgba(255,255,255,.18); border-radius: 14px; outline: 0; appearance: none; -webkit-appearance: none; color: rgb(255,255,255); background: var(--surface-shade), rgba(0,0,0,.5); cursor: pointer; font: inherit; font-size: 12px; }
.icon-picker-modal__source select:hover, .icon-picker-modal__source select:focus-visible { border-color: rgba(255,255,255,.48); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.icon-image-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: #fff; background: var(--surface-shade), rgba(255,255,255,.07); cursor: pointer; font: inherit; font-size: 11px; font-weight: 600; white-space: nowrap; }
.icon-image-button:hover, .icon-image-button:focus-visible { border-color: rgba(255,255,255,.48); background: var(--surface-shade), rgba(255,255,255,.12); outline: 0; }
.icon-image-button:disabled { opacity: .35; cursor: default; }
.icon-image-button .material-symbols-rounded { font-size: 19px; }
.icon-color-panel { --icon-color-swatch-size: 22px; --icon-color-action-size: 24px; display: grid; grid-template-columns: 58px repeat(2, minmax(0, 1fr)); align-items: center; gap: 14px; margin-top: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: var(--surface-shade), rgba(0,0,0,.24); }
.icon-color-panel.has-image { grid-template-columns: 58px; }
.icon-color-panel.has-image .icon-color-control { display: none; }
.icon-color-preview { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: rgba(255,255,255,.92); background: rgba(0,0,0,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.icon-color-preview img { grid-area: 1 / 1; display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.icon-color-preview img[hidden] { display: none; }
.icon-color-preview .material-symbols-rounded { max-width: 36px; overflow: hidden; font-size: 28px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.icon-color-control { min-width: 0; }
.icon-color-control__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.icon-color-control__header label { color: rgba(255,255,255,.82); font-size: 10px; }
.icon-color-reset { display: grid; place-items: center; width: var(--icon-color-action-size); height: var(--icon-color-action-size); padding: 0; border: 1px solid transparent; border-radius: 50%; color: rgba(255,255,255,.55); background: transparent; cursor: pointer; }
.icon-color-reset .material-symbols-rounded { font-size: 17px; }
.icon-color-reset:hover, .icon-color-reset:focus-visible { border-color: rgba(255,255,255,.3); color: #fff; background: var(--surface-shade), rgba(255,255,255,.08); outline: 0; }
.icon-color-control__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.icon-color-picker { position: relative; display: grid; flex: 0 0 var(--icon-color-picker-size); place-items: center; width: var(--icon-color-picker-size); height: var(--icon-color-picker-size); border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: var(--icon-color-picker-value, #000); box-shadow: inset 0 0 0 2px rgba(0,0,0,.28); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.icon-color-picker:hover { border-color: rgba(255,255,255,.78); box-shadow: inset 0 0 0 2px rgba(0,0,0,.28), 0 0 0 2px rgba(255,255,255,.16); transform: scale(1.06); }
.icon-color-picker:focus-within { border-color: #fff; box-shadow: inset 0 0 0 2px rgba(0,0,0,.28), 0 0 0 3px rgba(255,255,255,.28); outline: 0; }
.icon-color-picker input[type="color"] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; opacity: 0; cursor: pointer; }
.icon-color-picker > .material-symbols-rounded { position: relative; z-index: 1; color: #fff; font-size: 18px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.95)); mix-blend-mode: difference; pointer-events: none; }
.icon-color-swatches { display: flex; align-items: center; gap: 5px; min-width: 0; }
.icon-color-swatch { width: var(--icon-color-swatch-size); height: var(--icon-color-swatch-size); padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: var(--swatch); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.icon-color-swatch:hover, .icon-color-swatch:focus-visible { outline: 0; transform: scale(1.12); box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.icon-picker-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 78px; align-content: start; gap: 7px; flex: 1 1 auto; min-height: 0; overflow: auto; padding: 2px 4px 8px 2px; }
.icon-picker-option { display: grid; grid-template-rows: 34px auto; place-items: center; gap: 5px; min-width: 0; height: 78px; min-height: 0; padding: 8px 5px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; color: rgba(255,255,255,.82); background: var(--surface-shade), rgba(0,0,0,.24); cursor: pointer; transition: border-color .16s, background .16s, transform .16s; }
.icon-picker-option:hover, .icon-picker-option:focus-visible { border-color: rgba(255,255,255,.42); background: var(--surface-shade), rgba(255,255,255,.08); transform: translateY(-1px); }
.icon-picker-option.is-selected { border-color: var(--module); background: var(--surface-shade), color-mix(in srgb, var(--module) 16%, rgba(0,0,0,.38)); }
.icon-picker-option .material-symbols-rounded { display: block; width: 34px; max-width: 34px; overflow: hidden; font-size: 27px; text-align: center; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.icon-picker-option__image { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.icon-picker-option--image { grid-template-rows: 42px auto; }
.icon-picker-option small { display: block; width: 100%; overflow: hidden; color: rgba(255,255,255,.52); font-size: 8px; line-height: 1.2; letter-spacing: 0; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.icon-picker-modal .attachment-status { min-height: 14px; margin-bottom: 0; }
.icon-picker-modal .attachment-status:empty { display: none; }
.progress-modal__panel { width: min(760px, 100%); }
.progress-modal__header-actions { display: flex; align-items: center; gap: 9px; }
.progress-modal__add-list, .checklist-creator__actions { --checklist-action-height: 36px; --checklist-action-font-size: 11px; }
.progress-modal__add-list { --checklist-action-padding-start: 13px; --checklist-action-padding-end: 19px; gap: 7px; }
.progress-modal .modal-kicker { font-size: 12px; font-weight: 500; }
.checklist-creator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; margin-top: 18px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: var(--surface-shade), rgba(0,0,0,.34); }
.checklist-creator[hidden] { display: none; }
.checklist-creator__heading, .checklist-creator__status, .checklist-creator__actions { grid-column: 1 / -1; }
.checklist-creator__heading { display: flex; align-items: center; justify-content: space-between; }
.checklist-creator__heading strong { font-size: 14px; }
.checklist-creator label:not(.checklist-creator__switch) { display: grid; gap: 7px; color: rgba(255,255,255,.68); font-size: 10px; }
.checklist-creator input[type="text"] { min-width: 0; min-height: 42px; padding: 0 48px 0 12px; border: var(--form-control-border-width) solid rgba(255,255,255,.18); border-radius: 11px; color: #fff; background: #0d1126; font: inherit; font-size: 12px; }
.checklist-name-field { min-width: 0; display: grid; gap: 7px; }
.checklist-name-control { position: relative; min-width: 0; }
.checklist-name-control input { width: 100%; }
.checklist-name-toggle { position: absolute; top: 2px; right: 2px; bottom: 2px; width: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: var(--modal-text); background: transparent; cursor: pointer; }
.checklist-name-toggle[hidden], .checklist-name-options[hidden] { display: none; }
.checklist-name-toggle:hover, .checklist-name-toggle:focus-visible { background: var(--surface-shade), rgba(255,255,255,.1); }
.checklist-name-options { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 2; max-height: min(240px, 30vh); overflow-y: auto; padding: 5px; border: var(--panel-acrylic-border); border-radius: 11px; background: var(--surface-shade), rgba(20,20,20,.96); box-shadow: var(--panel-acrylic-shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.checklist-name-options [role="option"] { display: block; width: 100%; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 7px; color: var(--modal-text); background: transparent; font: inherit; font-size: 12px; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.checklist-name-options [role="option"]:hover, .checklist-name-options [aria-selected="true"] { background: var(--surface-shade), rgba(255,255,255,.14); }
.checklist-name-options__empty { margin: 0; padding: 8px 10px; color: var(--modal-text-secondary); font-size: 12px; line-height: 1.4; }
.checklist-creator__options { align-self: end; display: grid; gap: 8px; min-width: 0; }
.checklist-creator__switch { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.82); font-size: 11px; }
.checklist-creator__switch input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: #8b5cf6; }
.checklist-creator__status { min-height: 14px; margin: 0; color: #fca5a5; font-size: 10px; }
.checklist-creator__actions { display: flex; justify-content: flex-end; gap: 9px; }
.progress-checklist-list { display: grid; gap: 14px; margin-top: 20px; }
.progress-checklist { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-shade), rgba(0,0,0,.2); }
.progress-checklist__header { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; }
.progress-checklist__drag, .progress-checklist-item__drag { display: grid; place-items: center; width: 24px; height: 30px; padding: 0; border: 0; border-radius: 7px; color: rgba(255,255,255,.48); background: transparent; cursor: grab; }
.progress-checklist__drag:active, .progress-checklist-item__drag:active { cursor: grabbing; }
.progress-checklist__drag:hover, .progress-checklist-item__drag:hover { color: rgba(255,255,255,.9); background: var(--surface-shade), rgba(255,255,255,.07); }
.progress-checklist__drag span, .progress-checklist-item__drag span { width: 12px; height: 10px; background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 4px); }
.progress-checklist__name { min-width: 0; padding: 4px 6px; border: 1px solid transparent; border-radius: 8px; color: #fff; background: transparent; font: inherit; font-size: 15px; font-weight: 600; }
.progress-checklist__name:focus { border-color: rgba(255,255,255,.34); outline: 0; background: var(--surface-shade), rgba(0,0,0,.25); }
.progress-checklist__delete, .progress-checklist-item__delete { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 9px; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; }
.progress-checklist__delete:hover, .progress-checklist-item__delete:hover { color: #fff; background: var(--surface-shade), rgba(255,255,255,.08); }
.progress-checklist__progress { margin: 8px 5px 13px; }
.progress-checklist__progress strong { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; }
.progress-checklist__progress .progress-modal__bar { height: 12px; margin-top: 7px; }
.progress-checklist__items { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.progress-checklist-item { display: grid; grid-template-columns: 24px 18px minmax(0,1fr) 30px; align-items: center; gap: 8px; min-height: 44px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: var(--modal-control-background); }
.progress-checklist-item--select-all { grid-template-columns: minmax(0,1fr); }
.progress-checklist-item__select-all { display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: center; gap: 8px; min-width: 0; color: #fff; cursor: pointer; font-size: 12px; font-weight: 600; }
.progress-checklist.is-dragging, .progress-checklist-item.is-dragging { opacity: .46; }
.progress-checklist.is-drop-before, .progress-checklist-item.is-drop-before { box-shadow: inset 0 2px 0 #38bdf8; }
.progress-checklist.is-drop-after, .progress-checklist-item.is-drop-after { box-shadow: inset 0 -2px 0 #38bdf8; }
.progress-checklist-item input[type="checkbox"] { width: 18px; height: 18px; margin: 0; border: 2px solid rgba(255,255,255,.58); border-radius: 5px; outline: 0; appearance: none; -webkit-appearance: none; background-color: color-mix(in srgb, #08080c calc(var(--surface-darkening) * 100%), rgba(0,0,0,.28)); background-position: center; background-repeat: no-repeat; background-size: 12px 12px; cursor: pointer; transition: border-color .16s, background-color .16s, box-shadow .16s; }
.progress-checklist-item input[type="checkbox"]:hover { border-color: rgba(255,255,255,.82); }
.progress-checklist-item input[type="checkbox"]:focus-visible { border-color: #189dff; box-shadow: 0 0 0 3px rgba(24,157,255,.2); }
.progress-checklist-item input[type="checkbox"]:checked { border-color: #8b5cf6; background-color: #8b5cf6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.3 8.2 2.8 2.9 6.6-6.3' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.progress-checklist-item input[type="checkbox"]:indeterminate { border-color: #8b5cf6; background-color: #8b5cf6; background-image: linear-gradient(#fff,#fff); background-size: 9px 2px; }
.progress-checklist-item__text { min-width: 0; padding: 5px 2px; border: 0; outline: 0; color: var(--modal-text-secondary); background: transparent; font: inherit; font-size: 12px; }
.progress-checklist-item:has(input:checked) .progress-checklist-item__text { color: #fff; }
.progress-checklist__actions { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.progress-checklist__edit { margin-left: auto; }
.progress-checklist-list__empty { margin: 18px 0 0; padding: 20px; border: 1px dashed rgba(255,255,255,.18); border-radius: 14px; color: rgba(255,255,255,.58); font-size: 12px; text-align: center; }
.progress-modal__overview { margin: 18px 0 4px; padding: 15px 16px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: var(--surface-shade), rgba(0,0,0,.2); }
.progress-modal__overview strong { color: var(--modal-text-secondary); font-size: 13px; font-weight: 600; }
.progress-modal__bar { --progress: 0; position: relative; width: 100%; height: 12px; margin-top: 11px; overflow: visible; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(0,0,0,.58); box-shadow: inset 0 2px 4px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.14); }
.progress-modal__bar span { display: block; width: calc(var(--progress) * 1%); height: 100%; border-radius: inherit; background: var(--checklist-progress-color, #ef4444); box-shadow: 0 0 5px var(--checklist-progress-glow, rgba(239,68,68,.34)), 0 0 10px color-mix(in srgb, var(--checklist-progress-glow, rgba(239,68,68,.34)) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.34); transition: width .24s cubic-bezier(.22, 1, .36, 1), background .2s, box-shadow .2s; }
.progress-modal__bar[data-progress-level="low"] { --checklist-progress-color: #ef4444; --checklist-progress-glow: rgba(239,68,68,.34); }
.progress-modal__bar[data-progress-level="medium"] { --checklist-progress-color: #facc15; --checklist-progress-glow: rgba(250,204,21,.32); }
.progress-modal__bar[data-progress-level="high"] { --checklist-progress-color: var(--switch-active); --checklist-progress-glow: rgba(56,192,240,.34); }
.progress-modal__bar[data-progress-level="complete"] { --checklist-progress-color: var(--finalized); --checklist-progress-glow: rgba(52,211,153,.34); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; max-width: 320px; padding: 11px 14px; border: 1px solid rgba(var(--accent-rgb), .5); border-radius: 10px; color: #fff; background: #171b35; box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 561px) {
  .app-shell.is-sidebar-open .map-canvas { padding-left: var(--workspace-shift); }
  .app-shell:not(.is-sidebar-open) .map-canvas { padding-left: 82px; }
}

@media (max-width: 700px) {
  .icon-picker-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .icon-picker-modal__toolbar { grid-template-columns: minmax(0, 1fr) 128px; }
}

@media (max-width: 560px) {
  :root { --close-control-size: 34px; }
  .checklist-master__selector-row { grid-template-columns: minmax(0, 1fr); }
  .checklist-master__create { width: 100%; }
  .icon-picker-modal__panel { height: calc(100dvh - 24px); }
  .icon-picker-modal__toolbar { grid-template-columns: 1fr; }
  .icon-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon-color-panel { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; }
  .icon-color-preview { grid-row: 1 / span 2; width: 46px; height: 46px; }
  .workspace-hint { display: none; }
  .brand-block { gap: 4px; }
  .brand-mark, .brand-mark img { width: 38px; height: 38px; }
  .brand-block h1 { font-size: 17px; }
  .eyebrow { font-size: 8px; }
  .topbar__actions { gap: 6px; }
  .add-node-button { width: 36px; height: 36px; border-radius: 11px; }
  .map-tree { width: 100%; min-width: 0; padding-right: 0; box-sizing: border-box; }
  .map-node { --branch-connector-y: 47px; --lateral-connector-y: 42px; width: 100%; max-width: 100%; }
  .map-node[data-type="section"] { --branch-connector-y: 29px; --lateral-connector-y: 29px; }
  .node-lateral-children > .map-node { width: calc(100vw - 14px); max-width: calc(100vw - 14px); }
  .map-canvas { padding-left: 6px; padding-right: 8px; }
  .map-node > summary, .map-node--leaf > summary { min-height: 84px; border-radius: 999px; }
  .node-card__main { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 9px; min-height: 58px; padding: 6px 29px 4px; }
  .node-card__footer { gap: 3px; min-height: 26px; margin: 0 60px 0 31px; padding-block: 4px 6px; }
  .node-icon, .node-comment-button, .node-attachment-button, .node-documentation-button, .node-type-control { width: 18px; height: 18px; }
  .node-comment-icon { width: 10px; height: 10px; }
  .node-attachment-button img { width: 14px; height: 14px; }
  .node-documentation-button .fa-icon, .node-type-control > .fa-icon { width: 11px; height: 11px; }
  .node-copy { transform: translateX(-5.25px); }
  .node-title { font-size: 13px; }
  .node-kind { margin-top: 3px; font-size: 8px; }
  .node-progress { right: 23px; width: 54px; height: 54px; }
  .node-progress__ring { --ring-size: 50px; }
  .node-host { width: 42px; height: 42px; }
  .node-progress__ring::before { inset: 0; }
  .node-version { width: 40px; height: 21px; padding: 0 4px; font-size: 8px; }
  .node-count { min-width: 24px; height: 19px; padding-inline: 3px; font-size: 9px; }
  .node-chevron { width: 14px; height: 14px; font-size: 12px; }
  .node-body { --branch-offset: 7px; margin-left: 1px; }
  .comment-modal { padding: 12px; }
  .comment-modal__panel { max-height: calc(100dvh - 24px); padding: 21px 22px 28px; }
  .project-modal__panel { height: auto; max-height: calc(100dvh - 32px); }
  .comment-modal__actions { flex-wrap: wrap; }
  .project-form__controls { grid-template-columns: 1fr; }
  .project-form__controls:has(#cancelProjectEdit[hidden]) { grid-template-columns: 1fr; }
  .project-list-heading { display: grid; gap: 3px; }
  .attachment-upload { grid-template-columns: 1fr; }
  .documentation-form { grid-template-columns: 1fr; }
  .attachment-item { grid-template-columns: 1fr; }
  .attachment-item__actions { justify-content: flex-end; }
  .checklist-creator { grid-template-columns: 1fr; }
  .progress-modal__header-actions { align-items: flex-end; flex-direction: column-reverse; }
  .progress-dashboard { padding-right: 12px; }
  .progress-dashboard__header { min-height: 82px; padding: 16px 14px 16px 18px; border-radius: 18px; }
  .progress-dashboard__header h2 { font-size: 18px; }
  .progress-dashboard__header p { font-size: 10px; }
}

@media (max-width: 360px) {
  :root { --close-control-size: 32px; }
  .icon-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-color-panel { --icon-color-swatch-size: 18px; }
  .icon-color-swatches { gap: 3px; }
  .app-shell { --sidebar-rail-left: 5px; --sidebar-rail-width: 42px; --sidebar-radius: 34px; --sidebar-rail-radius: 14px; }
  .brand-block { gap: 3px; }
  .brand-mark, .brand-mark img { width: 32px; height: 32px; }
  .brand-block h1 { font-size: 15px; }
  .eyebrow { font-size: 7px; }
  .topbar__actions { gap: 4px; }
  .sidebar-rail { padding-inline: 0; }
  .map-canvas { padding-left: 52px; }
  .add-node-button { width: 32px; height: 32px; border-radius: 10px; }
  .add-node-button .fa-icon { width: 16px; height: 16px; }
}

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

.content-sized-table :is(th, td).project-settings-table__go-column { --go-size: 32px; --go-padding: 10px; width: calc(var(--go-size) + 2 * var(--go-padding)); padding-inline: var(--go-padding); text-align: center; text-overflow: clip; }
.project-settings-table__go { display: grid; margin-inline: auto; place-items: center; width: var(--go-size); height: var(--go-size); padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; }
.project-settings-table__go:disabled { opacity: .35; cursor: default; }
.project-settings-table__go:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.recovery-confirm-modal { border: 0; padding: 0; color: inherit; background: transparent; max-width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
.recovery-confirm-modal:not([open]) { display: none; }
.recovery-confirm-modal[open] { display: block; position: fixed; inset: 0; margin: auto; width: 560px; height: fit-content; overflow: auto; }
.recovery-confirm-modal::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(8px); }
.recovery-confirm-modal .comment-modal__panel { width: 100%; max-height: none; box-sizing: border-box; }
.recovery-confirm-modal p { line-height: 1.5; }

/* Personal wallpaper gallery: the image itself is the selection control. */
.wallpapers-workspace { padding-top: var(--settings-panel-top); }
.wallpapers-workspace .wallpaper-grid { margin-top: 22px; }
.wallpaper-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wallpaper-option { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 3px solid #fff; border-radius: 18px; background: #070914; color: #fff; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wallpaper-option img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wallpaper-option__label { position: absolute; inset: auto 0 0; padding: 20px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); text-align: left; font-size: 14px; }
.wallpaper-option__selected { position: absolute; top: 10px; right: 10px; display: none; padding: 4px; border-radius: 50%; background: rgba(0,0,0,.7); font-size: 20px; }
.wallpaper-option[aria-pressed="true"] .wallpaper-option__selected { display: block; }
.wallpaper-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wallpaper-option:disabled { cursor: wait; }
.wallpapers-workspace__status:empty { display: none; }
@media (max-width: 1200px) {
  .wallpaper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wallpaper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wallpaper-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  /* Keep the settings panel available above the gallery when two columns cannot fit. */
  .app-shell.is-wallpapers-open.is-sidebar-open { height: 100dvh; overflow-y: auto; }
  .app-shell.is-wallpapers-open.is-sidebar-open > .sidebar { position: relative; inset: auto; margin: 10px; }
  .app-shell.is-wallpapers-open.is-sidebar-open > .workspace { height: auto; overflow: visible; }
  .app-shell.is-wallpapers-open.is-sidebar-open .wallpapers-workspace { position: relative; padding: 20px 12px 48px; overflow: visible; }
}

/* Personal material opacity uses a shared background layer, never element opacity. */
.card-opacity-preview { position: fixed; inset: 0; z-index: 101; padding: 40px; overflow: hidden; isolation: isolate; background: var(--bg); }
.card-opacity-preview__cards { display: grid; align-content: start; gap: 22px; }
.card-opacity-preview__cards > .map-node { margin: 0; padding: 0; }
.card-opacity-preview__cards > .map-node:nth-child(even) { margin-left: 36px; }
.card-opacity-preview__cards .map-node > summary { cursor: default; }
.card-opacity-modal { --modal-text: #fff; --modal-text-muted: #cbd5e1; position: fixed; inset: 0; margin: auto; height: fit-content; width: min(390px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; color: #fff; box-shadow: 0 24px 64px rgba(0,0,0,.68), 0 6px 20px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.12); }
.card-opacity-modal:not([open]) { display: none; }
.card-opacity-modal::backdrop { background: transparent; }
.card-opacity-modal__description { margin: 18px 0; color: #d6d6d6; font-size: 12px; line-height: 1.5; }
.card-opacity-modal__map { margin: 18px 0; }
.card-opacity-modal__control { margin-top: 18px; }
.card-opacity-modal__preview-status { margin: 0 0 18px; color: #cbd5e1; font-size: 12px; }
.card-opacity-modal__preview-status:empty { display: none; }
.card-opacity-modal__label, .card-opacity-modal__ends { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.card-opacity-modal__range { display: block; width: 100%; height: 28px; margin: 12px 0 6px; accent-color: #38c0f0; cursor: pointer; }
.card-opacity-modal__ends { color: #cbd5e1; font-size: 11px; }
.card-opacity-modal__status { min-height: 18px; margin: 12px 0 0; color: #fff; font-size: 12px; line-height: 1.5; }
@media (max-width: 600px) {
  .card-opacity-preview { padding: 24px 16px; }
  .card-opacity-preview__cards { gap: 16px; }
  .card-opacity-preview__cards > .map-node { width: calc(100vw - 32px); }
  .card-opacity-preview__cards > .map-node:nth-child(even) { margin-left: 0; }
}
