* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}

.sidebar {
  --sidebar-bg: #0f3a23;
  --sidebar-surface: rgba(255, 255, 255, 0.06);
  --sidebar-text: rgba(255, 255, 255, 0.78);
  --sidebar-text-active: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  align-self: start;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 12px 18px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text-active);
  border-right: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 12px 0 32px rgba(16, 64, 32, 0.06);
}

.sidebar-brand {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0 2px 16px;
  padding: 2px 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo {
  display: block;
  width: 148px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sidebar-product-title {
  margin: 0;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  overflow: auto;
  padding: 2px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-account {
  display: grid;
  gap: 10px;
  margin: 14px 4px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-account-user {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sidebar-account-name,
.sidebar-account-role {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-account-name {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.sidebar-account-role {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.sidebar-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sidebar-account-actions button {
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sidebar-account-actions button:hover,
.sidebar-account-actions button:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.nav-group {
  display: grid;
  gap: 6px;
}

.nav-group-label {
  margin: 0;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: 10px;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.nav-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.82;
}

.nav-item-text {
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.nav-item:hover {
  background: var(--sidebar-surface);
  color: var(--sidebar-text-active);
}

.nav-item:hover .nav-item-icon {
  opacity: 1;
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--sidebar-text-active);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-item.active .nav-item-icon {
  opacity: 1;
}

.nav-item.active .nav-item-text {
  font-weight: 800;
}

.nav-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 1px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #DCEBE2;
  box-shadow: 0 0 0 5px rgba(220, 235, 226, 0.14);
}

.workspace {
  min-width: 0;
  padding: 28px;
}

.local-preview-banner {
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid rgba(31, 104, 72, 0.28);
  border-radius: 8px;
  background: #f4fbf7;
  color: #14452b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(20, 69, 43, 0.08);
}

.dashboard-page {
  display: none;
}

.dashboard-page.is-active {
  display: block;
}

[data-development-only] {
  display: none;
}

body.is-development-dashboard .nav-group[data-development-only] {
  display: grid;
}

body.is-development-dashboard .dashboard-page[data-development-only].is-active {
  display: block;
}

.workspace:has(.developer-docs-dashboard.is-active) {
  padding: 18px 24px 42px;
}

.developer-docs-dashboard {
  --dev-prd-text: rgba(51, 51, 51, 0.9);
  --dev-prd-text-soft: rgba(51, 51, 51, 0.62);
  --dev-prd-hint: rgba(111, 106, 97, 0.66);
  --dev-prd-line: rgba(16, 64, 32, 0.12);
  --dev-prd-page-bg: rgba(255, 255, 255, 0.96);
  --dev-prd-soft-bg: rgba(245, 250, 247, 0.78);
  --dev-prd-rail-bg: rgba(253, 251, 247, 0.94);
  --dev-prd-accent-blue: #2F5F8F;
  --dev-prd-accent-amber: #B7791F;
  --rules-border: rgba(32, 48, 38, 0.14);
  --rules-soft: #fbf7ef;
  --rules-blue: #2F5F8F;
  --rules-blue-soft: #E8EEF8;
  --rules-amber: #B7791F;
  --rules-coral: #C2412D;
}

.dev-prd-shell {
  min-height: auto;
  width: 100%;
}

.dev-prd-workbench {
  --dev-prd-toc-width: 320px;
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: calc(100vh - 96px);
  /* Keep rounded clipping without turning this into the sticky TOC's scroll ancestor. */
  overflow: clip;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(253, 251, 247, 0.95) 0, rgba(253, 251, 247, 0.9) 320px, rgba(255, 255, 255, 0.96) 321px),
    var(--dev-prd-page-bg);
  box-shadow: 0 12px 30px rgba(32, 48, 38, 0.055);
}

.dev-prd-toc {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 18px 16px 20px;
  border: 0;
  border-right: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.04), rgba(255, 255, 255, 0) 220px),
    var(--dev-prd-rail-bg);
  box-shadow: none;
  scrollbar-width: thin;
  transition:
    opacity 160ms ease,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 160ms ease;
}

.dev-prd-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 2px 10px 6px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-prd-toc-title {
  margin: 0;
  padding: 0;
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.dev-prd-toc-pin,
.dev-prd-toc-toggle {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(32, 67, 50, 0.72);
  cursor: pointer;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.dev-prd-toc-pin:hover,
.dev-prd-toc-toggle:hover,
.dev-prd-toc-pin:focus-visible,
.dev-prd-toc-toggle:focus-visible {
  border-color: rgba(16, 64, 32, 0.3);
  background: #fff;
  color: var(--brand-green);
  outline: none;
}

.dev-prd-toc-pin svg,
.dev-prd-toc-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.dev-prd-toc-edge,
.dev-prd-toc-toggle {
  display: none;
}

.dev-prd-workbench[data-dev-doc-toc-state="collapsed"],
.dev-prd-workbench[data-dev-doc-toc-state="peek"] {
  grid-template-columns: 0 minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.026), rgba(16, 64, 32, 0) 170px),
    var(--dev-prd-page-bg);
}

.dev-prd-workbench[data-dev-doc-toc-state="collapsed"] .dev-prd-toc,
.dev-prd-workbench[data-dev-doc-toc-state="peek"] .dev-prd-toc {
  position: absolute;
  z-index: 8;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--dev-prd-toc-width);
  max-height: calc(100vh - 44px);
  opacity: 0;
  transform: translateX(calc(-100% - 8px));
  pointer-events: none;
}

.dev-prd-workbench[data-dev-doc-toc-state="peek"] .dev-prd-toc {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 14px 0 30px rgba(32, 48, 38, 0.12);
  pointer-events: auto;
}

.dev-prd-workbench[data-dev-doc-toc-state="collapsed"] .dev-prd-toc-edge,
.dev-prd-workbench[data-dev-doc-toc-state="peek"] .dev-prd-toc-edge {
  position: absolute;
  z-index: 7;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 12px;
}

.dev-prd-workbench[data-dev-doc-toc-state="collapsed"] .dev-prd-toc-edge::after {
  position: absolute;
  top: 54px;
  bottom: 54px;
  left: 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: rgba(16, 64, 32, 0.34);
  content: '';
  opacity: 0.55;
  transition: opacity 150ms ease, width 150ms ease;
}

.dev-prd-workbench[data-dev-doc-toc-state="collapsed"] .dev-prd-toc-edge:hover::after {
  width: 3px;
  opacity: 1;
}

.dev-prd-workbench[data-dev-doc-toc-state="collapsed"] .dev-prd-toc-toggle {
  position: absolute;
  z-index: 9;
  top: 10px;
  left: 10px;
  display: inline-grid;
  background: rgba(253, 252, 249, 0.94);
  box-shadow: 0 3px 10px rgba(32, 48, 38, 0.08);
}

.dev-prd-toc-list,
.dev-prd-toc-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dev-prd-toc-list > li + li {
  margin-top: 2px;
}

.dev-prd-toc-list a {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 44px;
  padding: 8px 8px 8px 14px;
  border: 0;
  border-radius: 0;
  color: var(--dev-prd-text-soft);
  line-height: 1.45;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.dev-prd-toc-list a:hover {
  background: rgba(255, 255, 255, 0.42);
  color: var(--dev-prd-text);
  transform: translateX(1px);
}

.dev-prd-toc-list a.is-active {
  background:
    linear-gradient(90deg, rgba(16, 64, 32, 0.12), rgba(16, 64, 32, 0.035) 72%, rgba(16, 64, 32, 0));
  color: var(--brand-green);
  font-weight: 850;
  box-shadow: none;
}

.dev-prd-toc-list a.is-active::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--brand-green);
}

.dev-prd-toc-main {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.dev-prd-toc-subline {
  display: block;
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.dev-prd-toc-list a.is-active .dev-prd-toc-subline {
  color: rgba(16, 64, 32, 0.68);
}

.dev-prd-toc-group {
  margin-top: 14px;
}

.dev-prd-toc-group > span {
  display: block;
  padding: 0 8px 6px;
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.dev-prd-toc-group ul a {
  padding-left: 16px;
  font-size: 12.5px;
}

.dev-prd-content {
  grid-column: 2;
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.026), rgba(16, 64, 32, 0) 170px),
    linear-gradient(90deg, rgba(47, 95, 143, 0.026), rgba(47, 95, 143, 0) 400px);
}

.dev-prd-page {
  display: none;
}

.dev-prd-page.is-active {
  display: block;
}

.dev-prd-content:not(:has(.dev-prd-page-canvas)),
.dev-prd-page-canvas {
  min-width: 0;
  min-height: calc(100vh - 96px);
  padding: 34px 42px 46px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.02), rgba(16, 64, 32, 0) 160px),
    transparent;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .dev-prd-toc,
  .dev-prd-toc-edge::after {
    transition: none;
  }
}

.dev-prd-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
  color: var(--dev-prd-hint);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.dev-prd-hero {
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(520px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 0 22px;
  padding: 0 0 26px;
  border: 0;
  border-bottom: 1px solid var(--dev-prd-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dev-prd-hero-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.dev-prd-kicker {
  margin: 0;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.dev-prd-doc-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.dev-prd-doc-header p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--dev-prd-text-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.dev-prd-summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 6px;
  align-self: stretch;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--dev-prd-line);
  border-bottom: 1px solid var(--dev-prd-line);
  border-radius: 0;
  background: rgba(252, 250, 246, 0.42);
}

.dev-prd-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  align-self: stretch;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--dev-prd-line);
  border-bottom: 1px solid var(--dev-prd-line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(245, 250, 247, 0.52)),
    transparent;
}

.dev-prd-summary-band > *,
.dev-prd-hero-stats div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 16px;
  border-left: 1px solid var(--dev-prd-line);
}

.dev-prd-summary-band > *:first-child,
.dev-prd-hero-stats div:first-child {
  border-left: 0;
}

.dev-prd-hero-stats dt {
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.dev-prd-hero-stats dd {
  margin: 0;
  color: var(--brand-green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.dev-prd-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.dev-prd-section {
  scroll-margin-top: 28px;
  margin-top: 0;
}

.dev-prd-copy-section {
  scroll-margin-top: 28px;
  margin-top: 0;
  min-width: 0;
  max-width: none;
  min-height: 0;
  display: block;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--dev-prd-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dev-prd-section-card {
  min-width: 0;
  max-width: none;
  min-height: 0;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--dev-prd-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dev-prd-copy-section:first-child,
.dev-prd-section-card:first-child {
  border-top: 0;
}

.dev-prd-copy-section.is-wide,
.dev-prd-section-card.is-wide {
  grid-column: 1 / -1;
  max-width: none;
}

.dev-prd-copy-section h2,
.dev-prd-section h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0;
}

.dev-prd-copy-section > h2 {
  grid-column: auto;
  margin: 0 0 7px;
}

.dev-prd-copy-section > :not(h2) {
  grid-column: auto;
}

.dev-prd-lead {
  max-width: 1120px;
  margin: 0;
  color: var(--dev-prd-text);
  font-size: 13.5px;
  line-height: 1.72;
}

.dev-prd-lead code {
  padding: 0.08em 0.32em;
  border-radius: 4px;
  background: rgba(32, 48, 38, 0.05);
  color: var(--ink);
  font-size: 0.88em;
}

.dev-prd-outline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dev-prd-text);
  font-size: 13px;
  line-height: 1.65;
}

.dev-prd-outline li + li {
  margin-top: 0;
}

.dev-prd-outline li {
  padding: 8px 10px 8px 12px;
  border: 0;
  border-left: 1px solid rgba(16, 64, 32, 0.16);
  border-radius: 0;
  background: rgba(252, 250, 246, 0.36);
}

.dev-prd-outline li:first-child {
  border-top: 0;
}

.dev-prd-outline strong {
  color: var(--ink);
  font-weight: 850;
}

.dev-prd-note {
  margin-top: 12px;
  padding: 9px 11px;
  border: 0;
  border-left: 2px solid rgba(111, 106, 97, 0.22);
  border-radius: 0;
  background: rgba(247, 243, 236, 0.4);
  color: var(--dev-prd-hint);
  font-size: 12.5px;
  line-height: 1.6;
}

.dev-data-map-canvas {
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.026), rgba(16, 64, 32, 0) 220px),
    linear-gradient(90deg, rgba(183, 121, 31, 0.022), rgba(183, 121, 31, 0) 460px),
    var(--dev-prd-page-bg);
}

.dev-data-map-canvas .dev-prd-page-header {
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

.dev-data-map-canvas .dev-data-map-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(620px, 1.05fr);
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 14px 18px 14px 24px;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(235, 248, 241, 0.9), rgba(255, 255, 255, 0.86) 48%, rgba(250, 247, 240, 0.72)),
    repeating-linear-gradient(90deg, rgba(32, 48, 38, 0.025) 0, rgba(32, 48, 38, 0.025) 1px, transparent 1px, transparent 34px);
  box-shadow: 0 14px 36px rgba(31, 41, 34, 0.055);
}

.dev-data-map-canvas .dev-data-map-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(22, 117, 66, 0.95), rgba(183, 121, 31, 0.76));
}

.dev-data-map-hero-copy {
  position: relative;
  min-width: 0;
}

.dev-data-map-canvas .dev-prd-page-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.dev-data-map-canvas .dev-prd-page-header .dev-prd-lead {
  max-width: 760px;
  color: var(--dev-prd-text-soft);
}

.dev-data-map-hero-route {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding-top: 16px;
}

.dev-data-map-hero-route::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(22, 117, 66, 0.22);
}

.dev-data-map-hero-route span {
  position: relative;
  min-width: 0;
  padding: 9px 8px 4px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  white-space: nowrap;
}

.dev-data-map-hero-route span::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 16px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(22, 117, 66, 0.48);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 117, 66, 0.055);
}

.dev-data-map-hero-route span:first-child::before {
  background: var(--brand-green);
  border-color: var(--brand-green);
}

.dev-data-map-hero-route span:not(:last-child)::after {
  display: none;
}

.dev-data-map-hero-route b {
  display: block;
  margin-bottom: 3px;
  color: var(--brand-green);
  font-size: 10.5px;
  font-weight: 950;
  line-height: 1;
}

.dev-data-map-flow {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid rgba(32, 48, 38, 0.12);
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
  background: rgba(252, 250, 246, 0.42);
}

.dev-data-map-flow span {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 12px 11px 13px;
  border-left: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-data-map-flow span:first-child {
  border-left: 0;
}

.dev-data-map-flow b {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.3;
}

.dev-data-map-flow small {
  color: var(--dev-prd-hint);
  font-size: 11.5px;
  line-height: 1.45;
}

.dev-data-map-diagram-section {
  display: block;
  padding-top: 0;
}

.dev-data-map-diagram-section > h2 {
  display: none;
}

.dev-cloud-architecture {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 14px 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 249, 245, 0.74)),
    repeating-linear-gradient(90deg, rgba(32, 48, 38, 0.026) 0, rgba(32, 48, 38, 0.026) 1px, transparent 1px, transparent 40px);
  box-shadow: 0 18px 44px rgba(31, 41, 34, 0.06);
}

.dev-cloud-arch-title {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-cloud-arch-title span {
  display: block;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-cloud-arch-title h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-cloud-arch-title p {
  margin: 0;
  color: var(--dev-prd-text-soft);
  font-size: 12.8px;
  font-weight: 650;
  line-height: 1.62;
}

.dev-cloud-system-map {
  display: grid;
  grid-template-columns: minmax(250px, 0.74fr) 48px minmax(760px, 1.95fr) 48px minmax(270px, 0.78fr);
  gap: 0;
  align-items: start;
  min-width: 0;
}

.dev-cloud-stage-node,
.dev-cloud-process-chain,
.dev-cloud-process-node {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(32, 48, 38, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.dev-cloud-stage-node {
  display: grid;
  align-content: start;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(31, 41, 34, 0.055);
}

.dev-cloud-stage-node.is-source {
  border-color: rgba(183, 121, 31, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 255, 255, 0.88)),
    linear-gradient(90deg, rgba(183, 121, 31, 0.075), transparent 56%);
}

.dev-cloud-stage-node.is-output {
  border-color: rgba(68, 93, 112, 0.18);
  background:
    linear-gradient(180deg, rgba(245, 248, 249, 0.94), rgba(255, 255, 255, 0.88)),
    linear-gradient(90deg, rgba(68, 93, 112, 0.07), transparent 58%);
}

.dev-cloud-stage-node header,
.dev-cloud-process-node header {
  position: relative;
  min-width: 0;
  padding-left: 41px;
}

.dev-cloud-stage-node header b,
.dev-cloud-process-node header b {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(22, 117, 66, 0.2);
  border-radius: 6px;
  background: rgba(245, 250, 247, 0.92);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.dev-cloud-stage-node header span,
.dev-cloud-process-node header span {
  display: block;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-cloud-stage-node header h3,
.dev-cloud-process-node header h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.24;
}

.dev-cloud-stage-node header p,
.dev-cloud-process-node header p {
  margin: 7px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 12.8px;
  font-weight: 650;
  line-height: 1.52;
}

.dev-cloud-route-arrow {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
}

.dev-cloud-route-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(22, 117, 66, 0.56);
  transform: translateY(-50%);
}

.dev-cloud-route-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(22, 117, 66, 0.62);
  border-right: 2px solid rgba(22, 117, 66, 0.62);
  transform: translateY(-50%) rotate(45deg);
}

.dev-cloud-route-arrow span {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 24px;
  padding: 4px 7px;
  border: 1px solid rgba(22, 117, 66, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-green);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.dev-cloud-process-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 10px;
  align-items: start;
  align-content: start;
  padding: 12px;
  border-color: rgba(22, 117, 66, 0.18);
  background:
    linear-gradient(180deg, rgba(236, 248, 241, 0.78), rgba(255, 255, 255, 0.88)),
    linear-gradient(90deg, rgba(22, 117, 66, 0.045), transparent 42%, rgba(22, 117, 66, 0.04));
  box-shadow: 0 18px 42px rgba(31, 41, 34, 0.065);
}

.dev-cloud-worker-ribbon {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.dev-cloud-worker-ribbon::before,
.dev-cloud-worker-ribbon::after {
  content: "";
  height: 1px;
  background: rgba(22, 117, 66, 0.18);
}

.dev-cloud-process-node {
  display: grid;
  align-content: start;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(31, 41, 34, 0.045);
}

.dev-cloud-process-node.is-combo {
  border-color: rgba(22, 117, 66, 0.2);
  background: linear-gradient(180deg, rgba(235, 248, 241, 0.92), rgba(255, 255, 255, 0.86));
}

.dev-cloud-field-stack,
.dev-cloud-tag-strip,
.dev-cloud-output-list {
  display: grid;
  min-width: 0;
  gap: 6px;
  margin-top: 13px;
}

.dev-cloud-field-stack span,
.dev-cloud-tag-strip span,
.dev-cloud-output-list span {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 6px;
  background: rgba(250, 249, 245, 0.7);
  color: var(--dev-prd-text);
  font-size: 11.25px;
  font-weight: 720;
  line-height: 1.42;
}

.dev-cloud-tag-strip {
  gap: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-cloud-tag-strip span {
  border: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.075);
  border-radius: 0;
  background: transparent;
}

.dev-cloud-tag-strip span:first-child {
  border-top: 0;
}

.dev-cloud-node-output,
.dev-cloud-output-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 13px;
}

.dev-cloud-node-output span,
.dev-cloud-output-list span,
.dev-cloud-combo-groups section {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 6px;
  background: rgba(250, 249, 245, 0.62);
}

.dev-cloud-node-output b,
.dev-cloud-output-list b,
.dev-cloud-combo-groups b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 11.8px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-cloud-node-output small,
.dev-cloud-output-list small {
  display: block;
  color: var(--dev-prd-text-soft);
  font-size: 10.9px;
  font-weight: 650;
  line-height: 1.42;
}

.dev-cloud-combo-groups {
  display: grid;
  gap: 0;
  margin-top: 13px;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-cloud-combo-groups section {
  padding: 8px 0;
  border: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
  border-radius: 0;
  background: transparent;
}

.dev-cloud-combo-groups section:first-child {
  border-top: 0;
}

.dev-cloud-combo-groups span {
  display: block;
  margin-top: 4px;
  color: var(--dev-prd-text-soft);
  font-size: 10.9px;
  font-weight: 650;
  line-height: 1.42;
}

.dev-cloud-system-note {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 12px 0 0;
  padding: 8px 10px;
  border-left: 2px solid rgba(22, 117, 66, 0.68);
  background: rgba(250, 247, 240, 0.62);
  color: var(--dev-prd-text);
  font-size: 11.35px;
  font-weight: 700;
  line-height: 1.5;
}

.dev-cloud-system-note::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(22, 117, 66, 0.34);
  border-radius: 50%;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.dev-cloud-system-note.is-warning {
  border-left-color: rgba(183, 121, 31, 0.76);
  background: rgba(255, 249, 238, 0.78);
}

.dev-cloud-system-note.is-warning::before {
  border-color: rgba(183, 121, 31, 0.42);
  color: var(--dev-prd-accent-amber);
}

.dev-data-map-atlas-section {
  align-items: start;
}

.dev-data-map-atlas {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.dev-data-map-layer {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-width: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.14);
  border-bottom: 1px solid rgba(32, 48, 38, 0.14);
  background:
    linear-gradient(90deg, rgba(22, 117, 66, 0.04), rgba(255, 255, 255, 0) 360px),
    rgba(255, 255, 255, 0.58);
}

.dev-data-map-layer::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: -15px;
  width: 1px;
  height: 14px;
  background: rgba(32, 48, 38, 0.22);
}

.dev-data-map-layer:last-child::after {
  content: none;
}

.dev-data-map-layer.is-source {
  background:
    linear-gradient(90deg, rgba(182, 123, 34, 0.055), rgba(255, 255, 255, 0) 360px),
    rgba(252, 250, 246, 0.64);
}

.dev-data-map-layer.is-aggregate {
  background:
    linear-gradient(90deg, rgba(22, 117, 66, 0.065), rgba(255, 255, 255, 0) 420px),
    rgba(246, 250, 247, 0.72);
}

.dev-data-map-layer.is-final {
  box-shadow: inset 0 2px 0 rgba(22, 117, 66, 0.46);
}

.dev-data-map-axis {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  padding: 16px 13px;
  border-right: 1px solid rgba(32, 48, 38, 0.13);
  text-align: center;
}

.dev-data-map-axis span {
  display: block;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-data-map-axis b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-data-map-layer-main {
  min-width: 0;
  padding: 16px 18px 18px;
}

.dev-data-map-layer-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dev-data-map-layer-head > span {
  color: var(--dev-prd-hint);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.25;
}

.dev-data-map-layer-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.35;
}

.dev-data-map-layer-head p {
  margin: 0;
  max-width: 1120px;
  color: var(--dev-prd-text-soft);
  font-size: 12.8px;
  line-height: 1.65;
}

.dev-data-map-chip-cloud,
.dev-data-map-product-grid,
.dev-data-map-combo-matrix,
.dev-data-map-module-grid,
.dev-data-map-combo-strip {
  display: grid;
  min-width: 0;
  gap: 0;
  margin-top: 13px;
  border-top: 1px solid rgba(32, 48, 38, 0.11);
  border-bottom: 1px solid rgba(32, 48, 38, 0.11);
}

.dev-data-map-chip-cloud,
.dev-data-map-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dev-data-map-product-grid.is-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dev-data-map-product-grid.is-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dev-data-map-combo-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dev-data-map-module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dev-data-map-combo-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(250, 247, 240, 0.42);
}

.dev-data-map-combo-strip span:nth-child(3):last-child {
  grid-column: span 2;
}

.dev-data-map-chip-cloud span,
.dev-data-map-product-grid span,
.dev-data-map-combo-matrix span,
.dev-data-map-module-grid span,
.dev-data-map-combo-strip span {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 10px 11px 11px;
  border-left: 1px solid rgba(32, 48, 38, 0.08);
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-data-map-chip-cloud span:nth-child(-n + 4),
.dev-data-map-product-grid span:nth-child(-n + 4),
.dev-data-map-combo-strip span:nth-child(-n + 4),
.dev-data-map-module-grid span:nth-child(-n + 4),
.dev-data-map-combo-matrix span:nth-child(-n + 3),
.dev-data-map-product-grid.is-five span:nth-child(-n + 5),
.dev-data-map-product-grid.is-six span:nth-child(-n + 3) {
  border-top: 0;
}

.dev-data-map-chip-cloud span:nth-child(4n + 1),
.dev-data-map-product-grid span:nth-child(4n + 1),
.dev-data-map-combo-strip span:nth-child(4n + 1),
.dev-data-map-module-grid span:nth-child(4n + 1),
.dev-data-map-combo-matrix span:nth-child(3n + 1),
.dev-data-map-product-grid.is-five span:nth-child(5n + 1),
.dev-data-map-product-grid.is-six span:nth-child(3n + 1) {
  border-left: 0;
}

.dev-data-map-product-grid.is-five span,
.dev-data-map-product-grid.is-six span {
  border-left: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-data-map-product-grid.is-five span:nth-child(5n + 1),
.dev-data-map-product-grid.is-six span:nth-child(3n + 1) {
  border-left: 0;
}

.dev-data-map-chip-cloud b,
.dev-data-map-product-grid b,
.dev-data-map-combo-matrix b,
.dev-data-map-module-grid b,
.dev-data-map-combo-strip b {
  color: var(--brand-green);
  font-size: 12.2px;
  font-weight: 950;
  line-height: 1.35;
}

.dev-data-map-module-grid b,
.dev-data-map-combo-matrix b {
  color: var(--ink);
}

.dev-data-map-chip-cloud small,
.dev-data-map-product-grid small,
.dev-data-map-combo-matrix small,
.dev-data-map-module-grid small,
.dev-data-map-combo-strip small {
  color: var(--dev-prd-text-soft);
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.48;
}

.dev-data-map-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 8px 10px;
  border-left: 2px solid rgba(22, 117, 66, 0.68);
  background: rgba(250, 247, 240, 0.54);
  color: var(--dev-prd-text);
  font-size: 12.3px;
  font-weight: 680;
  line-height: 1.55;
}

.dev-data-map-note span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(22, 117, 66, 0.34);
  border-radius: 50%;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.dev-data-map-note.is-warning {
  border-left-color: rgba(183, 121, 31, 0.72);
  background: rgba(255, 249, 238, 0.7);
}

.dev-data-map-note.is-warning span {
  border-color: rgba(183, 121, 31, 0.42);
  color: var(--dev-prd-accent-amber);
}

.dev-data-map-pipeline {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.dev-data-map-step {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  min-width: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.12);
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.dev-data-map-step::after {
  content: '';
  position: absolute;
  left: 46px;
  bottom: -13px;
  width: 1px;
  height: 12px;
  background: rgba(16, 64, 32, 0.18);
}

.dev-data-map-step:last-child::after {
  content: none;
}

.dev-data-map-step.is-source {
  background: rgba(252, 250, 246, 0.64);
}

.dev-data-map-step.is-final {
  background: rgba(245, 250, 247, 0.72);
}

.dev-data-map-step-index {
  display: grid;
  place-items: center;
  padding: 14px 10px;
  border-right: 1px solid rgba(32, 48, 38, 0.12);
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-data-map-step-body {
  min-width: 0;
  padding: 16px 18px 18px;
}

.dev-data-map-step-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--dev-prd-hint);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.25;
}

.dev-data-map-step h3,
.dev-data-map-wave-board h3,
.dev-data-map-combo-lanes h3,
.dev-data-map-module-lanes h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.dev-data-map-step p,
.dev-data-map-wave-board p,
.dev-data-map-combo-lanes p,
.dev-data-map-module-lanes p {
  margin: 7px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 12.8px;
  line-height: 1.7;
}

.dev-data-map-step-note {
  color: var(--dev-prd-hint) !important;
}

.dev-data-map-field-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.dev-data-map-field-cloud span {
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid rgba(32, 48, 38, 0.09);
  background: rgba(255, 255, 255, 0.62);
  color: var(--dev-prd-text);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.dev-data-map-output-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 13px;
  border-top: 1px solid rgba(32, 48, 38, 0.11);
  border-bottom: 1px solid rgba(32, 48, 38, 0.11);
}

.dev-data-map-output-grid span {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 10px 11px 11px;
  border-left: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-data-map-output-grid span:first-child {
  border-left: 0;
}

.dev-data-map-output-grid b {
  color: var(--brand-green);
  font-size: 12.4px;
  font-weight: 950;
  line-height: 1.35;
}

.dev-data-map-output-grid small {
  color: var(--dev-prd-text-soft);
  font-size: 11.6px;
  font-weight: 620;
  line-height: 1.5;
}

.dev-data-map-output-grid.is-strong {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dev-data-map-wave-board,
.dev-data-map-combo-lanes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.12);
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
}

.dev-data-map-combo-lanes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dev-data-map-wave-board article,
.dev-data-map-combo-lanes article {
  min-width: 0;
  padding: 14px 14px 16px;
  border-left: 1px solid rgba(32, 48, 38, 0.09);
  background: rgba(255, 255, 255, 0.52);
}

.dev-data-map-wave-board article:first-child,
.dev-data-map-combo-lanes article:first-child {
  border-left: 0;
}

.dev-data-map-wave-board span,
.dev-data-map-combo-lanes span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-data-map-combo-lanes article.is-missing span,
.dev-data-map-combo-lanes article.is-missing h3 {
  color: var(--dev-prd-accent-amber);
}

.dev-data-map-module-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.12);
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
}

.dev-data-map-module-lanes article {
  min-width: 0;
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
  border-left: 1px solid rgba(32, 48, 38, 0.09);
  background: rgba(255, 255, 255, 0.52);
}

.dev-data-map-module-lanes article:nth-child(-n + 4) {
  border-top: 0;
}

.dev-data-map-module-lanes article:nth-child(4n + 1) {
  border-left: 0;
}

.dev-data-map-module-lanes span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-data-map-table {
  min-width: 0;
  margin-top: 2px;
  border-top: 1px solid rgba(32, 48, 38, 0.12);
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
}

.dev-data-map-row {
  display: grid;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-data-map-row:first-child {
  border-top: 0;
}

.dev-data-map-table.is-categories .dev-data-map-row {
  grid-template-columns: minmax(150px, 0.74fr) minmax(260px, 1.25fr) minmax(260px, 1.25fr) minmax(180px, 0.86fr);
}

.dev-data-map-table.is-combinations .dev-data-map-row {
  grid-template-columns: minmax(300px, 1.45fr) minmax(136px, 0.46fr) minmax(320px, 1.35fr);
}

.dev-data-map-table.is-modules .dev-data-map-row {
  grid-template-columns: minmax(180px, 0.72fr) minmax(360px, 1.35fr) minmax(300px, 1.12fr);
}

.dev-data-map-row > span,
.dev-data-map-row > b {
  min-width: 0;
  padding: 10px 12px;
  border-left: 1px solid rgba(32, 48, 38, 0.08);
  color: var(--dev-prd-text);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.58;
}

.dev-data-map-row > span:first-child,
.dev-data-map-row > b:first-child {
  border-left: 0;
}

.dev-data-map-row.is-head {
  background: rgba(245, 250, 247, 0.72);
}

.dev-data-map-row.is-head > span {
  color: var(--brand-green);
  font-size: 11.5px;
  font-weight: 900;
}

.dev-data-map-row > span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.dev-data-map-row > b {
  color: var(--brand-green);
  font-weight: 900;
}

.dev-data-map-row > b.is-missing {
  color: var(--dev-prd-accent-amber);
}

.dev-data-map-boundary {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.12);
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
}

.dev-data-map-boundary li {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-data-map-boundary li:first-child {
  border-top: 0;
}

.dev-data-map-boundary strong,
.dev-data-map-boundary span {
  min-width: 0;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.58;
}

.dev-data-map-boundary strong {
  color: var(--ink);
  font-weight: 900;
}

.dev-data-map-boundary span {
  border-left: 1px solid rgba(32, 48, 38, 0.08);
  color: var(--dev-prd-text);
}

.dev-team-responsibility-canvas {
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.018), rgba(16, 64, 32, 0) 190px),
    linear-gradient(90deg, rgba(183, 121, 31, 0.026), rgba(183, 121, 31, 0) 520px),
    var(--dev-prd-page-bg);
}

.dev-team-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-team-page-title {
  min-width: 0;
}

.dev-team-page-header h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 950;
  line-height: 1.22;
}

.dev-team-page-summary {
  flex: 0 1 620px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 520px;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.dev-team-page-summary span {
  min-width: 0;
  padding: 9px 12px;
  border-left: 1px solid rgba(32, 48, 38, 0.08);
  color: var(--dev-prd-text);
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.42;
}

.dev-team-page-summary span:first-child {
  border-left: 0;
}

.dev-team-page-summary b {
  display: block;
  margin-bottom: 2px;
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.dev-team-responsibility-canvas .dev-prd-copy-section {
  display: block;
  padding: 18px 0 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-team-responsibility-canvas .dev-prd-copy-section > * {
  grid-column: auto;
}

.dev-team-responsibility-canvas .dev-prd-copy-section:first-of-type {
  margin-top: 16px;
}

.dev-team-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  margin-bottom: 10px;
}

.dev-team-section-head div {
  min-width: 0;
}

.dev-team-section-head span {
  display: block;
  margin-bottom: 3px;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-team-section-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.28;
}

.dev-team-section-head p {
  max-width: 460px;
  margin: 0 0 1px;
  color: var(--dev-prd-text-soft);
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1.5;
  text-align: right;
}

.dev-team-command-section {
  align-items: stretch;
}

.dev-team-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
  gap: 16px;
  min-width: 0;
  align-items: stretch;
}

.dev-team-camp-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(32, 48, 38, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff 0%, rgba(251, 250, 247, 0.94) 100%);
  box-shadow: 0 12px 26px rgba(16, 64, 32, 0.055);
}

.dev-team-camp-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.11);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.dev-team-camp-panel header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px 12px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  background: rgba(245, 250, 247, 0.58);
}

.dev-team-camp-panel header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 950;
  line-height: 1.35;
}

.dev-team-camp-panel header span {
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.dev-team-role-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 54px;
  padding: 12px 15px;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-team-role-line:first-of-type {
  border-top: 0;
}

.dev-team-role-line b {
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-green);
  font-size: 12.5px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-team-role-line b::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--dev-prd-accent-blue);
}

.dev-team-role-line.is-soft b::before {
  background: var(--dev-prd-accent-amber);
}

.dev-team-role-line span {
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--dev-prd-text);
  font-size: 12.2px;
  font-weight: 760;
  line-height: 1.25;
}

.dev-team-role-line.is-hard span {
  border-color: rgba(47, 95, 143, 0.22);
  background: rgba(232, 238, 248, 0.64);
}

.dev-team-role-line.is-soft span {
  border-color: rgba(183, 121, 31, 0.2);
  background: rgba(252, 244, 229, 0.66);
}

.dev-team-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}

.dev-team-summary-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.11);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.dev-team-summary-card.is-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 241, 0.78));
}

.dev-team-summary-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px 11px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  background: rgba(245, 250, 247, 0.5);
}

.dev-team-summary-card header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 950;
  line-height: 1.35;
}

.dev-team-summary-card header span {
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.dev-team-scale-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 68px;
  padding: 12px 15px;
}

.dev-team-scale-line b {
  flex: 0 0 92px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-green);
  font-size: 12.5px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-team-scale-line b::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--dev-prd-accent-blue);
}

.dev-team-scale-line.is-soft b::before {
  background: var(--dev-prd-accent-amber);
}

.dev-team-scale-line span {
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--dev-prd-text);
  font-size: 12.2px;
  font-weight: 760;
  line-height: 1.25;
}

.dev-team-scale-line.is-hard span {
  border-color: rgba(47, 95, 143, 0.22);
  background: rgba(232, 238, 248, 0.64);
}

.dev-team-scale-line.is-soft span {
  border-color: rgba(183, 121, 31, 0.2);
  background: rgba(252, 244, 229, 0.66);
}

.dev-team-owner-section {
  align-items: stretch;
}

.dev-team-owner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.dev-team-owner-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 252, 250, 0.74));
  box-shadow: 0 10px 22px rgba(16, 64, 32, 0.045);
}

.dev-team-owner-card.is-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 241, 0.76));
}

.dev-team-owner-card.is-mixed {
  border-color: rgba(16, 64, 32, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.72));
}

.dev-team-owner-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 13px 14px 11px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  background: rgba(245, 250, 247, 0.54);
}

.dev-team-owner-card.is-soft header {
  background: rgba(252, 244, 229, 0.5);
}

.dev-team-owner-card header div {
  min-width: 0;
}

.dev-team-owner-card header span {
  display: block;
  margin-bottom: 4px;
  color: var(--dev-prd-hint);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-team-owner-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 15.2px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-team-owner-card strong {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(47, 95, 143, 0.18);
  border-radius: 5px;
  background: rgba(232, 238, 248, 0.58);
  color: var(--dev-prd-accent-blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-team-owner-card.is-soft strong {
  border-color: rgba(183, 121, 31, 0.2);
  background: rgba(252, 244, 229, 0.68);
  color: var(--dev-prd-accent-amber);
}

.dev-team-owner-card.is-mixed strong {
  border-color: rgba(16, 64, 32, 0.16);
  background: rgba(245, 250, 247, 0.86);
  color: var(--brand-green);
}

.dev-owner-group-list {
  display: grid;
  min-width: 0;
}

.dev-owner-discipline-list {
  display: grid;
  min-width: 0;
}

.dev-owner-discipline-block {
  min-width: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-owner-discipline-block:first-child {
  border-top: 0;
}

.dev-owner-discipline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px 8px;
  background: rgba(232, 238, 248, 0.42);
}

.dev-owner-discipline-block.is-soft .dev-owner-discipline-head {
  background: rgba(252, 244, 229, 0.52);
}

.dev-owner-discipline-head span {
  color: var(--dev-prd-accent-blue);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.dev-owner-discipline-block.is-soft .dev-owner-discipline-head span {
  color: var(--dev-prd-accent-amber);
}

.dev-owner-discipline-head b {
  flex: 0 0 auto;
  color: var(--dev-prd-hint);
  font-size: 10.8px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-owner-group-row {
  min-width: 0;
  padding: 10px 14px 11px;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-owner-group-row:first-child {
  border-top: 0;
}

.dev-owner-group-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.dev-owner-group-meta b {
  min-width: 0;
  color: var(--ink);
  font-size: 12.3px;
  font-weight: 920;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dev-owner-group-meta span {
  flex: 0 0 auto;
  color: var(--brand-green);
  font-size: 11.4px;
  font-weight: 850;
  line-height: 1.25;
}

.dev-owner-group-row p {
  margin: 6px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 11.8px;
  font-weight: 650;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.dev-team-stage-band {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(32, 48, 38, 0.13);
  border-top: 3px solid rgba(47, 95, 143, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff 0%, rgba(248, 251, 253, 0.86) 100%);
  box-shadow: 0 12px 26px rgba(16, 64, 32, 0.045);
}

.dev-team-stage-band.is-soft {
  border-top-color: rgba(183, 121, 31, 0.82);
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 250, 241, 0.88) 100%);
}

.dev-team-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 12px;
}

.dev-team-stage-head div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dev-team-stage-head span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(47, 95, 143, 0.2);
  border-radius: 5px;
  background: rgba(232, 238, 248, 0.58);
  color: var(--dev-prd-accent-blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-team-stage-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-team-stage-band.is-soft .dev-team-stage-head span {
  border-color: rgba(183, 121, 31, 0.2);
  background: rgba(252, 244, 229, 0.68);
  color: var(--dev-prd-accent-amber);
}

.dev-team-stage-head strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.dev-team-stage-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
  list-style: none;
}

.dev-team-stage-flow::before {
  content: "";
  position: absolute;
  left: 54px;
  right: 54px;
  top: 27px;
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 95, 143, 0.18);
}

.dev-team-stage-flow.is-soft::before {
  background: rgba(183, 121, 31, 0.2);
}

.dev-stage-node {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 126px;
  padding: 47px 14px 15px;
  border-left: 1px solid rgba(32, 48, 38, 0.09);
  background: rgba(255, 255, 255, 0.7);
}

.dev-stage-node:first-child {
  border-left: 0;
}

.dev-stage-node::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(47, 95, 143, 0.72);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.dev-team-stage-flow.is-soft .dev-stage-node::before {
  border-color: rgba(183, 121, 31, 0.72);
}

.dev-stage-node.is-final {
  background: rgba(245, 250, 247, 0.72);
  box-shadow: inset 0 0 0 1px rgba(16, 64, 32, 0.08);
}

.dev-stage-node.is-final::before {
  border-color: rgba(16, 64, 32, 0.54);
  background: #fff;
}

.dev-stage-node span {
  position: absolute;
  top: 13px;
  left: 12px;
  color: var(--dev-prd-hint);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-stage-node strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 950;
  line-height: 1.3;
}

.dev-stage-node p {
  margin: 7px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 12.2px;
  line-height: 1.55;
}

.dev-team-usage {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 2px solid rgba(47, 95, 143, 0.34);
  border-radius: 0 6px 6px 0;
  background: rgba(245, 250, 247, 0.72);
  color: var(--dev-prd-text-soft);
  font-size: 12.6px;
  line-height: 1.62;
}

.dev-team-stage-band.is-soft .dev-team-usage {
  border-left-color: rgba(183, 121, 31, 0.38);
  background: rgba(255, 250, 241, 0.74);
}

.dev-settings-canvas {
  background:
    linear-gradient(180deg, rgba(16, 64, 32, 0.028), rgba(16, 64, 32, 0) 160px),
    linear-gradient(90deg, rgba(183, 121, 31, 0.03), rgba(183, 121, 31, 0) 420px),
    var(--dev-prd-page-bg);
}

.dev-settings-canvas .dev-prd-page-header {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-settings-canvas .dev-prd-page-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.dev-settings-canvas .dev-prd-page-header .dev-prd-lead {
  max-width: 920px;
  color: var(--dev-prd-text-soft);
}

.dev-settings-canvas .dev-prd-page-meta {
  margin: 14px 0 0;
}

.dev-settings-console {
  margin-top: 14px;
  border-top: 1px solid rgba(32, 48, 38, 0.13);
  border-bottom: 1px solid rgba(32, 48, 38, 0.13);
  background: transparent;
}

.dev-settings-console .dev-prd-copy-section {
  display: block;
  padding: 16px 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-settings-console .dev-prd-copy-section > * {
  grid-column: auto;
}

.dev-settings-console .dev-prd-copy-section:first-child {
  border-top: 0;
}

.dev-settings-console .dev-settings-command-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
  gap: 22px;
  align-items: center;
}

.dev-settings-command-copy {
  min-width: 0;
}

.dev-settings-mini-label {
  margin: 0 0 5px;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.dev-settings-command-copy h2,
.dev-settings-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.32;
}

.dev-settings-command-copy .dev-prd-lead {
  margin-top: 5px;
  max-width: 820px;
  color: var(--dev-prd-text-soft);
  font-size: 13px;
}

.dev-prd-settings-panel {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.dev-sync-state {
  width: 100%;
  min-width: 0;
  max-width: 560px;
  flex-wrap: nowrap;
  border-color: rgba(32, 48, 38, 0.13);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 246, 240, 0.66));
  box-shadow: none;
}

.dev-sync-state span,
.dev-sync-state strong {
  white-space: nowrap;
}

.dev-sync-state strong {
  min-width: 96px;
  color: var(--ink);
  font-weight: 900;
}

.dev-sync-state .sync-message {
  flex: 1 1 auto;
  min-width: 96px;
  max-width: 220px;
}

.dev-sync-state .sync-button {
  flex: 0 0 auto;
  min-width: 76px;
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #fff;
  font-weight: 850;
}

.dev-sync-state .sync-button:hover {
  background: var(--action-green);
}

.dev-settings-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  margin-bottom: 12px;
}

.dev-settings-section-head .dev-prd-lead {
  max-width: 920px;
  margin-top: 5px;
  color: var(--dev-prd-text-soft);
  font-size: 13px;
}

.dev-settings-badge {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 4px 0 4px 12px;
  border-left: 1px solid rgba(32, 48, 38, 0.16);
  background: transparent;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.dev-settings-status-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.18fr) repeat(4, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.dev-settings-card {
  min-width: 0;
  padding: 13px 16px 12px;
  border: 0;
  border-left: 1px solid rgba(32, 48, 38, 0.09);
  border-radius: 0;
  background: transparent;
}

.dev-settings-card:first-child {
  border-left: 0;
}

.dev-settings-card.is-current {
  background: linear-gradient(180deg, rgba(235, 244, 238, 0.78), rgba(255, 255, 255, 0));
  box-shadow: inset 0 2px 0 rgba(22, 117, 66, 0.72);
}

.dev-settings-card span,
.dev-settings-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--dev-prd-hint);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.dev-settings-card span {
  white-space: nowrap;
}

.dev-settings-card small {
  min-height: 34px;
}

.dev-settings-card strong {
  display: block;
  margin: 4px 0 3px;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-cloud-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  padding: 4px 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dev-cloud-flow::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 8%;
  right: 8%;
  border-top: 1px solid rgba(32, 48, 38, 0.18);
}

.dev-cloud-flow span {
  position: relative;
  min-width: 0;
  padding: 27px 12px 2px;
  border-left: 0;
  text-align: center;
}

.dev-cloud-flow span::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(32, 48, 38, 0.32);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.dev-cloud-flow span:first-child::before {
  border-color: rgba(22, 117, 66, 0.76);
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(22, 117, 66, 0.08);
}

.dev-cloud-flow span::after {
  display: none;
}

.dev-cloud-flow b,
.dev-cloud-flow small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-cloud-flow b {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.dev-cloud-flow small {
  margin-top: 3px;
  color: var(--dev-prd-hint);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.dev-settings-insight {
  margin-top: 12px;
  padding: 8px 12px;
  border: 0;
  border-left: 2px solid rgba(22, 117, 66, 0.72);
  border-radius: 0;
  background: rgba(250, 247, 240, 0.54);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.58;
}

.dev-settings-insight.is-cron-disabled {
  padding: 14px 16px;
  border-left: 4px solid var(--brand-green);
  background: rgba(11, 74, 43, 0.08);
  color: #0b3f2a;
  font-size: 14px;
  font-weight: 900;
}

.dev-prd-settings-section.is-cron-disabled .dev-business-sample-tools,
.dev-cloud-settings-section.is-cron-disabled .dev-business-sample-tools,
.dev-business-chain-section.is-cron-disabled .dev-business-sample-tools {
  display: none;
}

.dev-read-model-check-section.is-cron-disabled .dev-read-model-check-row.is-head,
.dev-business-chain-section.is-cron-disabled .dev-business-chain-row.is-head,
.dev-cron-diagnostics-section.is-cron-disabled .dev-cron-runs-row.is-head {
  display: none;
}

.dev-cloud-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.11);
  border-bottom: 1px solid rgba(32, 48, 38, 0.11);
  background: rgba(255, 255, 255, 0.42);
}

.dev-cloud-facts-grid article {
  min-width: 0;
  padding: 12px 14px;
  border-left: 1px solid rgba(32, 48, 38, 0.09);
}

.dev-cloud-facts-grid article:first-child {
  border-left: 0;
}

.dev-cloud-facts-grid span,
.dev-cloud-facts-grid small {
  display: block;
  color: var(--dev-prd-hint);
  font-size: 11px;
  line-height: 1.35;
}

.dev-cloud-facts-grid strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dev-business-sample-tools {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(160px, 0.85fr) 110px 100px auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}

.dev-business-sample-tools label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 800;
}

.dev-business-sample-tools input,
.dev-business-sample-tools select {
  width: 100%;
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(32, 48, 38, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  padding: 0 9px;
}

.dev-business-sample-button {
  height: 34px;
  border: 1px solid rgba(22, 117, 66, 0.2);
  border-radius: 0;
  background: var(--brand-green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  cursor: pointer;
}

.dev-business-sample-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.dev-business-chain-table {
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid rgba(32, 48, 38, 0.11);
  border-bottom: 1px solid rgba(32, 48, 38, 0.11);
  background: rgba(255, 255, 255, 0.42);
}

.dev-business-chain-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(100px, 0.35fr) minmax(360px, 1.6fr);
  align-items: center;
  min-height: 40px;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-business-chain-row.is-head {
  min-height: 32px;
  background: rgba(248, 246, 240, 0.78);
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 900;
}

.dev-business-chain-row > span {
  min-width: 0;
  padding: 7px 10px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dev-business-chain-row strong,
.dev-business-chain-row small {
  display: block;
}

.dev-business-chain-row small {
  margin-top: 2px;
  color: var(--dev-prd-hint);
  font-size: 10.5px;
}

.dev-business-chain-row b {
  color: var(--brand-green);
  font-weight: 900;
}

.dev-business-chain-row.is-warn b {
  color: #9a651f;
}

.dev-business-chain-row.is-error b {
  color: #a13b2f;
}

.dev-business-chain-empty {
  padding: 14px 12px;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.55;
}

.dev-read-model-check-table {
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid rgba(32, 48, 38, 0.11);
  border-bottom: 1px solid rgba(32, 48, 38, 0.11);
  background: rgba(255, 255, 255, 0.42);
}

.dev-read-model-check-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) minmax(170px, 0.9fr) minmax(170px, 0.9fr) minmax(240px, 1.15fr);
  align-items: center;
  min-height: 42px;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-read-model-check-row:first-child,
.dev-read-model-check-row.is-head + .dev-read-model-check-body .dev-read-model-check-row:first-child {
  border-top: 0;
}

.dev-read-model-check-row.is-head {
  min-height: 32px;
  background: rgba(248, 246, 240, 0.78);
  color: var(--dev-prd-hint);
  font-size: 11.5px;
  font-weight: 850;
}

.dev-read-model-check-row.is-warn {
  background: rgba(255, 250, 241, 0.56);
}

.dev-read-model-check-row.is-error {
  background: rgba(255, 246, 244, 0.58);
}

.dev-read-model-check-row span {
  min-width: 0;
  padding: 8px 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-read-model-check-row span:nth-child(2),
.dev-read-model-check-row span:nth-child(3) {
  text-align: center;
}

.dev-read-model-check-row strong,
.dev-read-model-check-row small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-read-model-check-row strong {
  font-size: 12.5px;
  font-weight: 900;
}

.dev-read-model-check-row small {
  margin-top: 2px;
  color: var(--dev-prd-hint);
  font-size: 11px;
}

.dev-read-model-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 64, 32, 0.08);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.dev-read-model-status.is-warn {
  background: rgba(156, 92, 25, 0.12);
  color: #8c561d;
}

.dev-read-model-status.is-error {
  background: rgba(169, 44, 44, 0.12);
  color: #9c2d2d;
}

.dev-read-model-check-empty {
  padding: 18px 14px;
  color: var(--dev-prd-hint);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

.dev-cron-runs-table {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.11);
  border-bottom: 1px solid rgba(32, 48, 38, 0.11);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.38);
}

.dev-cron-runs-row {
  display: grid;
  grid-template-columns: minmax(142px, 1.1fr) minmax(132px, 0.95fr) repeat(6, minmax(78px, 0.62fr)) minmax(94px, 0.72fr);
  align-items: center;
  min-height: 42px;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-cron-runs-row:first-child,
.dev-cron-runs-row.is-head + .dev-cron-runs-body .dev-cron-runs-row:first-child {
  border-top: 0;
}

.dev-cron-runs-row.is-head {
  min-height: 32px;
  border-top: 0;
  background: rgba(248, 246, 240, 0.78);
  color: var(--dev-prd-hint);
  font-size: 11.5px;
  font-weight: 850;
}

.dev-cron-runs-row span {
  min-width: 0;
  padding: 7px 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-cron-runs-row span:nth-child(1),
.dev-cron-runs-row span:nth-child(2) {
  text-align: left;
}

.dev-cron-runs-row.is-head span {
  color: var(--dev-prd-hint);
}

.dev-cron-runs-row small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-cron-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(16, 64, 32, 0.08);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.dev-cron-status.is-warn {
  background: rgba(156, 92, 25, 0.12);
  color: #8c561d;
}

.dev-cron-status.is-error {
  background: rgba(169, 44, 44, 0.12);
  color: #9c2d2d;
}

.dev-cron-runs-empty {
  padding: 18px 14px;
  color: var(--dev-prd-hint);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

.dev-prd-rule-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.dev-prd-rule-item {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(16, 64, 32, 0.1);
  border-radius: 6px;
  background: rgba(252, 250, 246, 0.72);
}

.dev-prd-rule-item strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.45;
}

.dev-prd-rule-item p {
  margin: 4px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

.dev-prd-rule-item code {
  padding: 0.08em 0.32em;
  border-radius: 4px;
  background: rgba(32, 48, 38, 0.05);
  font-size: 0.9em;
}

.dev-rule-ledger {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.dev-rule-ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 64, 32, 0.12);
  border-left: 3px solid var(--brand-green);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(236, 247, 241, 0.92), rgba(255, 255, 255, 0.9) 54%, rgba(250, 247, 240, 0.82)),
    repeating-linear-gradient(90deg, rgba(32, 48, 38, 0.024) 0, rgba(32, 48, 38, 0.024) 1px, transparent 1px, transparent 32px);
}

.dev-rule-mini-label {
  margin: 0 0 6px;
  color: var(--brand-green);
  font-size: 10.5px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dev-rule-ledger-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.24;
  letter-spacing: 0;
}

.dev-rule-ledger-head p:not(.dev-rule-mini-label) {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 13.2px;
  line-height: 1.68;
}

.dev-rule-ledger-head dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
}

.dev-rule-ledger-head dl div {
  min-width: 0;
  padding: 12px 11px;
  border-left: 1px solid rgba(16, 64, 32, 0.1);
}

.dev-rule-ledger-head dl div:first-child {
  border-left: 0;
}

.dev-rule-ledger-head dt {
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.dev-rule-ledger-head dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.dev-rule-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dev-rule-status-card {
  min-width: 0;
  padding: 13px 13px 12px;
  border: 1px solid rgba(32, 48, 38, 0.11);
  border-top: 3px solid rgba(16, 64, 32, 0.42);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 248, 0.84));
  box-shadow: 0 10px 22px rgba(31, 41, 34, 0.045);
}

.dev-rule-status-card.is-board {
  border-top-color: rgba(47, 95, 143, 0.72);
}

.dev-rule-status-card.is-owner {
  border-top-color: rgba(183, 121, 31, 0.74);
}

.dev-rule-status-card.is-queue {
  border-top-color: rgba(169, 69, 59, 0.72);
}

.dev-rule-status-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  background: rgba(16, 64, 32, 0.08);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.dev-rule-status-card.is-board span {
  background: rgba(47, 95, 143, 0.1);
  color: var(--dev-prd-accent-blue);
}

.dev-rule-status-card.is-owner span {
  background: rgba(183, 121, 31, 0.11);
  color: var(--dev-prd-accent-amber);
}

.dev-rule-status-card.is-queue span {
  background: rgba(169, 69, 59, 0.1);
  color: #9a3f36;
}

.dev-rule-status-card strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.3;
}

.dev-rule-status-card p {
  margin: 7px 0 0;
  color: var(--dev-prd-text-soft);
  font-size: 12.5px;
  line-height: 1.62;
}

.dev-rule-status-card small {
  display: block;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 64, 32, 0.09);
  color: var(--dev-prd-hint);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.42;
}

.dev-rule-status-card code,
.dev-rule-criteria-row code {
  padding: 0.08em 0.32em;
  border-radius: 4px;
  background: rgba(32, 48, 38, 0.05);
  color: var(--ink);
  font-size: 0.9em;
}

.dev-rule-criteria-table {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 64, 32, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
}

.dev-rule-criteria-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(260px, 1.25fr) minmax(250px, 1.15fr) minmax(240px, 1.1fr);
  min-width: 0;
  border-top: 1px solid rgba(16, 64, 32, 0.08);
}

.dev-rule-criteria-row:first-child {
  border-top: 0;
}

.dev-rule-criteria-row span {
  min-width: 0;
  padding: 11px 12px;
  border-left: 1px solid rgba(16, 64, 32, 0.08);
  color: var(--dev-prd-text);
  font-size: 12.5px;
  line-height: 1.58;
}

.dev-rule-criteria-row span:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 900;
}

.dev-rule-criteria-row.is-head span {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(32, 48, 38, 0.065);
  color: var(--dev-prd-hint);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.dev-rule-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 7px;
  background: rgba(252, 250, 246, 0.62);
}

.dev-rule-flow span {
  position: relative;
  min-width: 0;
  min-height: 74px;
  padding: 13px 13px 12px;
  border-left: 1px solid rgba(16, 64, 32, 0.1);
}

.dev-rule-flow span:first-child {
  border-left: 0;
}

.dev-rule-flow span::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-top: 1px solid rgba(16, 64, 32, 0.22);
  border-right: 1px solid rgba(16, 64, 32, 0.22);
  background: rgba(252, 250, 246, 0.92);
  transform: translateY(-50%) rotate(45deg);
}

.dev-rule-flow span:last-child::after {
  display: none;
}

.dev-rule-flow b {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.3;
}

.dev-rule-flow small {
  display: block;
  margin-top: 6px;
  color: var(--dev-prd-text-soft);
  font-size: 11.8px;
  line-height: 1.45;
}

.dev-rule-maintenance-strip {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 13px;
  border-left: 2px solid rgba(183, 121, 31, 0.44);
  background: rgba(255, 250, 241, 0.72);
  color: var(--dev-prd-text-soft);
  font-size: 12.5px;
  line-height: 1.58;
}

.dev-rule-maintenance-strip strong {
  color: var(--dev-prd-accent-amber);
  font-weight: 950;
}

.dev-rule-ledger {
  max-width: 1180px;
  gap: 12px;
}

.dev-rule-summary {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(16, 64, 32, 0.76);
  background: rgba(238, 247, 242, 0.62);
  color: var(--dev-prd-text);
  font-size: 13.5px;
  line-height: 1.72;
}

.dev-rule-summary strong,
.dev-rule-example h3,
.dev-rule-checklist h3,
.dev-rule-plain-item h3 {
  color: var(--ink);
  font-weight: 950;
}

.dev-rule-plain-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
}

.dev-rule-plain-item {
  padding: 13px 0;
  border-top: 1px solid rgba(32, 48, 38, 0.08);
}

.dev-rule-plain-item:first-child {
  border-top: 0;
}

.dev-rule-plain-item h3,
.dev-rule-example h3,
.dev-rule-checklist h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
}

.dev-rule-plain-item p,
.dev-rule-example p {
  max-width: 1040px;
  margin: 0;
  color: var(--dev-prd-text-soft);
  font-size: 13px;
  line-height: 1.72;
}

.dev-rule-example {
  padding: 12px 14px;
  border-left: 2px solid rgba(183, 121, 31, 0.42);
  background: rgba(255, 250, 241, 0.64);
}

.dev-rule-checklist {
  padding: 3px 0 0;
}

.dev-rule-checklist ol {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--dev-prd-text-soft);
  font-size: 13px;
  line-height: 1.68;
}

.dev-rule-checklist li::marker {
  color: var(--brand-green);
  font-weight: 900;
}

.dev-rule-checklist strong {
  color: var(--ink);
  font-weight: 900;
}

.dev-prd-content .rules-deadline-table {
  margin-top: 0;
}

.rules-deadline-table-wrap {
  grid-column: 1 / -1;
  max-width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid rgba(16, 64, 32, 0.12);
  border-radius: 6px;
  background: rgba(32, 48, 38, 0.08);
  scrollbar-width: thin;
}

.dev-prd-content .rules-info-button {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(16, 64, 32, 0.22);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  color: var(--brand-green);
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: none;
  cursor: pointer;
  transform: none;
}

.dev-prd-content .rules-info-button:hover {
  color: var(--brand-green);
  background: #DCEBE2;
  transform: none;
}

.rules-shell {
  display: grid;
  gap: 14px;
}

.rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--rules-border);
  border-top: 3px solid var(--brand-green);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(16, 64, 32, 0.06), rgba(16, 64, 32, 0) 38%),
    linear-gradient(180deg, #fff 0%, var(--rules-soft) 100%);
  box-shadow: 0 12px 28px rgba(44, 52, 40, 0.07);
}

.rules-hero h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
}

.rules-hero p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.rules-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.rules-hero-facts div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.rules-hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.rules-hero-facts dd {
  margin: 7px 0 0;
  color: var(--brand-green);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}

.rules-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rules-stage-card {
  min-width: 0;
  min-height: 152px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--rules-border);
  border-top: 3px solid var(--rules-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(44, 52, 40, 0.06);
}

.rules-stage-card:nth-child(2) {
  border-top-color: var(--rules-amber);
}

.rules-stage-card:nth-child(3) {
  border-top-color: var(--rules-coral);
}

.rules-stage-card.is-active {
  background: linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
  border-color: rgba(16, 64, 32, 0.24);
}

.rules-stage-card span,
.rules-section-head span,
.rules-note-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.rules-stage-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.rules-stage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.rules-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.rules-timeline-panel,
.rules-note-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rules-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(44, 52, 40, 0.06);
}

.rules-section-head {
  margin-bottom: 12px;
}

.rules-section-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.24;
}

.rules-deadline-head {
  display: grid;
  gap: 6px;
}

.rules-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rules-title-row h3 {
  margin: 0;
}

.rules-info-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 64, 32, 0.22);
  border-radius: 50%;
  background: #f3f8f1;
  color: var(--brand-green);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 64, 32, 0.1);
}

.rules-info-button:hover {
  border-color: rgba(16, 64, 32, 0.38);
  background: #e8f3e9;
  transform: translateY(-1px);
}

.rules-info-dialog {
  width: min(860px, calc(100vw - 64px));
  max-height: min(760px, calc(100vh - 64px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(28, 32, 24, 0.28);
}

.rules-info-dialog::backdrop {
  background: rgba(28, 27, 24, 0.42);
}

.rules-info-shell {
  display: grid;
  max-height: inherit;
}

.rules-info-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px 14px 20px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.12);
  background: #fff;
}

.rules-info-head .eyebrow {
  margin: 0 0 5px;
}

.rules-info-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.rules-info-close {
  position: static;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  box-shadow: none;
}

.rules-info-content {
  display: grid;
  gap: 16px;
  max-height: calc(min(760px, 100vh - 64px) - 76px);
  overflow: auto;
  padding: 18px 20px 20px;
  scrollbar-gutter: stable;
}

.rules-info-section {
  display: grid;
  gap: 10px;
}

.rules-info-section > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.rules-info-section h4 {
  margin: -6px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.rules-info-timeline {
  counter-reset: rule-info-step;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.rules-info-timeline li {
  counter-increment: rule-info-step;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 13px 16px 13px 52px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  position: relative;
}

.rules-info-timeline li:last-child {
  border-bottom: 0;
}

.rules-info-timeline li::before {
  content: counter(rule-info-step);
  position: absolute;
  top: 13px;
  left: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 900;
}

.rules-info-timeline span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.rules-info-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.rules-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rules-info-grid article {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 8px;
  background: #fff;
}

.rules-info-grid strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.rules-info-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.rules-timeline {
  counter-reset: rule-step;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
}

.rules-timeline li {
  counter-increment: rule-step;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid rgba(32, 48, 38, 0.1);
  position: relative;
}

.rules-timeline li::before {
  content: counter(rule-step);
  position: absolute;
  top: 14px;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 900;
}

.rules-timeline span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.rules-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.rules-note-panel {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--coral);
  background: linear-gradient(180deg, #fff 0%, #fffcf9 100%);
}

.rules-note-panel div {
  padding: 13px 0;
  border-top: 1px solid rgba(32, 48, 38, 0.1);
}

.rules-note-panel div:first-child {
  padding-top: 0;
  border-top: 0;
}

.rules-note-panel div:last-child {
  padding-bottom: 0;
}

.rules-note-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
}

.rules-note-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.rules-deadline-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rules-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(44, 52, 40, 0.06);
}

.rules-section-head p {
  max-width: 860px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.rules-deadline-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.1);
  border-radius: 8px;
  background: #f8faf5;
}

.rules-deadline-principles div {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid rgba(32, 48, 38, 0.1);
}

.rules-deadline-principles div:last-child {
  border-right: 0;
}

.rules-deadline-principles span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.rules-deadline-principles strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.rules-deadline-principles p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.rules-deadline-table {
  display: grid;
  min-width: 1580px;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 38, 0.12);
  border-radius: 8px;
  background: rgba(32, 48, 38, 0.1);
}

.rules-deadline-panel {
  overflow-x: auto;
  scrollbar-width: thin;
}

.rules-deadline-row {
  display: grid;
  grid-template-columns: 180px repeat(12, minmax(96px, 1fr));
  gap: 1px;
  background: rgba(32, 48, 38, 0.1);
}

.rules-deadline-table[aria-label="硬装时效规则"] {
  min-width: 620px;
}

.rules-deadline-table[aria-label="软装时效规则"] {
  min-width: 560px;
}

.rules-deadline-table[aria-label="硬装时效规则"] .rules-deadline-row {
  grid-template-columns: 180px repeat(3, minmax(112px, 1fr));
}

.rules-deadline-table[aria-label="软装时效规则"] .rules-deadline-row {
  grid-template-columns: 200px repeat(2, minmax(150px, 1fr));
}

.rules-deadline-row span,
.rules-deadline-row b {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  text-align: center;
}

.rules-deadline-row b {
  color: var(--brand-green);
  font-variant-numeric: tabular-nums;
}

.rules-deadline-row.is-head span {
  min-height: 46px;
  background: #f5f8f3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.rules-deadline-row.is-head .rules-deadline-head-label {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.rules-measure-day-help {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(16, 64, 32, 0.34);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.rules-measure-day-help:hover,
.rules-measure-day-help:focus-visible {
  background: #DCEBE2;
  outline: none;
}

.rules-deadline-row:nth-child(odd):not(.is-head) span,
.rules-deadline-row:nth-child(odd):not(.is-head) b {
  background: #fffdf8;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.topbar-title {
  margin: 0;
  color: var(--action-green);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--action-green);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.12;
}

h2 {
  margin: 0;
  font-size: 16px;
}

.sync-state {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 6px 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sync-state span {
  color: var(--muted);
  font-size: 13px;
}

.sync-state strong {
  font-size: 13px;
  white-space: nowrap;
}

.sync-message {
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-button {
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--brand-green);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.sync-button:hover {
  background: var(--green-soft);
}

.sync-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.project-lifecycle-rule-map {
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid #cfd8d2;
  border-radius: 2px;
  background: #f8f8f5;
  box-shadow: 0 18px 52px rgba(22, 52, 42, 0.09);
}

.project-lifecycle-rule-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 34px 25px;
  border-top: 3px solid #163f32;
  border-bottom: 1px solid #dbe1dc;
  background: #fcfbf8;
}

.project-lifecycle-rule-heading {
  max-width: 920px;
}

.project-lifecycle-rule-head h2 {
  margin: 6px 0 8px;
  color: #15362b;
  font-family: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.project-lifecycle-rule-head p {
  margin: 0;
  color: #68736d;
  line-height: 1.65;
}

.project-lifecycle-rule-head .eyebrow,
.project-lifecycle-rule-detail .eyebrow {
  color: #986039;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.project-lifecycle-rule-read-status {
  display: grid;
  grid-template-columns: 8px auto;
  column-gap: 10px;
  row-gap: 2px;
  flex: 0 0 auto;
  min-width: 190px;
  padding: 12px 0 2px 18px;
  border-left: 1px solid #d7ded9;
  color: #315646;
}

.project-lifecycle-rule-read-status > span {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #2f7458;
  box-shadow: 0 0 0 4px rgba(47, 116, 88, 0.1);
}

.project-lifecycle-rule-read-status strong {
  font-size: 12px;
  font-weight: 800;
}

.project-lifecycle-rule-read-status small {
  color: #78817c;
  font-size: 10px;
}

.project-lifecycle-rule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 7px 20px 7px 34px;
  border-bottom: 1px solid #d7dfda;
  background: #eef2ee;
}

.project-lifecycle-rule-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.project-lifecycle-rule-tools label {
  position: relative;
  display: block;
}

.project-lifecycle-rule-search-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  color: #65756d;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-52%) rotate(-12deg);
  pointer-events: none;
}

.project-lifecycle-rule-tools input {
  width: 246px;
  height: 36px;
  border: 1px solid #c4cfc8;
  border-radius: 4px;
  padding: 0 12px 0 36px;
  background: #fcfdfb;
  color: #18342c;
  font-size: 12px;
  outline: none;
}

.project-lifecycle-rule-tools input:focus {
  border-color: #3f745f;
  box-shadow: 0 0 0 3px rgba(63, 116, 95, 0.12);
}

.project-lifecycle-rule-tools button {
  height: 36px;
  border: 1px solid #285a46;
  border-radius: 4px;
  padding: 0 15px;
  background: #234f3e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.project-lifecycle-rule-tools button:hover {
  border-color: #183e30;
  background: #183e30;
}

.project-lifecycle-rule-edit-tools {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
  border-right: 1px solid #cbd5ce;
}

.project-lifecycle-rule-edit-tools[hidden],
.project-lifecycle-rule-edit-status[hidden] {
  display: none;
}

.project-lifecycle-rule-mode-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid #b9c8be;
  border-radius: 5px;
  background: #edf2ee;
}

.project-lifecycle-rule-tools .project-lifecycle-rule-mode-switch button {
  position: relative;
  height: 30px;
  min-width: 48px;
  padding: 0 11px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #637169;
  font-size: 11px;
}

.project-lifecycle-rule-tools .project-lifecycle-rule-mode-switch button:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.7);
  color: #244f3e;
}

.project-lifecycle-rule-tools .project-lifecycle-rule-mode-switch button.is-active {
  background: #fff;
  color: #174b39;
  box-shadow: 0 1px 3px rgba(30, 65, 52, 0.14);
}

.project-lifecycle-rule-mode-switch button.has-unsaved-layout::after {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b77943;
  content: "";
}

.project-lifecycle-rule-tools .project-lifecycle-rule-icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  padding: 0;
  border-color: #b9c8be;
  background: #f8faf7;
  color: #315646;
  font-size: 19px;
  font-weight: 500;
}

.project-lifecycle-rule-tools .project-lifecycle-rule-icon-button:hover:not(:disabled) {
  border-color: #557966;
  background: #fff;
  color: #174b39;
}

.project-lifecycle-rule-tools .project-lifecycle-rule-icon-button:disabled {
  border-color: #d8dfda;
  background: #f1f3f0;
  color: #a8b1ab;
  cursor: not-allowed;
}

.project-lifecycle-rule-icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.project-lifecycle-rule-icon-button.has-unsaved-layout {
  border-color: #b77943;
  color: #93582f;
  box-shadow: inset 0 -2px 0 #b77943;
}

.project-lifecycle-rule-edit-status {
  max-width: 190px;
  overflow: hidden;
  color: #6b7770;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-lifecycle-rule-tools button.is-secondary {
  border-color: #b9c8be;
  background: #f8faf7;
  color: #315646;
}

.project-lifecycle-rule-tools button.is-secondary:hover {
  border-color: #789283;
  background: #fff;
}

.project-lifecycle-rule-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #526159;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.project-lifecycle-rule-legend span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border: 1px solid #174b3a;
  border-radius: 2px;
  background: #174b3a;
  content: "";
}

.project-lifecycle-rule-legend .is-hard::before { border-color: #3f745f; background: #edf3ef; }
.project-lifecycle-rule-legend .is-soft::before { border-color: #a96b3f; background: #f6eee7; }
.project-lifecycle-rule-legend .is-coordination::before { border-color: #58778a; background: #edf2f4; }
.project-lifecycle-rule-legend .is-deadline::before { border-color: #77755c; background: #faf9ef; }
.project-lifecycle-rule-legend .is-risk::before { border-color: #a65b35; background: #fff5ee; }
.project-lifecycle-rule-legend .is-governance::before { border-color: #52615d; background: #f1f5f2; }
.project-lifecycle-rule-legend .is-exception::before { border-color: #a55346; background: #f6eae7; transform: rotate(45deg); }

.project-lifecycle-rule-workspace {
  position: relative;
  min-height: clamp(760px, 76vh, 920px);
  background: #f5f6f2;
}

.project-lifecycle-rule-chart {
  position: relative;
  min-height: clamp(760px, 76vh, 920px);
  overflow: hidden;
  background:
    linear-gradient(rgba(40, 77, 63, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 77, 63, 0.026) 1px, transparent 1px),
    #f7f7f3;
  background-position: var(--rule-grid-x, 0) var(--rule-grid-y, 0), var(--rule-grid-x, 0) var(--rule-grid-y, 0);
  background-size: var(--rule-grid-size, 24px) var(--rule-grid-size, 24px), var(--rule-grid-size, 24px) var(--rule-grid-size, 24px);
  outline: none;
}

.project-lifecycle-rule-chart:focus-visible {
  box-shadow: inset 0 0 0 2px #3f745f;
}

.project-lifecycle-rule-chart.is-error {
  display: grid;
  place-items: center;
  color: #8b493f;
  font-weight: 700;
}

.project-lifecycle-rule-svg {
  display: block;
  width: 100%;
  height: clamp(760px, 76vh, 920px);
  overflow: visible;
  font-family: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.project-lifecycle-rule-svg.is-panning { cursor: grabbing; }

.rule-map-lane rect {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.rule-map-lane.is-primary rect { fill: rgba(247, 249, 246, 0.9); stroke: #d4ddd7; }
.rule-map-lane.is-soft rect { fill: rgba(250, 246, 240, 0.82); stroke: #e4d7ca; }
.rule-map-lane.is-governance rect { fill: rgba(241, 244, 241, 0.92); stroke: #cfd8d2; }
.rule-map-lane.is-coordination rect { fill: rgba(242, 247, 249, 0.88); stroke: #d3dfe4; }
.rule-map-lane.is-deadline rect { fill: rgba(248, 247, 240, 0.9); stroke: #ddd9c6; }
.rule-map-lane.is-exception rect { fill: rgba(250, 245, 243, 0.74); stroke: #e4d4cf; }
.rule-map-lane.is-output rect { fill: rgba(240, 244, 242, 0.9); stroke: #cfd9d3; }

.rule-map-lane-index {
  fill: #9b653f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rule-map-lane-title {
  fill: #54655d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rule-map-edge-path {
  fill: none;
  stroke: #5d7e70;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.rule-map-edge.soft .rule-map-edge-path { stroke: #a8693f; }
.rule-map-edge.coordination .rule-map-edge-path { stroke: #567b8d; }
.rule-map-edge.exception .rule-map-edge-path { stroke: #a65448; }
.rule-map-edge.deadline .rule-map-edge-path { stroke: #77755c; }
.rule-map-edge.risk .rule-map-edge-path { stroke: #a65b35; }
.rule-map-edge.governance .rule-map-edge-path { stroke: #52615d; }
.rule-map-edge.is-dashed .rule-map-edge-path { stroke-dasharray: 5 5; }

.rule-map-edge-label rect {
  fill: #f7f7f3;
  stroke: rgba(206, 216, 209, 0.78);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.rule-map-edge-label text {
  fill: #5c6c64;
  font-size: 11px;
  font-weight: 650;
}

.rule-map-edge.soft .rule-map-edge-label text { fill: #8e5c38; }
.rule-map-edge.coordination .rule-map-edge-label text { fill: #476b7d; }
.rule-map-edge.exception .rule-map-edge-label text { fill: #8d473d; }
.rule-map-edge.deadline .rule-map-edge-label text { fill: #69684f; }
.rule-map-edge.risk .rule-map-edge-label text { fill: #8f4f30; }
.rule-map-edge.governance .rule-map-edge-label text { fill: #52615d; }

.rule-map-node {
  cursor: pointer;
  outline: none;
  transition: opacity 180ms ease;
}

.rule-map-node-surface {
  fill: #f7faf7;
  stroke: #3f735d;
  stroke-width: 1.25;
  transition: fill 160ms ease, stroke-width 160ms ease, filter 160ms ease;
  vector-effect: non-scaling-stroke;
}

.rule-map-node-focus-ring {
  fill: none;
  stroke: #c48652;
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

.rule-map-node-title {
  fill: #244a3a;
  font-size: 14px;
  font-weight: 800;
  pointer-events: none;
}

.project-lifecycle-rule-map[data-rule-map-mode="edit"] .rule-map-node {
  cursor: grab;
}

.rule-map-node-meta {
  fill: #67766f;
  font-size: 9.5px;
  font-weight: 700;
  pointer-events: none;
}

.rule-map-node.is-main .rule-map-node-surface {
  fill: #174b39;
  stroke: #174b39;
}

.rule-map-node.is-main .rule-map-node-title { fill: #fff; }

.rule-map-node.is-main .rule-map-node-meta { fill: #fff; }

.rule-map-node.is-soft .rule-map-node-surface { fill: #fbf5ef; stroke: #ad6d42; }
.rule-map-node.is-soft .rule-map-node-title { fill: #814c2e; }

.rule-map-node.is-coordination .rule-map-node-surface { fill: #f1f6f8; stroke: #567b8d; }
.rule-map-node.is-coordination .rule-map-node-title { fill: #365f72; }

.rule-map-node.is-exception .rule-map-node-surface { fill: #fbf2ef; stroke: #ad5a4d; }
.rule-map-node.is-exception .rule-map-node-title { fill: #823e35; }

.rule-map-node.is-deadline .rule-map-node-surface { fill: #faf9ef; stroke: #77755c; }
.rule-map-node.is-deadline .rule-map-node-title { fill: #5f5e45; }
.rule-map-node.is-deadline .rule-map-node-meta { fill: #77755c; }

.rule-map-node.is-risk .rule-map-node-surface { fill: #fff5ee; stroke: #a65b35; }
.rule-map-node.is-risk .rule-map-node-title { fill: #87482b; }
.rule-map-node.is-risk .rule-map-node-meta { fill: #a65b35; }

.rule-map-node.is-governance .rule-map-node-surface { fill: #f1f5f2; stroke: #52615d; }
.rule-map-node.is-governance .rule-map-node-title { fill: #354840; }
.rule-map-node.is-governance .rule-map-node-meta { fill: #607168; }

.rule-map-node:hover .rule-map-node-surface,
.rule-map-node:focus-visible .rule-map-node-surface,
.rule-map-node.is-selected .rule-map-node-surface {
  stroke-width: 2.5;
  filter: drop-shadow(0 7px 8px rgba(30, 67, 53, 0.16));
}

.rule-map-node.is-selected .rule-map-node-focus-ring,
.rule-map-node:focus-visible .rule-map-node-focus-ring {
  opacity: 1;
}

.rule-map-node.is-search-match .rule-map-node-focus-ring {
  stroke: #416f5c;
  stroke-dasharray: 4 3;
  opacity: 1;
}

.rule-map-node.is-related .rule-map-node-surface { stroke-width: 1.8; }
.rule-map-node.is-search-match .rule-map-node-surface { stroke-width: 3; }
.rule-map-edge.is-related .rule-map-edge-path { stroke-width: 2.6; }
.rule-map-edge.is-related .rule-map-edge-label rect { stroke-width: 1.5; }
.rule-map-node.is-muted,
.rule-map-edge.is-muted { opacity: 0.12; }

.rule-map-focus-tree {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.rule-map-focus-tree.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rule-map-focus-tree:not(.is-visible) * {
  pointer-events: none;
}

.rule-map-focus-tree-backdrop {
  fill: rgba(247, 249, 246, 0.97);
  stroke: #aebfb5;
  stroke-width: 1;
  stroke-dasharray: 5 5;
  vector-effect: non-scaling-stroke;
}

.rule-map-focus-tree-eyebrow {
  fill: #9b653f;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.rule-map-focus-tree-title {
  fill: #214839;
  font-size: 15px;
  font-weight: 850;
}

.rule-map-focus-tree-summary {
  fill: #63736b;
  font-size: 10.5px;
  font-weight: 650;
}

.rule-map-focus-edge-path {
  fill: none;
  stroke: #587568;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.rule-map-focus-edge.is-success .rule-map-focus-edge-path { stroke: #438062; }
.rule-map-focus-edge.is-risk .rule-map-focus-edge-path { stroke: #b65748; }
.rule-map-focus-edge.is-review .rule-map-focus-edge-path {
  stroke: #a27335;
  stroke-dasharray: 5 4;
}

.rule-map-focus-edge-label rect {
  fill: #f7f9f6;
  stroke: #d1dcd5;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.rule-map-focus-edge-label text {
  fill: #5b6c64;
  font-size: 10px;
  font-weight: 750;
}

.rule-map-focus-edge.is-success .rule-map-focus-edge-label text { fill: #357054; }
.rule-map-focus-edge.is-risk .rule-map-focus-edge-label text { fill: #97483d; }
.rule-map-focus-edge.is-review .rule-map-focus-edge-label text { fill: #88602d; }

.rule-map-focus-node-surface {
  fill: #f7faf7;
  stroke: #587568;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  transition: stroke-width 140ms ease, filter 140ms ease;
}

.rule-map-focus-node {
  pointer-events: all;
  cursor: help;
  outline: none;
}

.rule-map-focus-node:hover .rule-map-focus-node-surface,
.rule-map-focus-node:focus-visible .rule-map-focus-node-surface {
  stroke-width: 2.2;
  filter: drop-shadow(0 7px 9px rgba(31, 79, 59, 0.18));
}

.rule-map-focus-node.is-success .rule-map-focus-node-surface { fill: #eef7f1; stroke: #438062; }
.rule-map-focus-node.is-risk .rule-map-focus-node-surface { fill: #fff1ef; stroke: #b65748; }
.rule-map-focus-node.is-review .rule-map-focus-node-surface { fill: #fff8e9; stroke: #a27335; }
.rule-map-focus-node.is-result .rule-map-focus-node-surface { stroke-width: 2; }

.rule-map-focus-node-title {
  fill: #25493b;
  font-size: 13px;
  font-weight: 850;
}

.rule-map-focus-node.is-success .rule-map-focus-node-title { fill: #2f684d; }
.rule-map-focus-node.is-risk .rule-map-focus-node-title { fill: #903f35; }
.rule-map-focus-node.is-review .rule-map-focus-node-title { fill: #7d5928; }
.rule-map-focus-node.is-result .rule-map-focus-node-title { font-size: 14px; }

.project-lifecycle-rule-detail {
  --rule-audit-accent: #4f9a74;
  --rule-audit-ink: #1f5a42;
  --rule-audit-soft: #eef8f1;
  position: absolute;
  z-index: 6;
  top: 16px;
  left: 16px;
  box-sizing: border-box;
  width: min(var(--rule-detail-preferred-width, 420px), calc(100% - 32px));
  min-width: min(390px, calc(100% - 32px));
  max-width: min(620px, calc(100% - 32px));
  max-height: min(600px, calc(100% - 32px));
  margin: 0;
  overflow: visible;
  padding: 0;
  border: 1px solid #cbdcd2;
  border-left: 4px solid var(--rule-audit-accent);
  border-radius: 9px;
  background: linear-gradient(180deg, #fff 0%, var(--rule-audit-soft) 100%);
  box-shadow: 0 12px 28px rgba(23, 54, 43, 0.14);
  scrollbar-color: #b9c8be transparent;
  transition: opacity 160ms ease, transform 160ms ease;
}

.rule-map-node.is-dragging { cursor: grabbing; }

.rule-map-node.is-dragging .rule-map-node-surface {
  stroke-width: 2.5;
  filter: drop-shadow(0 12px 14px rgba(30, 67, 53, 0.2));
}

.project-lifecycle-rule-detail::before {
  position: absolute;
  width: 12px;
  height: 12px;
  border: solid #cbd5ce;
  background: var(--rule-audit-soft);
  transform: rotate(45deg);
  content: "";
}

.project-lifecycle-rule-detail[data-placement="top"]::before {
  bottom: -7px;
  left: calc(50% - 6px);
  border-width: 0 1px 1px 0;
}

.project-lifecycle-rule-detail[data-placement="overview"]::before { display: none; }

.project-lifecycle-rule-detail[data-rule-track="soft"] {
  --rule-audit-accent: #c57b43;
  --rule-audit-ink: #8b4f27;
  --rule-audit-soft: #fff6ed;
}

.project-lifecycle-rule-detail[data-rule-track="coordination"] {
  --rule-audit-accent: #5f8da4;
  --rule-audit-ink: #35667e;
  --rule-audit-soft: #eff7fa;
}

.project-lifecycle-rule-detail[data-rule-track="exception"] {
  --rule-audit-accent: #bd6258;
  --rule-audit-ink: #91433a;
  --rule-audit-soft: #fff2f0;
}

.project-lifecycle-rule-detail[data-rule-track="deadline"] {
  --rule-audit-accent: #8a8763;
  --rule-audit-ink: #625f3f;
  --rule-audit-soft: #fbfaee;
}

.project-lifecycle-rule-detail[data-rule-track="risk"] {
  --rule-audit-accent: #b9653b;
  --rule-audit-ink: #874629;
  --rule-audit-soft: #fff4ec;
}

.project-lifecycle-rule-detail[data-rule-track="governance"] {
  --rule-audit-accent: #62746b;
  --rule-audit-ink: #3e554b;
  --rule-audit-soft: #f0f5f2;
}

.project-lifecycle-rule-detail.is-collapsed {
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
}

@supports not (width: max-content) {
  .project-lifecycle-rule-detail {
    position: absolute;
    width: clamp(300px, 25vw, 360px);
    overflow-y: auto;
  }
}

@media (max-width: 1450px) {
  .project-lifecycle-rule-head {
    gap: 24px;
    padding: 22px 28px 20px;
  }

  .project-lifecycle-rule-head h2 { font-size: 26px; }
  .project-lifecycle-rule-toolbar { padding-inline: 28px 16px; }
  .project-lifecycle-rule-legend { gap: 14px; }
  .project-lifecycle-rule-tools input { width: 210px; }
  .project-lifecycle-rule-edit-status { display: none; }

  .project-lifecycle-rule-detail {
    min-width: min(360px, calc(100% - 32px));
    max-width: min(560px, calc(100% - 32px));
    max-height: min(540px, calc(100% - 32px));
  }
}

.project-lifecycle-rule-detail-actions {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 2px;
}

.project-lifecycle-rule-detail-control {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #748078;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.project-lifecycle-rule-detail-close {
  border: 0;
  background: transparent;
}

.project-lifecycle-rule-detail-control:hover {
  background: #edf2ee;
  color: #234f3e;
}

.project-lifecycle-rule-detail-control.is-expand { display: none; }

.project-lifecycle-rule-detail.is-minimized {
  width: min(300px, calc(100% - 32px));
  min-width: min(250px, calc(100% - 32px));
  max-width: min(300px, calc(100% - 32px));
}

.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-detail-actions {
  top: 7px;
}

.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-detail-control.is-minimize,
.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-audit-head-main > small,
.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-audit-rows,
.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-audit-source,
.project-lifecycle-rule-detail.is-minimized[data-rule-state="selected"] .project-lifecycle-rule-audit-source {
  display: none;
}

.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-detail-control.is-expand {
  display: grid;
}

.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-audit-card {
  overflow: hidden;
  padding: 10px 11px;
}

.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-audit-head {
  align-items: center;
  min-height: 24px;
  margin: 0;
  padding: 0 62px 0 0;
}

.project-lifecycle-rule-detail.is-minimized .project-lifecycle-rule-audit-head-main > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-lifecycle-rule-audit-card {
  box-sizing: border-box;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 12px 13px 11px;
}

.project-lifecycle-rule-audit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 0 60px 9px 0;
}

.project-lifecycle-rule-audit-head-main {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.project-lifecycle-rule-audit-head-main > strong {
  color: #244b3b;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.project-lifecycle-rule-audit-head-main > small {
  color: var(--rule-audit-ink);
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.45;
}

.project-lifecycle-rule-audit-head > em {
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid color-mix(in srgb, var(--rule-audit-accent) 40%, #fff);
  border-radius: 999px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--rule-audit-soft) 78%, #fff);
  color: var(--rule-audit-ink);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
}

.project-lifecycle-rule-audit-rows {
  display: grid;
  gap: 5px;
}

.project-lifecycle-rule-audit-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  min-height: 31px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--rule-audit-accent) 23%, #dce5df);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
}

.project-lifecycle-rule-audit-row > span {
  color: #7b8580;
  font-size: 10.5px;
  line-height: 1.4;
}

.project-lifecycle-rule-audit-row > strong {
  color: #263d34;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11.5px;
  font-weight: 780;
  line-height: 1.5;
  text-align: right;
}

.project-lifecycle-rule-audit-row:last-child {
  background: color-mix(in srgb, var(--rule-audit-soft) 68%, #fff);
}

.project-lifecycle-rule-audit-source {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 9px;
  padding: 8px 4px 0;
  border-top: 1px dashed color-mix(in srgb, var(--rule-audit-accent) 30%, #dce5df);
}

.project-lifecycle-rule-detail[data-rule-state="selected"] .project-lifecycle-rule-audit-source {
  display: grid;
}

.project-lifecycle-rule-audit-source > span {
  color: #89918d;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.project-lifecycle-rule-audit-source > p {
  margin: 0;
  color: #66736d;
  font-size: 11.5px;
  line-height: 1.5;
}
