@font-face {
  font-family: Switzer;
  src: url('/fonts/switzer-300.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Switzer;
  src: url('/fonts/switzer-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Switzer;
  src: url('/fonts/switzer-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Switzer, Arial, Helvetica, sans-serif;
  font-synthesis: none;
  font-size: 14px;
  --bg: #fff;
  --surface: #fff;
  --surface-raised: #f5f6f5;
  --surface-hover: #f0f2f0;
  --ink: #171a18;
  --muted: #646b67;
  --subtle: #727a75;
  --line: #d8ddd9;
  --line-soft: #e9ece9;
  --accent: #00ff90;
  --accent-ink: #133326;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.22, 0.68, 0, 1.01);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s;
}
button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #147847;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #16804c;
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: #111;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
b,
strong {
  font-weight: 500;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.small {
  font-size: 12px;
  line-height: 1.75;
}
.muted {
  color: var(--muted);
}
.eyebrow,
.page-kicker,
.section-label,
.nav-index,
.stat-index,
.draft-list-label,
.editor-running-head {
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.055em;
}
.eyebrow {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--accent);
  color: #111;
  padding: 12px 18px;
}
.skip-link:focus {
  top: 14px;
}
.app {
  min-height: 100dvh;
}
.topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(36px, calc((100vw - 1440px) / 2 + 36px));
  background: #121513;
  color: #fff;
}
.masthead,
.brand,
.top-actions {
  display: flex;
  align-items: center;
}
.masthead {
  gap: 26px;
  min-width: 0;
}
.brand {
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  color: #fff;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.brand-name {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
}
.brand-name > span {
  color: var(--accent);
}
.brand-byline {
  font-size: 11px;
  color: #b8c1ba;
  padding-left: 26px;
  border-left: 1px solid #404641;
}
.top-actions {
  gap: 18px;
}
.top-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 9px 0;
  color: #bdc8c0;
  font-size: 11px;
  white-space: nowrap;
}
.top-status:hover {
  color: #fff;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #88918b;
  flex-shrink: 0;
}
.status-dot.on {
  background: var(--accent);
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #526057;
  border-radius: 50%;
  font: 10px var(--mono);
  color: #e6eee8;
  flex-shrink: 0;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.icon-button:hover {
  background: #ffffff14;
}
.sidebar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 76px;
  z-index: 30;
  padding: 0 max(36px, calc((100vw - 1440px) / 2 + 36px));
  height: 57px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.sidebar nav {
  display: flex;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.nav-item:hover {
  color: #111;
  border-color: #b2bdb5;
}
.nav-item.active {
  color: var(--ink);
  border-color: var(--ink);
}
.nav-index {
  font-size: 9px;
  color: #929a95;
}
.nav-item.active .nav-index {
  background: var(--accent);
  color: #183c29;
  padding: 0 3px;
  margin: 0 -3px;
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  background: #e9eee9;
  color: #405146;
  font: 9px var(--mono);
  border-radius: 50%;
}
.mobile-menu,
.mobile-close,
.mobile-nav-head,
.mobile-backdrop {
  display: none;
}
.main {
  min-width: 0;
  outline: none;
}
.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 39px 36px 24px;
}
.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 31px;
}
.heading-copy {
  min-width: 0;
}
.page-kicker {
  color: var(--muted);
  margin-bottom: 17px;
  text-transform: uppercase;
}
h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 400;
}
.heading .sub {
  margin-top: 12px;
  max-width: 660px;
}
.sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.heading > .button-row {
  flex-shrink: 0;
  padding-bottom: 1px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 39px;
  padding: 9px 14px;
  border: 1px solid #cdd4ce;
  border-radius: 3px;
  background: #fff;
  color: #303b33;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.btn > .icon {
  width: 14px;
  height: 14px;
}
.btn:hover:not(:disabled) {
  background: #edf1ed;
  border-color: #a6b4a9;
  color: #17231b;
}
.btn.primary {
  background: #18231c;
  color: #fff;
  border-color: #18231c;
}
.btn.primary .icon {
  color: var(--accent);
}
.btn.primary:hover:not(:disabled) {
  background: #2d4234;
  border-color: #2d4234;
  color: #fff;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.btn.ghost:hover:not(:disabled) {
  color: var(--ink);
  background: #f0f3f0;
}
.btn.danger {
  color: #9c3b30;
  background: #fff;
  border-color: #dfc9c4;
}
.btn.danger:hover:not(:disabled) {
  background: #fff3f0;
  border-color: #c99d93;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #34453a;
  white-space: nowrap;
}
.text-link > .icon {
  width: 14px;
  height: 14px;
}
.text-link:hover {
  color: #107540;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.stat {
  position: relative;
  min-width: 0;
  padding: 19px 24px 20px 0;
  margin: 0 24px 0 0;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child {
  margin-right: 0;
  border: 0;
  padding-right: 0;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #35443a;
}
.stat-index {
  margin-right: auto;
  color: #8a948d;
  font-size: 9px;
}
.stat-value {
  display: block;
  font-size: 39px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 300;
  margin: 17px 0 9px;
  font-variant-numeric: tabular-nums;
}
.stat-note {
  font-size: 10px;
  color: var(--muted);
}
.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  color: #597360;
  flex-shrink: 0;
}
.stat-top > .stat-icon {
  display: none;
}
.desk-grid {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  gap: 30px;
  margin-bottom: 36px;
}
.next-desk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 25px 29px;
  background: #18231c;
  color: #fff;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--muted);
}
.next-desk .section-label {
  color: #a4b9ab;
}
.next-desk h2 {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.8px;
  margin-top: 26px;
  max-width: 430px;
}
.next-desk > p {
  max-width: 430px;
  color: #bcc9c0;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}
.next-desk > .btn {
  margin-top: 24px;
  background: var(--accent);
  border-color: var(--accent);
  color: #10301e;
}
.next-desk > .btn .icon {
  color: #10301e;
}
.next-desk > .btn:hover {
  background: #74ffb8;
  border-color: #74ffb8;
  color: #10301e;
}
.desk-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #a1b2a6;
  margin-top: auto;
  padding-top: 25px;
}
.pilot-desk {
  min-width: 0;
  padding: 25px 0 0;
  border-top: 1px solid var(--ink);
}
.pilot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 18px;
}
.pilot-title h2 {
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.8px;
  font-weight: 400;
}
.pilot-folio {
  font-weight: 300;
  letter-spacing: -7px;
  font-size: 86px;
  line-height: 0.95;
  color: #d9e2da;
  padding-right: 5px;
}
.pilot-slots {
  margin-top: 4px;
}
.pilot-slot {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  text-align: left;
  color: var(--ink);
}
.pilot-slot > span:first-child {
  font: 10px var(--mono);
  color: var(--muted);
}
.pilot-slot > span:nth-child(2) {
  font-size: 13px;
  min-width: 0;
  flex: 1;
}
.pilot-slot small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.pilot-slot > .icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  transition: transform 0.2s;
}
.pilot-slot:hover {
  background: #f6f8f6;
}
.pilot-slot:hover > .icon {
  transform: translateX(4px);
}
.panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel + .panel {
  margin-top: 24px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  font-weight: 400;
  line-height: 1.4;
}
.panel-head .sub {
  margin-top: 7px;
  font-size: 12px;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel-title > .icon {
  display: none;
}
.panel-head .eyebrow {
  font-size: 9px;
  margin-bottom: 5px;
}
.tabs {
  display: flex;
  align-items: stretch;
  gap: 26px;
  min-height: 49px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 49px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  font-size: 12px;
}
.tab:hover {
  color: var(--ink);
}
.tab.active {
  color: var(--ink);
  border-color: var(--ink);
}
.tab .muted {
  font: 10px var(--mono);
}
.workflow-panel {
  border-left: 0;
  border-right: 0;
  border-top-color: var(--ink);
}
.workflow-panel > .panel-head {
  padding: 22px 0 18px;
}
.workflow-panel .panel-head .tabs {
  border: 0;
  min-height: 40px;
  padding: 0;
}
.workflow-panel .panel-head .tab {
  min-height: 40px;
}
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
}
.canvas {
  padding: 23px 29px 19px 0;
  min-width: 0;
}
.canvas-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 0.06em;
  color: var(--subtle);
  margin-bottom: 14px;
}
.canvas-top strong {
  font-weight: 400;
}
.flow-grid {
  display: flex;
  flex-direction: column;
}
.node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  padding: 20px 12px 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: left;
}
.node:last-child {
  border-bottom: 1px solid var(--line);
}
.step-index {
  align-self: flex-start;
  font: 11px/1.8 var(--mono);
  color: var(--subtle);
  padding: 0 5px;
  margin: 1px 0 0;
  width: 26px;
  flex-shrink: 0;
}
.node-content {
  flex: 1;
  min-width: 0;
}
.node-content strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.node-content small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.node-meta {
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  max-width: 155px;
  text-align: right;
}
.node > .icon {
  width: 14px;
  height: 14px;
  color: #87948b;
}
.node:hover {
  background: #f5f8f5;
}
.node.selected .step-index {
  background: var(--accent);
  color: #15432a;
}
.node.selected .node-content strong {
  color: #126037;
}
.node.selected > .icon {
  color: #14623a;
  transform: rotate(-45deg);
}
.canvas-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.canvas-bottom .icon {
  width: 14px;
  height: 14px;
}
.inspector {
  border-left: 1px solid var(--line);
  padding: 24px 27px;
  background: #f5f7f4;
  min-width: 0;
}
.node-symbol {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #44694f;
  border: 1px solid #c8d6ca;
  background: transparent;
  flex-shrink: 0;
}
.inspector .node-symbol {
  display: none;
}
.inspector .eyebrow {
  font-size: 9px;
}
.inspector h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.inspector .sub {
  font-size: 12px;
}
.inspector .field-label {
  margin-top: 20px;
}
.inspector form {
  margin-top: 18px;
}
.inspector form > .btn {
  margin-top: 13px;
  max-width: 100%;
  white-space: normal;
}
.inspector > .btn {
  margin-top: 20px;
}
.rule-note {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #d6dfd5;
}
.input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd4cc;
  border-radius: 3px;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  outline: none;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
input::placeholder,
textarea::placeholder {
  color: #7c877e;
}
.input:focus,
select:focus,
textarea:focus {
  border-color: #4d7f5a;
  box-shadow: 0 0 0 2px #e1f2e5;
}
input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: #216d3c;
  flex-shrink: 0;
  margin: 2px 0 0;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.field-label {
  display: block;
  font-size: 11px;
  color: #45584a;
  margin: 20px 0 8px;
  font-weight: 500;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: #526456;
  margin: 13px 0;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  margin-top: 29px;
}
.bottom-grid > .panel {
  border: 0;
  border-top: 1px solid var(--ink);
}
.bottom-grid .panel + .panel {
  margin-top: 0;
}
.bottom-grid .panel-head {
  padding: 20px 0;
}
.mini-list {
  padding: 0;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.list-row:last-child {
  border-bottom: 0;
}
.list-main {
  flex: 1;
  min-width: 0;
}
.list-main b {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.list-main small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.activity-tick {
  width: 5px;
  height: 5px;
  background: #92ae98;
  margin: 8px 2px 0;
  align-self: flex-start;
  flex-shrink: 0;
}
.company-mark {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #cbd6cc;
  background: #f3f6f1;
  color: #416a47;
  font-size: 11px;
  font-weight: 500;
}
.company-mark.purple {
  background: #f1f1f8;
  border-color: #d6d6e5;
  color: #655d86;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}
.search {
  position: relative;
  width: 340px;
  max-width: 100%;
}
.search > .icon {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.search .input {
  padding-left: 37px;
  min-height: 43px;
  background: #fff;
}
.filter {
  width: 205px;
  min-height: 43px;
  font-size: 12px;
  flex-shrink: 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f5f7f4;
  color: #69786c;
  font: 9px/1.7 var(--mono);
  letter-spacing: 0.055em;
  padding: 14px 21px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 19px 21px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: #526356;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcf9;
}
.company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.company-cell strong,
.company-cell .link-button {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.company-cell small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #d6ded7;
  background: #f2f5f2;
  color: #67766b;
  font: 9px/1.5 var(--mono);
  white-space: nowrap;
  vertical-align: middle;
}
.badge.qualified,
.badge.approved,
.badge.ready,
.badge.sent,
.badge.signed,
.badge.completed {
  background: #eaf7ec;
  border-color: #c7e1cb;
  color: #216132;
}
.badge.review,
.badge.draft,
.badge.pending,
.badge.queued,
.badge.in_design {
  background: #fcf6e9;
  border-color: #e6d9bb;
  color: #856422;
}
.badge.parked,
.badge.suppressed,
.badge.cancelled {
  background: #f3f3f3;
  color: #717875;
  border-color: #ddd;
}
.badge.failed,
.badge.unknown,
.badge.error {
  background: #fff0eb;
  color: #9c4f3c;
  border-color: #e7c6ba;
}
.demo-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
  margin: 16px 0 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 580px;
  border-top-color: var(--ink);
}
.draft-list {
  border-right: 1px solid var(--line);
  background: #f5f7f4;
}
.draft-list-label {
  display: flex;
  justify-content: space-between;
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.draft-row {
  display: block;
  position: relative;
  width: 100%;
  padding: 22px 20px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.draft-row.active {
  background: #fff;
  border-left-color: #1c7340;
}
.draft-row:hover {
  background: #eaf0e8;
}
.draft-row b {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin: 12px 0 7px;
  overflow-wrap: anywhere;
}
.draft-row p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.draft-row > small {
  display: block;
  margin-top: 14px;
  font: 9px var(--mono);
}
.editor {
  padding: 22px 38px 35px;
  min-width: 0;
  max-width: 100%;
}
.editor-running-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 22px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  color: #7c8b7f;
  font-size: 8px;
}
.editor h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  font-weight: 400;
}
.editor > .sub {
  margin-bottom: 19px;
}
.editor .notice {
  font-size: 11px;
}
.editor #message-form {
  margin: 24px 0;
}
.editor #subject {
  font-size: 16px;
  font-weight: 500;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  padding-left: 0;
  box-shadow: none;
}
.editor #body {
  min-height: 285px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0;
  line-height: 1.95;
  font-size: 14px;
  box-shadow: none;
}
.editor #subject:focus,
.editor #body:focus {
  border-color: #347a49;
}
.editor form > .button-row {
  margin-top: 18px;
}
.editor .button-row > .btn {
  font-size: 11px;
}
.notice {
  margin: 20px 0;
  padding: 14px 17px;
  border: 1px solid #d6dfd1;
  border-left: 2px solid #74966c;
  background: #f5f8f2;
  color: #52664d;
  font-size: 12px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.notice p {
  margin-top: 7px;
}
.notice strong {
  font-weight: 500;
  color: #375833;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  align-items: start;
}
.column {
  min-width: 0;
  padding: 0 0 14px;
  min-height: 400px;
  background: #f5f7f4;
  border: 1px solid #e0e5de;
}
.column > h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  padding: 17px;
  border-top: 2px solid #a8b7a7;
  border-bottom: 1px solid var(--line);
}
.column:last-child > h3 {
  border-top-color: #18723d;
}
.column > h3 > span {
  font: 10px var(--mono);
}
.deal {
  padding: 19px 17px;
  background: #fff;
  border: 1px solid var(--line);
  margin: 14px 12px;
}
.source-title {
  font: 9px var(--mono);
  color: #5f7664;
}
.deal h3 {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  margin: 12px 0 20px;
}
.deal > strong {
  display: block;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: -0.8px;
}
.deal p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
}
.deal select {
  font-size: 11px;
  min-height: 36px;
  padding: 8px 10px;
  margin-top: 17px;
}
.deal .badge {
  margin-top: 12px;
  font-size: 8px;
}
.deal-empty {
  padding: 24px 20px;
  text-align: center;
}
.deal-empty p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.delivery {
  padding: 27px;
}
.progress-track {
  height: 3px;
  background: #e3e9e0;
  overflow: hidden;
  margin: 21px 0 25px;
}
.progress-track > span {
  height: 100%;
  display: block;
  background: #256c3e;
}
.milestone {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.milestone:has(input:checked) {
  color: #6f8070;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 25px 0;
}
.metric-grid > div {
  padding: 0 18px 0 0;
  border-right: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: #435846;
}
.metric-grid > div:last-child {
  border: 0;
}
.metric-grid small {
  display: block;
  font: 9px var(--mono);
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 12px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.settings-grid .panel + .panel {
  margin-top: 0;
}
.integration {
  padding: 27px;
  border-top-color: #9caf9b;
}
.integration > .node-symbol {
  margin-bottom: 21px;
}
.integration h2 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
}
.integration > .badge {
  margin-bottom: 6px;
}
.integration p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 13px;
  overflow-wrap: anywhere;
}
.integration strong {
  font-weight: 400;
  color: #254c2e;
  overflow-wrap: anywhere;
}
.integration .button-row {
  margin-top: 23px;
}
.integration > .btn {
  margin-top: 15px;
}
.activity-row {
  display: flex;
  gap: 17px;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}
.activity-row:last-child {
  border: 0;
}
.activity-row p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.activity-row small {
  font-size: 10px;
  color: var(--muted);
}
.run-result {
  padding: 26px;
}
.run-result + .run-result {
  border-top: 1px solid var(--line);
}
.run-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}
.run-summary strong {
  font-size: 30px;
  font-weight: 300;
  color: #345a3c;
}
.run-summary small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.run-result .list-row {
  flex-wrap: wrap;
}
.empty {
  padding: 45px 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}
.empty-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: #739079;
}
.brand-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.65fr);
  gap: 25px 40px;
  padding: 0 0 25px;
  margin: 3px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.brand-guide-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.brand-guide .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.brand-guide h2 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 11px;
}
.brand-guide .sub {
  font-size: 12px;
  max-width: 510px;
}
.brand-pilot-emblem {
  display: none;
}
.brand-guide details {
  padding: 19px 21px;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  align-self: start;
  background: #f7f9f5;
}
.brand-guide summary {
  font-size: 11px;
  color: #36583b;
  cursor: pointer;
}
.brand-guide details > p {
  margin-top: 14px;
}
.brand-run {
  grid-column: 1/-1;
  padding: 11px 14px;
  border-left: 2px solid #97af92;
  background: #f6f9f3;
  font: 10px/1.9 var(--mono);
  color: #607659;
}
.brand-run b {
  font-weight: 400;
  color: #3d6035;
}
.brand-run p {
  margin-top: 5px;
}
.brand-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 15px 0;
  font-size: 11px;
}
.brand-source-links a {
  color: #3b6c44;
  text-decoration: none;
  line-height: 1.7;
}
.brand-source-links a:hover {
  text-decoration: underline;
  color: #0b6630;
}
.research-panel {
  border: 0;
  border-top: 1px solid var(--ink);
  overflow: visible;
}
.research-panel > .tabs {
  padding: 0;
  gap: 30px;
  min-height: 57px;
}
.brand-toolbar {
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.brand-cards {
  display: flex;
  flex-direction: column;
}
.brand-card {
  position: relative;
  min-width: 0;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand-card:last-child {
  border-bottom: 0;
}
.brand-record {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.5fr) minmax(145px, 0.65fr);
  gap: 18px 32px;
}
.record-identity {
  min-width: 0;
}
.record-number {
  font: 10px var(--mono);
  color: #8c9b8c;
  margin-bottom: 14px;
  display: block;
}
.record-identity .eyebrow {
  font-size: 9px;
  color: #628268;
}
.brand-card h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
  margin: 7px 0;
}
.record-identity .small {
  font-size: 11px;
}
.record-detail {
  min-width: 0;
}
.brand-description {
  font-size: 13px;
  line-height: 1.8;
  color: #3f5443;
  overflow-wrap: anywhere;
}
.brand-card p.small {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 12px;
}
.brand-card p.small b {
  font-weight: 500;
  color: #3d5840;
}
.record-detail .brand-source-links {
  margin: 14px 0 0;
  font-size: 10px;
}
.record-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}
.record-actions .badge {
  white-space: normal;
  font-size: 9px;
}
.record-actions .brand-hold {
  margin: 0;
  font-size: 10px;
}
.record-actions .button-row {
  margin-top: auto;
}
.record-actions .btn {
  font-size: 11px;
  min-height: 36px;
  white-space: normal;
  max-width: 100%;
}
.brand-empty {
  max-width: 650px;
  margin: auto;
  padding: 55px 30px;
}
.design-case {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 25px;
  padding: 27px 0;
}
.case-number {
  font-size: 36px;
  line-height: 1;
  font-weight: 300;
  color: #91ad94;
  letter-spacing: -2px;
  padding-top: 3px;
}
.case-copy .eyebrow {
  font-size: 9px;
}
.case-copy .brand-description {
  margin-top: 14px;
  font-size: 12px;
  max-width: 550px;
}
.case-progress {
  padding-top: 2px;
  min-width: 0;
}
.case-progress .small {
  font-size: 11px;
}
.case-progress .brand-hold {
  margin-top: 17px !important;
}
.brand-card .button-row {
  margin-top: 17px;
}
.design-case .btn {
  font-size: 11px;
  white-space: normal;
}
.brand-progress {
  width: 100%;
  height: 3px;
  accent-color: #2f7540;
  margin: 10px 0 0;
  border: 0;
  background: #e6ece1;
}
.brand-progress::-webkit-progress-bar {
  background: #e6ece1;
}
.brand-progress::-webkit-progress-value {
  background: #2f7540;
}
.brand-progress::-moz-progress-bar {
  background: #2f7540;
}
.brand-criterion {
  border: 1px solid #d4dfcf;
  padding: 20px;
  margin: 25px 0;
  background: #f7faf3;
}
.brand-criterion legend {
  padding: 0 8px;
  color: #395e32;
  font-size: 12px;
  font-weight: 500;
}
.brand-brief {
  padding: 18px;
  border: 1px solid var(--line);
  background: #f6f8f4;
  margin: 20px 0;
}
.brand-brief summary {
  font-size: 12px;
  color: #365c34;
  cursor: pointer;
}
.brand-brief pre {
  font-family: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.9;
  color: #617a59;
  margin: 18px 0 0;
}
.brand-next {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.brand-next h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.brand-next .button-row {
  margin-top: 18px;
}
.brand-next p {
  line-height: 1.8;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, 12px);
  max-width: min(620px, calc(100vw - 32px));
  padding: 14px 19px;
  border: 1px solid #3f5e42;
  border-radius: 3px;
  background: #223f28;
  color: #efffef;
  font-size: 12px;
  line-height: 1.8;
  box-shadow: 0 6px 30px #14281724;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  padding: 0;
  width: 680px;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 64px);
  border: 1px solid #a9b9a4;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 100px #15231333;
  overflow: auto;
}
dialog::backdrop {
  background: #101c15a3;
  backdrop-filter: blur(5px);
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 29px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.dialog-head h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.dialog-head .icon-button:hover {
  background: #f1f5ee;
}
.dialog-body {
  padding: 25px 29px 29px;
}
.dialog-body label {
  display: block;
  color: #435c3e;
  font-size: 12px;
  font-weight: 400;
  margin: 19px 0 8px;
  line-height: 1.7;
}
.dialog-body .check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 16px 0;
  line-height: 1.8;
}
.dialog-body .check-row label {
  margin: 0;
}
.dialog-body .sub + .sub {
  margin-top: 16px;
}
.dialog-body .small {
  line-height: 1.9;
  font-size: 12px;
  color: #617a59;
}
.dialog-body textarea {
  line-height: 1.8;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-error {
  padding: 12px 15px;
  background: #fff3ed;
  border: 1px solid #e2c2b3;
  color: #a54e30;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 17px;
}
.source-options {
  border: 0;
  padding: 0;
  margin: 23px 0;
}
.source-options legend {
  font-size: 11px;
  color: #5f7b53;
  margin-bottom: 12px;
}
.dialog-body .source-option {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  margin: 8px 0;
  padding: 12px 15px;
  border: 1px solid #d2ddca;
  background: #f9fbf6;
  color: #385d30;
  font-size: 13px;
  cursor: pointer;
}
.source-option:has(input:checked) {
  background: #eff9e7;
  border-color: #8db975;
}
.source-option input {
  margin: 0;
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 0;
  margin-top: 27px;
  border-top: 1px solid var(--line);
  font: 9px/1.8 var(--mono);
  color: #84917f;
  letter-spacing: 0.035em;
}
.footer-line > a {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #53694b;
}
.footer-line img {
  filter: brightness(0);
  width: 17px;
  height: 17px;
  opacity: 0.65;
}
.mode {
  font: 9px var(--mono);
  padding: 5px 7px;
  border: 1px solid #d0dcca;
  background: #f4f8f0;
  color: #6b8560;
}
.loading {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: #121513;
  color: #aeb9af;
  font-size: 12px;
  line-height: 1.8;
  padding: 30px;
  text-align: center;
}
.loading-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 23px;
  letter-spacing: -0.7px;
}
.loading-brand img {
  width: 31px;
  height: 31px;
}
.loading .muted {
  color: #899c8c;
}
.loading-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, #29452e 0 35%, #00ff90 35% 65%, #29452e 65%);
}
.login-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  min-height: 100dvh;
  background: #fff;
}
.login-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
  padding: 42px 48px 32px;
  background: #151a16;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.login-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.login-story .brand {
  gap: 12px;
}
.login-story .brand-name {
  font-size: 25px;
}
.login-edition {
  font: 9px var(--mono);
  letter-spacing: 0.06em;
  color: #afc1ae;
}
.login-story-content {
  position: relative;
  z-index: 1;
  padding: 50px 0 60px;
}
.login-story .eyebrow {
  color: #a0b6a0;
  font-size: 9px;
  letter-spacing: 0.07em;
}
.login-story h2 {
  font-size: clamp(76px, 9.3vw, 147px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.07em;
  margin: 23px 0 29px;
}
.login-story h2 > span {
  color: var(--accent);
}
.login-story-content > p {
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.25px;
  color: #d5ded2;
}
.login-disciplines {
  display: flex;
  gap: 30px;
  margin-top: 49px;
}
.login-disciplines > span {
  font-size: 12px;
  color: #c9d6c5;
}
.login-disciplines small {
  font: 9px var(--mono);
  display: block;
  color: #839b7f;
  padding-bottom: 9px;
  border-top: 1px solid #3c4a37;
  padding-top: 11px;
  min-width: 75px;
}
.login-story-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  font: 8px/1.8 var(--mono);
  letter-spacing: 0.04em;
  color: #a6bca0;
}
.login-brand-sculpture {
  position: absolute;
  z-index: -1;
  bottom: 60px;
  right: -93px;
  width: 300px;
  height: 300px;
  object-fit: contain;
  opacity: 0.065;
  transform: rotate(-9deg);
}
.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 105px 48px 95px;
  min-width: 0;
}
.login-panel-meta,
.login-panel-foot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  left: 48px;
  right: 48px;
  font: 9px/1.8 var(--mono);
  color: #71846b;
}
.login-panel-meta {
  top: 45px;
}
.access-lock {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: Switzer, sans-serif;
  font-size: 11px;
}
.access-lock > .icon {
  width: 13px;
  height: 13px;
}
.login-panel-foot {
  bottom: 32px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  font-size: 8px;
  color: #86917e;
}
.token-wrap {
  max-width: 360px;
  width: 100%;
}
.token-wrap > .eyebrow {
  font-size: 9px;
  margin-bottom: 21px;
  color: #6d8664;
}
.token-wrap h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1.2px;
}
.token-wrap > .sub {
  margin-top: 15px;
  line-height: 1.9;
  font-size: 13px;
}
.token-wrap .field-label {
  margin-top: 38px;
  font-size: 11px;
  color: #405b36;
}
.token-wrap > .input {
  height: 49px;
  border-color: #bdcdb4;
  border-radius: 2px;
  font-size: 12px;
}
.token-wrap > .btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  margin-top: 15px;
  border-radius: 2px;
  padding-left: 16px;
  padding-right: 16px;
  background: #1b2b1a;
  border-color: #1b2b1a;
}
.token-wrap > .btn:hover {
  background: #304d2e;
  border-color: #304d2e;
}
.login-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 10px;
  color: #708568;
  line-height: 1.8;
}
.login-note > .icon {
  width: 13px;
  height: 13px;
}
@media (min-width: 1600px) {
  .page {
    padding-top: 48px;
  }
  .heading {
    margin-bottom: 37px;
  }
  .desk-grid {
    gap: 40px;
  }
  .next-desk {
    padding: 30px 33px;
  }
  .pilot-desk {
    padding-top: 30px;
  }
  .next-desk h2 {
    font-size: 34px;
  }
  .studio {
    grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr);
  }
  .node {
    padding-top: 23px;
    padding-bottom: 23px;
  }
}
@media (max-width: 1220px) {
  .sidebar nav {
    gap: 18px;
  }
  .nav-index {
    display: none;
  }
  .sidebar {
    gap: 28px;
  }
  .brand-record {
    gap: 18px 24px;
  }
  .heading {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .heading > .button-row {
    padding: 0;
  }
  .node-meta {
    max-width: 110px;
    font-size: 9px;
  }
  .node {
    gap: 12px;
  }
  .login-story {
    padding: 38px;
  }
  .login-panel {
    padding-left: 38px;
    padding-right: 38px;
  }
  .login-panel-meta,
  .login-panel-foot {
    left: 38px;
    right: 38px;
  }
}
@media (max-width: 1000px) {
  html {
    scroll-padding-top: 90px;
  }
  .topbar {
    height: 68px;
    padding: 0 28px;
  }
  .masthead {
    gap: 16px;
  }
  .brand-byline {
    font-size: 10px;
    padding-left: 16px;
  }
  .brand-name {
    font-size: 23px;
  }
  .top-actions {
    gap: 12px;
  }
  .mobile-menu {
    display: inline-grid;
    margin-left: -8px;
  }
  .mobile-close {
    display: inline-grid;
    color: #34442e;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 290px;
    max-width: calc(100vw - 50px);
    height: 100dvh;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.22s var(--ease),
      visibility 0.22s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
    padding: 24px;
    z-index: 45;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid #bfceb4;
    border-bottom: 0;
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--line);
    font: 10px var(--mono);
    color: var(--muted);
  }
  .sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .nav-item {
    padding: 14px 3px;
    gap: 14px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    margin: 0;
    font-size: 13px;
    min-height: 47px;
  }
  .nav-item.active {
    border-color: var(--line-soft);
    font-weight: 500;
  }
  .nav-index {
    display: inline;
    font-size: 10px;
  }
  .count {
    margin-left: auto;
  }
  .sidebar.open ~ .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #11220f88;
    border: 0;
    backdrop-filter: blur(3px);
  }
  .page {
    padding: 32px 28px 23px;
  }
  .heading {
    gap: 22px;
  }
  .heading h1 {
    font-size: 35px;
  }
  .stats {
    margin-bottom: 25px;
  }
  .stat {
    padding: 17px 18px 17px 0;
    margin-right: 18px;
  }
  .stat-value {
    font-size: 35px;
  }
  .stat-note {
    font-size: 9px;
  }
  .desk-grid {
    gap: 25px;
  }
  .next-desk {
    padding: 23px;
  }
  .next-desk h2 {
    font-size: 27px;
  }
  .pilot-title h2 {
    font-size: 25px;
  }
  .pilot-folio {
    font-size: 73px;
  }
  .studio {
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 1fr);
  }
  .canvas {
    padding-right: 23px;
  }
  .node-meta {
    display: none;
  }
  .inspector {
    padding: 24px;
  }
  .node {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .bottom-grid {
    gap: 24px;
  }
  .brand-record {
    grid-template-columns: minmax(150px, 0.85fr) minmax(220px, 1.25fr);
    gap: 15px 27px;
  }
  .record-actions {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 15px;
  }
  .record-actions .brand-hold {
    grid-column: 1;
  }
  .record-actions .button-row {
    grid-column: 2;
    grid-row: 1/3;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }
  .record-actions .badge {
    justify-self: start;
  }
  .detail-grid {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .editor {
    padding: 22px 28px 30px;
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px;
  }
  .column {
    min-height: 320px;
  }
  .login-story {
    padding: 35px 30px;
  }
  .login-panel {
    padding-left: 30px;
    padding-right: 30px;
  }
  .login-panel-meta,
  .login-panel-foot {
    left: 30px;
    right: 30px;
  }
  .login-edition {
    display: none;
  }
  .login-story-foot {
    font-size: 7px;
  }
  .login-story-foot > span:last-child {
    display: none;
  }
  .login-story h2 {
    font-size: clamp(72px, 9.5vw, 100px);
  }
  .login-disciplines {
    gap: 22px;
  }
  .login-disciplines small {
    min-width: 62px;
  }
  .token-wrap h1 {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .brand-name {
    font-size: 22px;
  }
  .brand-byline {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  .top-actions > .icon-button {
    display: none;
  }
  .top-actions .avatar {
    width: 29px;
    height: 29px;
    font-size: 9px;
  }
  .top-status {
    font-size: 10px;
    gap: 6px;
  }
  .mobile-menu {
    width: 40px;
    height: 44px;
  }
  .page {
    padding: 28px 20px 20px;
  }
  .heading {
    margin-bottom: 24px;
    gap: 20px;
  }
  .page-kicker {
    font-size: 9px;
    margin-bottom: 14px;
  }
  .heading h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .heading .sub {
    font-size: 12px;
    max-width: 400px;
  }
  .heading > .button-row {
    width: 100%;
  }
  .heading .btn {
    min-height: 42px;
    font-size: 11px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
    margin-bottom: 26px;
  }
  .stat {
    padding: 17px 17px 17px 0;
    margin-right: 17px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line-soft);
  }
  .stat:nth-child(2n) {
    margin: 0;
    padding-right: 0;
    border-right: 0;
  }
  .stat:last-child {
    border-bottom: 1px solid var(--line);
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-value {
    font-size: 34px;
    margin: 14px 0 7px;
  }
  .stat-note {
    font-size: 9px;
  }
  .desk-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 30px;
  }
  .next-desk {
    min-height: 255px;
    padding: 22px;
  }
  .next-desk h2 {
    font-size: 29px;
    margin-top: 24px;
    max-width: 400px;
  }
  .desk-foot {
    font-size: 9px;
  }
  .pilot-desk {
    padding-top: 20px;
  }
  .pilot-title {
    padding: 17px 0;
  }
  .pilot-title h2 {
    font-size: 27px;
  }
  .pilot-folio {
    font-size: 75px;
  }
  .pilot-slot {
    padding: 17px 0;
  }
  .pilot-slot small {
    font-size: 10px;
  }
  .panel-head {
    padding: 18px;
    gap: 15px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .panel-head .eyebrow {
    font-size: 8px;
  }
  .panel-head > .small {
    font-size: 10px;
  }
  .panel-title {
    gap: 8px;
  }
  .panel-title .badge {
    display: none;
  }
  .panel-head .button-row .btn {
    font-size: 10px;
  }
  .workflow-panel > .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 19px 0 0;
  }
  .workflow-panel .panel-head .tabs {
    gap: 27px;
    min-height: 42px;
  }
  .workflow-panel .panel-head .tab {
    font-size: 11px;
    min-height: 42px;
  }
  .studio {
    grid-template-columns: 1fr;
  }
  .canvas {
    padding: 21px 0 23px;
  }
  .node {
    padding: 19px 5px 19px 0;
    gap: 15px;
  }
  .node-content strong {
    font-size: 14px;
  }
  .node-content small {
    font-size: 11px;
  }
  .node-meta {
    display: inline;
    font-size: 9px;
    max-width: 100px;
  }
  .canvas-bottom {
    font-size: 9px;
  }
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 23px;
  }
  .inspector h2 {
    font-size: 23px;
  }
  .inspector form > .btn {
    min-height: 43px;
  }
  .inspector .rule-note {
    font-size: 11px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 29px;
  }
  .bottom-grid .panel-head {
    padding: 18px 0;
  }
  .list-row {
    padding: 18px 0;
  }
  .list-main b {
    font-size: 12px;
  }
  .list-main small {
    font-size: 10px;
  }
  .text-link {
    font-size: 10px;
  }
  .company-mark {
    width: 33px;
    height: 33px;
    font-size: 10px;
  }
  .toolbar {
    gap: 10px;
    align-items: stretch;
  }
  .search {
    flex: 1;
    min-width: 0;
    width: auto;
  }
  .filter {
    width: 155px;
    font-size: 11px;
  }
  .toolbar .input {
    font-size: 11px;
  }
  .table-wrap table {
    min-width: 760px;
  }
  th {
    font-size: 9px;
    padding: 12px 17px;
  }
  td {
    padding: 17px;
    font-size: 11px;
  }
  .demo-note {
    font-size: 9px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .draft-list {
    display: flex;
    overflow-x: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    scroll-snap-type: x proximity;
  }
  .draft-list-label {
    display: none;
  }
  .draft-row {
    min-width: 210px;
    max-width: 250px;
    padding: 19px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-bottom: 0;
    border-left: 0;
    border-top: 2px solid transparent;
    border-right: 1px solid var(--line);
  }
  .draft-row.active {
    border-top-color: #26723b;
  }
  .draft-row b {
    font-size: 13px;
    margin-top: 10px;
  }
  .draft-row p {
    font-size: 10px;
  }
  .draft-row > small {
    margin-top: 10px;
  }
  .editor {
    padding: 20px;
  }
  .editor-running-head {
    font-size: 7px;
    padding-bottom: 18px;
    margin-bottom: 21px;
  }
  .editor h2 {
    font-size: 23px;
  }
  .editor .button-row > .btn {
    min-height: 42px;
    font-size: 10px;
    padding: 10px 12px;
  }
  .editor #body {
    font-size: 13px;
    min-height: 300px;
  }
  .editor #subject {
    font-size: 15px;
  }
  .notice {
    padding: 13px;
    font-size: 11px;
    line-height: 1.85;
  }
  .editor .notice {
    font-size: 10px;
  }
  .brand-guide {
    grid-template-columns: 1fr;
    gap: 19px;
    margin: 0 0 25px;
    padding-bottom: 24px;
  }
  .brand-guide h2 {
    font-size: 23px;
  }
  .brand-guide .sub {
    font-size: 12px;
  }
  .brand-guide details {
    padding: 15px 17px;
    font-size: 11px;
  }
  .brand-run {
    font-size: 9px;
    padding: 11px 12px;
  }
  .research-panel > .tabs {
    gap: 25px;
    min-height: 52px;
  }
  .tab {
    font-size: 11px;
    min-height: 49px;
  }
  .brand-toolbar {
    padding: 18px 0;
  }
  .brand-record {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 23px 0;
  }
  .record-identity {
    position: relative;
    padding-left: 34px;
  }
  .record-number {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 10px;
    margin: 0;
  }
  .record-identity .eyebrow {
    font-size: 8px;
  }
  .brand-card h2 {
    font-size: 24px;
    margin: 6px 0;
  }
  .record-identity .small {
    font-size: 11px;
  }
  .record-detail {
    padding-left: 34px;
  }
  .brand-description {
    font-size: 12px;
  }
  .brand-card p.small {
    font-size: 11px;
  }
  .record-actions {
    display: flex;
    grid-column: 1;
    padding-left: 34px;
    gap: 12px;
  }
  .record-actions .button-row {
    flex-direction: row;
    margin-top: 2px;
    align-items: center;
  }
  .record-actions .btn {
    font-size: 10px;
    min-height: 43px;
  }
  .record-actions .brand-hold {
    font-size: 10px;
  }
  .record-detail .brand-source-links {
    font-size: 10px;
    margin-top: 12px;
    gap: 11px 17px;
  }
  .brand-empty {
    padding: 40px 10px;
    font-size: 11px;
  }
  .design-case {
    grid-template-columns: 35px 1fr;
    gap: 17px;
    padding: 25px 0;
  }
  .case-number {
    font-size: 29px;
  }
  .case-copy .eyebrow {
    font-size: 8px;
  }
  .case-progress {
    grid-column: 2;
    padding: 0;
  }
  .case-progress .small {
    font-size: 10px;
  }
  .design-case .btn {
    min-height: 43px;
    font-size: 10px;
  }
  .brand-progress {
    margin-top: 8px;
  }
  .board {
    gap: 15px;
  }
  .column > h3 {
    font-size: 11px;
    padding: 13px;
  }
  .deal {
    padding: 15px 12px;
    margin: 12px 9px;
  }
  .deal h3 {
    font-size: 12px;
    margin: 10px 0 16px;
  }
  .deal > strong {
    font-size: 23px;
  }
  .deal p {
    font-size: 10px;
  }
  .deal select {
    font-size: 10px;
  }
  .source-title {
    font-size: 8px;
  }
  .deal .badge {
    font-size: 7px;
  }
  .column {
    min-height: 290px;
  }
  .deal-empty {
    padding: 24px 15px;
  }
  .deal-empty p {
    font-size: 10px;
  }
  .delivery {
    padding: 20px;
  }
  .delivery .sub {
    font-size: 11px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .metric-grid > div {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 17px;
  }
  .metric-grid small {
    font-size: 8px;
    margin-bottom: 9px;
  }
  .metric-grid > div:last-child {
    padding-bottom: 0;
  }
  .milestone {
    font-size: 12px;
    padding: 17px 0;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .integration {
    padding: 23px;
  }
  .integration h2 {
    font-size: 22px;
  }
  .integration p {
    font-size: 12px;
  }
  .integration .btn {
    min-height: 44px;
    font-size: 11px;
  }
  .activity-row {
    padding: 20px 18px;
    gap: 12px;
  }
  .activity-row p {
    font-size: 12px;
  }
  .activity-row small {
    font-size: 9px;
  }
  .activity-row .stat-icon {
    width: 29px;
    height: 29px;
  }
  .run-result {
    padding: 20px;
  }
  .run-summary {
    gap: 12px;
    padding: 20px 0;
  }
  .run-summary strong {
    font-size: 26px;
  }
  .run-summary small {
    font-size: 9px;
  }
  .empty {
    padding: 38px 20px;
    font-size: 11px;
  }
  .footer-line {
    flex-wrap: wrap;
    gap: 13px;
    font-size: 8px;
    padding-top: 23px;
    margin-top: 24px;
  }
  .footer-line > a {
    font-size: 8px;
    gap: 7px;
    flex-basis: 100%;
  }
  .footer-line img {
    width: 15px;
    height: 15px;
  }
  dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 30px);
  }
  .dialog-head {
    padding: 17px 20px;
  }
  .dialog-head h2 {
    font-size: 21px;
  }
  .dialog-head .icon-button {
    width: 40px;
    height: 40px;
  }
  .dialog-body {
    padding: 22px 20px;
  }
  .dialog-body .btn {
    min-height: 44px;
    font-size: 11px;
  }
  .dialog-body .sub {
    font-size: 12px;
  }
  .dialog-body label {
    font-size: 12px;
  }
  .dialog-body .small {
    font-size: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dialog-actions {
    margin-top: 24px;
    gap: 8px;
  }
  .brand-criterion {
    padding: 17px 15px;
  }
  .brand-criterion legend {
    font-size: 11px;
  }
  .source-option {
    min-height: 49px;
  }
  .form-error {
    font-size: 11px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: 300px;
    gap: 25px;
    padding: 25px 26px 27px;
  }
  .login-masthead .brand-name {
    font-size: 21px;
  }
  .login-story .brand img {
    width: 25px;
    height: 25px;
  }
  .login-edition {
    display: inline;
    font-size: 8px;
  }
  .login-story-content {
    padding: 16px 0 0;
  }
  .login-story .eyebrow {
    font-size: 8px;
    margin: 0;
  }
  .login-story h2 {
    font-size: 72px;
    line-height: 1;
    letter-spacing: -5px;
    margin: 17px 0 13px;
  }
  .login-story-content > p {
    font-size: 14px;
    line-height: 1.65;
  }
  .login-disciplines,
  .login-story-foot {
    display: none;
  }
  .login-brand-sculpture {
    width: 230px;
    height: 230px;
    bottom: -45px;
    right: -50px;
    opacity: 0.08;
  }
  .login-panel {
    padding: 70px 26px 86px;
    min-height: 525px;
  }
  .login-panel-meta {
    top: 21px;
    left: 26px;
    right: 26px;
    font-size: 8px;
  }
  .login-panel-foot {
    bottom: 22px;
    left: 26px;
    right: 26px;
    font-size: 8px;
  }
  .token-wrap {
    max-width: 430px;
  }
  .token-wrap > .eyebrow {
    font-size: 8px;
    margin-bottom: 17px;
  }
  .token-wrap h1 {
    font-size: 32px;
  }
  .token-wrap > .sub {
    font-size: 12px;
    margin-top: 13px;
  }
  .token-wrap .field-label {
    margin-top: 27px;
    font-size: 11px;
  }
  .token-wrap > .input {
    height: 49px;
  }
  .token-wrap > .btn {
    height: 47px;
    font-size: 12px;
  }
  .login-note {
    font-size: 9px;
    gap: 7px;
  }
}
@media (max-width: 430px) {
  .page {
    padding: 25px 17px 18px;
  }
  .topbar {
    padding: 0 17px;
  }
  .top-actions {
    gap: 8px;
  }
  .top-status {
    font-size: 9px;
  }
  .masthead {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-name {
    font-size: 21px;
  }
  .top-actions .avatar {
    display: none;
  }
  .heading h1 {
    font-size: 30px;
  }
  .heading > .button-row {
    gap: 6px;
  }
  .heading .btn {
    font-size: 10px;
    padding: 10px 12px;
  }
  .stat {
    margin-right: 15px;
    padding-right: 15px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-note {
    font-size: 8px;
  }
  .stat-value {
    font-size: 32px;
  }
  .next-desk {
    padding: 21px;
  }
  .next-desk h2 {
    font-size: 28px;
  }
  .node-meta {
    font-size: 8px;
    max-width: 82px;
  }
  .node-content small {
    font-size: 10px;
  }
  .node-content strong {
    font-size: 13px;
  }
  .node {
    gap: 11px;
  }
  .step-index {
    width: 25px;
  }
  .filter {
    width: 139px;
    font-size: 10px;
  }
  .toolbar .input {
    font-size: 10px;
  }
  .search .input {
    padding-left: 33px;
  }
  .search > .icon {
    left: 10px;
  }
  .board {
    grid-template-columns: 1fr;
  }
  .column {
    min-height: 170px;
  }
  .deal h3 {
    font-size: 14px;
  }
  .deal p {
    font-size: 11px;
  }
  .deal select {
    font-size: 12px;
    min-height: 42px;
  }
  .deal .badge {
    font-size: 8px;
  }
  .deal-empty p {
    font-size: 11px;
  }
  .column > h3 {
    font-size: 12px;
  }
  .brand-card h2 {
    font-size: 23px;
  }
  .record-detail,
  .record-actions {
    padding-left: 0;
  }
  .record-identity {
    padding-left: 31px;
  }
  .record-actions .btn {
    font-size: 10px;
  }
  .login-story {
    min-height: 286px;
    padding: 24px 23px;
  }
  .login-story h2 {
    font-size: 68px;
  }
  .login-panel {
    padding-left: 23px;
    padding-right: 23px;
  }
  .login-panel-meta,
  .login-panel-foot {
    left: 23px;
    right: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Workflow redesign / onboarding composition. Existing access form remains functional. */
.login-screen {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}
.login-story {
  background: #101311;
  min-height: 100dvh;
}
.login-story::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 36% 42% at 38% 58%, rgba(235, 238, 236, 0.17), transparent 80%),
    radial-gradient(ellipse 30% 38% at 66% 62%, rgba(235, 238, 236, 0.13), transparent 82%),
    radial-gradient(ellipse 22% 27% at 52% 33%, rgba(235, 238, 236, 0.1), transparent 85%);
  filter: blur(26px);
}
.login-story-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 48px 0;
  text-align: center;
}
.login-story-content::before {
  content: '';
  display: block;
  width: min(78%, 680px);
  height: clamp(260px, 37vw, 450px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background:
    linear-gradient(#00ff90, #00ff90) left top/25px 2px no-repeat,
    linear-gradient(#00ff90, #00ff90) left top/2px 25px no-repeat,
    linear-gradient(#00ff90, #00ff90) right top/25px 2px no-repeat,
    linear-gradient(#00ff90, #00ff90) right top/2px 25px no-repeat,
    linear-gradient(#00ff90, #00ff90) left bottom/25px 2px no-repeat,
    linear-gradient(#00ff90, #00ff90) left bottom/2px 25px no-repeat,
    linear-gradient(#00ff90, #00ff90) right bottom/25px 2px no-repeat,
    linear-gradient(#00ff90, #00ff90) right bottom/2px 25px no-repeat;
}
.login-story .eyebrow {
  color: #a5b2ab;
}
.login-story h2 {
  font-size: clamp(54px, 7vw, 100px);
  font-weight: 400;
  letter-spacing: -0.065em;
  margin: 0 0 12px;
}
.login-story-content > p {
  font-size: clamp(25px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.055em;
  color: #fff;
  max-width: 650px;
}
.login-disciplines {
  display: none;
}
.login-story-foot {
  margin-top: auto;
}
.login-brand-sculpture {
  bottom: auto;
  right: auto;
  left: 50%;
  top: 43%;
  width: 120px;
  height: 120px;
  opacity: 0.9;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1);
}
@media (max-width: 900px) {
  .login-story {
    min-height: 420px;
  }
  .login-story-content::before {
    height: 270px;
    width: 88%;
  }
  .login-brand-sculpture {
    top: 39%;
    width: 75px;
    height: 75px;
  }
  .login-story-content {
    padding: 65px 0;
  }
  .login-story-content > p {
    font-size: clamp(26px, 5vw, 43px);
  }
}
@media (max-width: 430px) {
  .login-story {
    min-height: 360px;
  }
  .login-story-content::before {
    height: 225px;
  }
  .login-brand-sculpture {
    top: 37%;
    width: 65px;
    height: 65px;
  }
  .login-story h2 {
    font-size: 55px;
  }
  .login-story-content > p {
    font-size: 27px;
  }
}

/* Figma desktop workspace shell: 80px ink rail, 72px header and work surface. */
@media (min-width: 901px) {
  .app {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    grid-template-rows: 72px minmax(0, 1fr);
    background: #f7f8fa;
  }
  .topbar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 0;
    height: 72px;
    padding: 0 40px;
    background: #fff;
    color: #14181b;
    border-bottom: 1px solid #e1e5e9;
    z-index: 35;
  }
  .topbar .brand {
    color: #14181b;
  }
  .topbar .brand:hover {
    color: #14181b;
  }
  .topbar .brand img {
    display: none;
  }
  .topbar .brand-name {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.045em;
  }
  .topbar .brand-name > span {
    color: #00e68a;
  }
  .brand-byline {
    color: #68727a;
    border-color: #e1e5e9;
  }
  .top-status {
    color: #68727a;
  }
  .top-status:hover {
    color: #14181b;
  }
  .topbar .avatar {
    display: none;
  }
  .sidebar {
    grid-column: 1;
    grid-row: 1 / 3;
    position: sticky;
    top: 0;
    align-self: start;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 8px 12px;
    background: #14181b;
    border: 0;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .sidebar::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 29px;
    height: 27px;
    background: url('/apexxtech-mark.svg') center/contain no-repeat;
  }
  .sidebar nav,
  .sidebar nav.nav-manage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .sidebar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 64px;
    min-height: 66px;
    padding: 5px 0;
    border: 0;
    margin: 0;
    color: #9da8ac;
    font-size: 10px;
    line-height: 16px;
  }
  .sidebar .nav-item:hover,
  .sidebar .nav-item.active {
    color: #fff;
    border: 0;
  }
  .sidebar .nav-symbol {
    display: grid;
    place-items: center;
    width: 44px;
    height: 36px;
    border-radius: 4px;
  }
  .sidebar .nav-item:hover .nav-symbol,
  .sidebar .nav-item.active .nav-symbol {
    background: #202529;
  }
  .sidebar .nav-symbol .icon {
    width: 20px;
    height: 20px;
  }
  .sidebar .count {
    position: absolute;
    top: 0;
    right: 0;
    background: #00ff90;
    color: #14181b;
  }
  .sidebar .nav-manage {
    margin-top: 8px;
  }
  .main {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }
  .page {
    max-width: 1440px;
    padding: 40px;
  }
}
@media (max-width: 900px) {
  .nav-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-symbol .icon {
    width: 18px;
    height: 18px;
  }
}

/* Working components: banners, setup, row actions, settings and email review. */
code {
  font: 11px var(--mono);
  background: #f1f4ef;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid #e3d9b8;
  border-left: 3px solid #c79a1e;
  background: #fbf8ee;
  font-size: 12px;
  line-height: 1.7;
}
.banner strong {
  font-weight: 500;
}
.banner p {
  color: #6b6340;
}
.setup-panel {
  margin-bottom: 24px;
}
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.setup-steps li {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--line-soft);
  font-size: 12px;
}
.setup-steps li:last-child {
  border-right: 0;
}
.setup-steps small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.setup-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.setup-steps li.done .setup-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}
.setup-mark .icon {
  width: 13px;
  height: 13px;
}
.next-step {
  font-size: 12px;
  color: var(--muted);
  max-width: 260px;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.row-actions .btn {
  padding: 7px 10px;
  font-size: 11px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.section-head label {
  margin: 0;
}
.dialog-actions.spread {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.form-section {
  margin: 20px 0 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line-soft);
}
.form-section legend {
  padding: 0 6px;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.055em;
  color: var(--muted);
  text-transform: uppercase;
}
.inline-field {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.inline-field select {
  flex: 1;
  min-width: 0;
}
.editor-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.editor-title h2 {
  margin-top: 8px;
}
.editor-actions {
  flex-wrap: wrap;
}
.editor-actions .spacer {
  flex: 1;
}
.message-subject {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0 18px;
}
.message-body {
  font:
    14px/1.95 Switzer,
    Arial,
    sans-serif;
  white-space: pre-wrap;
  margin: 6px 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.history-panel,
.lost-panel {
  margin-top: 24px;
}
.board.compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: 0 8px 12px;
}
.deal .row-actions {
  margin-top: 12px;
}
.delivery-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.milestone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.milestone-row .milestone {
  flex: 1;
  border-bottom: 0;
}
.milestone-row .btn.ghost {
  padding: 6px;
}
.inline-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.inline-form .input {
  flex: 1;
}
.settings-tabs {
  margin: 0 0 24px;
  border-bottom: 1px solid var(--line);
}
.settings-form .settings-body {
  padding: 4px 24px 24px;
  max-width: 860px;
}
.settings-form .button-row {
  margin-top: 20px;
}
.option-title {
  margin: 22px 0 4px;
  font-size: 14px;
}
.option-title small {
  font: 10px var(--mono);
  color: var(--muted);
  margin-left: 6px;
  text-transform: uppercase;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0 16px;
  margin-bottom: 12px;
}
.email-meta {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 6px 14px;
  margin: 0 0 18px;
  font-size: 13px;
}
.email-meta dt {
  font: 10px/2 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}
.email-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.guide {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
}
.guide li + li {
  margin-top: 10px;
}
.login-error {
  margin-top: 12px;
}
/* The brand mark sits above the hero copy instead of overlapping it. */
.login-story-content .login-brand-sculpture {
  position: static;
  z-index: auto;
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  transform: none;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .setup-steps {
    grid-template-columns: 1fr;
  }
  .setup-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .login-story-content .login-brand-sculpture {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }
  .editor-actions .spacer {
    display: none;
  }
}
.link-button {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.link-button:hover {
  text-decoration-color: currentColor;
}
/* Follow-ups: the conversation timeline and the follow-up settings. */
.conversation {
  margin: 4px 0 20px;
}
.conversation-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-soft);
}
.conversation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.conversation-item:last-child {
  border-bottom: 0;
}
.conversation-item b {
  font-weight: 500;
}
.conversation-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.conversation-item.queued {
  background: var(--surface-raised);
}
.conversation-item.cancelled b,
.conversation-item.cancelled small {
  color: var(--subtle);
}
.conversation-item .btn {
  flex: none;
  padding: 6px 10px;
  font-size: 11px;
}
.followup-slot + .followup-slot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.followup-review textarea {
  min-height: 0;
}
/* CSV import preview. */
.import-mapping {
  margin: 4px 0 16px;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
}
.import-mapping summary {
  cursor: pointer;
  font: 10px/2 var(--mono);
  letter-spacing: 0.055em;
  color: var(--muted);
  text-transform: uppercase;
}
.import-preview {
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line-soft);
}
.import-preview table {
  font-size: 12px;
}
.import-domain {
  display: block;
}
.import-notes {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
/* AI suggestions. */
.assist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 4px 0 14px;
}
.assist-row .small {
  flex: 1;
  min-width: 200px;
}
.assist-note {
  margin: 0 0 14px;
}
/* Results on the Desk. */
.results-panel {
  margin-bottom: 24px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.results-grid > div {
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.results-grid > div:nth-child(3n) {
  border-right: 0;
}
.results-grid dt {
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.055em;
  color: var(--muted);
  text-transform: uppercase;
}
.results-grid dd {
  margin: 4px 0 2px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.results-grid small {
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 900px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .results-grid > div:nth-child(3n) {
    border-right: 1px solid var(--line-soft);
  }
  .results-grid > div:nth-child(2n) {
    border-right: 0;
  }
}
