:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #182c29;
  background: #f5f7f8;
  font-synthesis: none;
  --green: #176a52;
  --muted: #637872;
  --line: #e3eae7;
  --purple: #7465d7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: var(--green);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  margin-bottom: 9px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 13px;
}
.muted,
.subtitle {
  color: var(--muted);
}
.subtitle {
  margin-bottom: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: 1.7px;
  font-size: 22px;
  color: #193f33;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 3px;
}
.logo {
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 12px;
  width: 40px;
  height: 42px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -5px;
  padding-right: 5px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 650;
  color: #304b41;
  min-height: 42px;
}
.btn:hover {
  background: #edf5f0;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #11543f;
}
.btn.danger {
  color: #b73737;
}
.btn.slim {
  padding: 7px 11px;
  min-height: 34px;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2f2;
  color: #536c65;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.green {
  background: #e5f6eb;
  color: #1f7346;
}
.badge.amber {
  background: #fff3db;
  color: #8c5d15;
}
.badge.purple {
  background: #eeebff;
  color: #6955be;
}
.badge.red {
  background: #fcebea;
  color: #b54543;
}
.badge.blue {
  background: #e8f0ff;
  color: #3b61a5;
}
.avatar {
  height: 38px;
  width: 38px;
  border-radius: 11px;
  background: #e7f2ec;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}
.empty .icon {
  width: 35px;
  height: 35px;
  margin-bottom: 12px;
  color: #85aa99;
}
.page-header {
  margin-bottom: 28px;
}
.page-header .subtitle {
  margin: 0;
}
.notice {
  border: 1px solid #eadfb5;
  background: #fffbee;
  color: #756126;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.55;
}
.notice a {
  text-decoration: underline;
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  padding: 30px 17px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar .brand {
  padding: 0 12px;
  margin-bottom: 32px;
}
.workspace {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 4px 24px;
  font-size: 14px;
}
.workspace small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.nav-label {
  color: #8b9c96;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 700;
  margin: 12px 14px;
}
.nav-button {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 2px 0;
  color: #62756d;
  font-size: 14px;
  font-weight: 550;
  min-height: 41px;
}
.nav-button:hover {
  background: #f2f6f4;
}
.nav-button.active {
  color: #17684e;
  background: #e7f2ec;
  font-weight: 700;
}
.nav-button .count {
  margin-left: auto;
  background: white;
  color: #3c775f;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 80px;
  background: #ffffffcf;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 20px;
}
.search {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #8b9b94;
  font-size: 14px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 230px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.topbar-right .avatar {
  border-radius: 50%;
}
.content {
  padding: 32px 38px 48px;
  max-width: 1700px;
  margin: auto;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #69877b;
  font-weight: 750;
  margin-bottom: 12px;
}
.welcome {
  background: linear-gradient(110deg, #e6f3eb, #f1f5e8 70%, #e9edfa);
  border: 1px solid #dbe9df;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  margin-bottom: 25px;
  overflow: hidden;
}
.welcome h2 {
  font-size: 25px;
  margin: 6px 0 8px;
}
.welcome p {
  font-size: 14px;
  color: #5e796b;
  margin-bottom: 16px;
  max-width: 580px;
}
.orbital {
  width: 180px;
  height: 130px;
  position: relative;
  flex-shrink: 0;
}
.orbital:before,
.orbital:after {
  content: "";
  position: absolute;
  inset: 8px 22px;
  border: 1px dashed #a5c6ae;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.orbital:after {
  inset: 25px 2px;
  transform: rotate(30deg);
}
.orbital .bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d9e9dd;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 15px #30644612;
}
.bubble:first-child {
  left: 62px;
  top: 45px;
  background: var(--green);
  color: white;
  width: 54px;
  height: 54px;
}
.bubble:nth-child(2) {
  left: 0;
  top: 10px;
  color: #37a274;
}
.bubble:nth-child(3) {
  right: 0;
  top: 0;
  color: #8872d3;
}
.bubble:nth-child(4) {
  right: 0;
  bottom: 0;
  color: #5889c3;
}
.bubble:nth-child(5) {
  left: 13px;
  bottom: 0;
  color: #d39b5e;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 24px 0;
}
.metric {
  padding: 21px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metric .metric-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: #ebf3ed;
  color: #4e8c6c;
}
.metric:nth-child(2) .metric-icon {
  background: #edeafa;
  color: #8d74ce;
}
.metric:nth-child(3) .metric-icon {
  background: #e9f0fe;
  color: #6591d1;
}
.metric:nth-child(4) .metric-icon {
  background: #fff1e4;
  color: #d29a54;
}
.metric-label {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 8px;
}
.metric-number {
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1px;
}
.metric small {
  display: block;
  color: #8b9d94;
  margin-top: 9px;
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 21px;
}
.card-title {
  font-size: 17px;
  margin-bottom: 6px;
}
.card-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.chart {
  height: 210px;
  position: relative;
  padding: 20px 0 20px 30px;
  margin-top: 20px;
}
.chart-grid {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gridline {
  border-top: 1px dashed #e4ebe7;
  position: relative;
}
.gridline span {
  position: absolute;
  left: -28px;
  top: -8px;
  font-size: 11px;
  color: #94a49b;
}
.chart svg {
  position: absolute;
  left: 30px;
  top: 20px;
  width: calc(100% - 30px);
  height: calc(100% - 40px);
  overflow: visible;
}
.axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #879b91;
  margin-left: 30px;
}
.legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #75897f;
  margin-top: 18px;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #559277;
  margin-right: 7px;
}
.legend span:nth-child(2):before {
  background: #b8a8e1;
}
.channel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f3f1;
}
.channel-row:last-child {
  border: 0;
}
.channel-tile {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #388c66;
  background: #e9f7ed;
}
.channel-row:nth-child(2) .channel-tile {
  background: #faeaf4;
  color: #c45a9e;
}
.channel-row:nth-child(3) .channel-tile {
  background: #eaf1fe;
  color: #5481c1;
}
.channel-row .label {
  flex: 1;
  font-size: 14px;
}
.channel-row small {
  color: #8a9a92;
  font-size: 11px;
}
.setup {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2ef;
  font-size: 14px;
}
.setup .step {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e4dd;
  border-radius: 50%;
  font-size: 12px;
}
.setup.done .step {
  background: #dff1e5;
  color: #26734a;
  border: 0;
}
.setup .btn {
  margin-left: auto;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
}
th {
  font-size: 12px;
  font-weight: 600;
  color: #7e9087;
  background: #f8faf9;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 15px;
  border-bottom: 1px solid #edf1ee;
}
tbody tr:last-child td {
  border: 0;
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-card > .between {
  padding: 21px 24px;
}
.table-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.table-name small {
  display: block;
  color: #899a91;
  margin-top: 4px;
}
.toolbar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  background: white;
  color: #314c40;
  min-width: 240px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cards-grid .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cards-grid .card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.cards-grid .card .btn {
  margin-top: auto;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
  overflow: auto;
}
.pipeline-col {
  background: #edf1ee;
  border-radius: 12px;
  padding: 15px;
  min-height: 300px;
}
.pipeline-col h3 {
  font-size: 14px;
}
.deal {
  background: white;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 12px;
}
.deal p {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0;
}
.deal select {
  font-size: 12px;
  width: 100%;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.inbox {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr) 240px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  min-height: 600px;
}
.conversation-list {
  border-right: 1px solid var(--line);
}
.conversation-item {
  width: 100%;
  padding: 20px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.conversation-item.active {
  background: #ecf5ef;
}
.conversation-item p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.conversation-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.conversation-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.messages {
  padding: 24px;
  flex: 1;
  background: #fafcfb;
  min-height: 300px;
}
.message {
  max-width: 85%;
  padding: 14px 17px;
  border-radius: 10px;
  background: #fff5d7;
  border: 1px solid #ede1b7;
  margin: 10px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message small {
  display: block;
  color: #8e804e;
  margin-top: 7px;
}
.composer {
  padding: 18px;
  border-top: 1px solid var(--line);
}
.composer textarea {
  resize: vertical;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  min-height: 80px;
}
.customer-panel {
  border-left: 1px solid var(--line);
  padding: 24px;
}
.customer-panel p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #425e50;
  font-weight: 550;
}
label.full {
  grid-column: 1/-1;
}
input,
select,
textarea {
  min-width: 0;
  border: 1px solid #dce5df;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: #233f30;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.form-error {
  color: #ac3c3c;
  font-size: 14px;
  line-height: 1.6;
}
.form-help {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  width: min(620px, calc(100vw - 32px));
  max-height: 90vh;
  color: #203d2d;
  box-shadow: 0 25px 90px #10291d30;
}
dialog::backdrop {
  background: #102b2360;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 9px;
}
.dialog-close {
  border: 0;
  background: none;
  font-size: 23px;
  color: #708d7b;
  padding: 5px;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 420px;
  background: #203e31;
  color: white;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 8px 30px #0002;
  z-index: 100;
  display: none;
  font-size: 14px;
  line-height: 1.5;
}
#toast.visible {
  display: block;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-aside {
  background: #123e30;
  color: white;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-aside .brand {
  color: white;
  margin-bottom: 65px;
}
.auth-aside h1 {
  font-size: 48px;
  max-width: 470px;
  line-height: 1.15;
}
.auth-aside p {
  color: #aecdbd;
  max-width: 430px;
}
.auth-form {
  padding: 60px;
  display: grid;
  place-content: center;
}
.auth-form form {
  width: min(430px, 100%);
}
.auth-form label {
  margin-bottom: 17px;
}
.auth-form .btn {
  width: 100%;
}
.auth-form .form-help {
  text-align: center;
  margin-top: 20px;
}
.landing {
  background: #fcfefc;
  min-height: 100vh;
}
.landing nav {
  max-width: 1200px;
  margin: auto;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.landing nav .links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.hero {
  padding: 80px 24px 60px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}
.hero .badge {
  padding: 8px 14px;
  border-radius: 20px;
  margin-bottom: 25px;
}
.hero h1 {
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: -3px;
  max-width: 900px;
}
.hero h1 span {
  color: var(--green);
}
.hero p {
  font-size: 19px;
  color: #6d8476;
  max-width: 660px;
  margin: 24px auto 30px;
}
.hero .flex {
  justify-content: center;
}
.hero-preview {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 25px;
  border: 1px solid #dce8df;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8f2e9, #f2f2fc);
  box-shadow: 0 30px 70px #1c674c0d;
}
.preview-inner {
  background: white;
  border-radius: 12px;
  padding: 28px;
}
.feature-section {
  max-width: 1150px;
  padding: 50px 24px;
  margin: auto;
}
.feature-section > h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 15px;
}
.feature-section > .subtitle {
  text-align: center;
  margin-bottom: 35px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 35px;
  max-width: 1150px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.demo-banner {
  background: #fff3cf;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #735d25;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mobile-toggle {
  display: none;
}
.legal-draft {
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.8;
}
.workflow-node {
  padding: 20px;
  border: 1px solid #d8e7dc;
  background: #f4f9f6;
  border-radius: 10px;
  margin: 16px 0;
  position: relative;
}
.workflow-node + .workflow-node:before {
  content: "";
  height: 16px;
  position: absolute;
  top: -17px;
  left: 30px;
  border-left: 2px dashed #b8cebe;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 40px;
  }
  .dashboard-grid {
    gap: 25px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 210px 1fr;
  }
  .sidebar {
    width: 210px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inbox {
    grid-template-columns: 240px 1fr;
  }
  .customer-panel {
    display: none;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 17px;
  }
  .orbital {
    width: 140px;
  }
}
@media (max-width: 850px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .search input {
    width: 150px;
  }
  .topbar-right .user-name {
    display: none;
  }
  .orbital {
    display: none;
  }
  .hero h1 {
    font-size: 49px;
  }
  .auth-aside {
    padding: 40px;
  }
  .auth-aside h1 {
    font-size: 36px;
  }
  .auth-form {
    padding: 30px;
  }
  .inbox {
    grid-template-columns: 200px 1fr;
  }
}
@media (max-width: 650px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vw #183c3040;
  }
  .main {
    width: 100%;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
  }
  .search {
    display: none;
  }
  .content {
    padding: 24px 16px;
  }
  .page-header {
    align-items: flex-start;
  }
  .page-header h1 {
    font-size: 27px;
  }
  .page-header .flex {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .welcome {
    padding: 22px;
  }
  .welcome h2 {
    font-size: 22px;
  }
  .metrics {
    margin: 18px 0;
  }
  .metric-number {
    font-size: 28px;
  }
  .card {
    padding: 20px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .inbox {
    display: block;
  }
  .conversation-list {
    max-height: 200px;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .conversation-panel {
    min-height: 450px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid label {
    grid-column: 1/-1;
  }
  .auth {
    display: block;
  }
  .auth-aside {
    padding: 25px;
  }
  .auth-aside .brand {
    margin: 0;
  }
  .auth-aside h1,
  .auth-aside p {
    display: none;
  }
  .auth-form {
    padding: 40px 25px;
    display: block;
  }
  .auth-form form {
    width: 100%;
  }
  .landing nav .links > a {
    display: none;
  }
  .hero {
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.7px;
  }
  .hero p {
    font-size: 17px;
  }
  .hero .flex {
    flex-wrap: wrap;
  }
  .hero-preview {
    margin: 0 16px 30px;
    padding: 12px;
  }
  .preview-inner {
    padding: 15px;
  }
  .landing nav {
    padding: 20px;
  }
  .footer {
    display: block;
    line-height: 2;
  }
  .demo-banner {
    gap: 10px;
  }
  .demo-banner select {
    max-width: 150px;
    padding: 5px;
    font-size: 12px;
  }
  .topbar .badge {
    font-size: 10px;
  }
  .table-card {
    padding: 0;
  }
}

.sidebar nav {
  overflow-y: auto;
  min-height: 0;
}
.workflow-node label {
  margin-top: 12px;
}
.workflow-node[draggable] {
  cursor: grab;
}
.workflow-node[draggable]:active {
  cursor: grabbing;
}

/* Shared NINO editorial identity: public entry points and demo welcome. */
.landing,
.auth {
  background: #f7f5ef;
  color: #242e27;
  font-family: Inter, "Segoe UI", sans-serif;
}
.landing nav {
  max-width: 1240px;
  padding: 28px 40px;
  border-bottom: 1px solid #d9dccf;
}
.landing nav .links {
  font-size: 12px;
  gap: 22px;
}
.landing .btn,
.auth .btn {
  border-radius: 0;
}
.landing .hero {
  padding: 65px 40px 42px;
  max-width: 1240px;
  text-align: left;
}
.landing .hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 76px;
  letter-spacing: -3px;
  max-width: 1000px;
  line-height: 1.06;
}
.landing .hero h1 span {
  font-style: italic;
  color: #737d59;
}
.landing .hero p {
  margin-left: 0;
  font-size: 16px;
  line-height: 1.8;
  max-width: 590px;
  color: #5d685c;
}
.landing .hero .form-help {
  font-size: 12px;
}
.landing .hero .flex {
  justify-content: start;
}
.landing .hero .badge {
  background: transparent;
  border: 0;
  color: #596947;
  padding-left: 0;
  font-size: 11px;
  letter-spacing: 0.07em;
}
.landing .hero-preview {
  max-width: 1160px;
  border-radius: 0;
  background: #e5e9de;
  box-shadow: none;
  padding: 20px;
  border-color: #cdd5c6;
}
.landing .preview-inner {
  border-radius: 0;
  background: #f9f8f2;
}
.landing .feature-section {
  max-width: 1240px;
  padding: 40px;
}
.landing .feature-section > h2 {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  text-align: left;
}
.landing .feature-section > .subtitle {
  text-align: left;
}
.landing .cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
}
.landing .cards-grid > .card {
  border: 0;
  border-top: 1px solid #cbd1c3;
  border-radius: 0;
  padding: 25px 0;
  background: transparent;
  box-shadow: none;
}
.landing .cards-grid > .card h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}
.landing .cards-grid > .card p {
  line-height: 1.8;
  color: #586351;
}
.landing .notice,
.auth .notice {
  border-radius: 0;
  line-height: 1.8;
  background: #eaece2;
  border-color: #cbd1c3;
}
.landing .footer {
  max-width: 1160px;
  padding: 30px 0 40px;
}
.auth .auth-aside {
  background: #223e33;
  color: #f7f5ef;
}
.auth .auth-aside h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 58px;
  line-height: 1.1;
}
.auth .auth-form h1 {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 400;
}
.auth .field input {
  border-radius: 0;
}
.auth a {
  color: #285340;
}
.auth-aside .brand {
  color: #fff;
}
.demo-banner {
  border-radius: 0;
}
.welcome h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.brand-icon {
  border-radius: 2px;
}
:focus-visible {
  outline: 2px solid #8b6b34;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .landing nav {
    padding: 20px;
  }
  .landing nav .links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: end;
  }
  .landing nav .links > a {
    display: none;
  }
  .landing .hero {
    padding: 38px 22px 28px;
  }
  .landing .hero h1 {
    font-size: 48px;
    letter-spacing: -1.5px;
  }
  .landing .hero p {
    font-size: 15px;
  }
  .landing .hero-preview {
    margin: 0 18px 30px;
    padding: 10px;
  }
  .landing .preview-inner {
    padding: 18px;
  }
  .landing .feature-section {
    padding: 32px 22px;
  }
  .landing .feature-section > h2 {
    font-size: 35px;
  }
  .landing .cards-grid {
    grid-template-columns: 1fr;
  }
  .landing .footer {
    margin: 20px 22px 0;
    gap: 25px;
  }
  .auth .auth-aside h1 {
    font-size: 36px;
  }
  .auth .auth-form h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
