:root {
  color-scheme: light;
  --ink: #242a28;
  --muted: #717875;
  --line: #e6e9e6;
  --canvas: #f5f6f4;
  --surface: #fff;
  --green: #456453;
  --green-dark: #304c3e;
  --green-pale: #eaf0eb;
  --amber: #946923;
  --danger: #a14d43;
  --radius: 19px;
  font-family: "Avenir Next", Aptos, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #658873a8;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 600;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 600;
  margin-bottom: 8px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
p {
  line-height: 1.65;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce1dc;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 13px;
  min-height: 42px;
}
input::placeholder,
textarea::placeholder {
  color: #969d97;
}
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #587c6514;
  border-color: #789b83;
}
input:read-only {
  background: #f5f6f4;
  color: #727a74;
}
textarea {
  line-height: 1.7;
  resize: vertical;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  min-height: 0;
  flex: none;
  margin: 0;
}
input[type="checkbox"]:disabled {
  opacity: 0.65;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 12px 20px;
  background: white;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.app {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #eef0edcc;
  border-right: 1px solid #e2e6e1;
  padding: 32px 17px 20px;
  min-width: 0;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-decoration: none;
  margin: 0 16px 39px;
}
.brand-logo {
  width: 144px;
  height: auto;
  object-fit: contain;
}
.brand > span {
  font-size: 12px;
  color: #777e79;
  letter-spacing: 0.1px;
  margin-left: 2px;
}
.sidebar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 11px;
  margin-bottom: 10px;
  color: #69736c;
  font-size: 11px;
  font-weight: 600;
}
.count {
  font-weight: 400;
  color: #97a097;
  margin-left: 5px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 0;
  background: none;
  border-radius: 7px;
  color: var(--muted);
  padding: 7px;
  min-width: 32px;
  min-height: 32px;
}
.icon-button svg {
  width: 16px;
  height: 16px;
}
.icon-button:hover {
  background: #dfe5dd80;
  color: var(--ink);
}
.search-box {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  margin: 0 3px 17px;
  padding: 0 10px;
  border: 1px solid #dfe5dc;
  background: #ffffff61;
  border-radius: 9px;
}
.search-box svg {
  width: 14px;
  height: 14px;
  color: #909990;
}
.search-box input {
  min-height: 34px;
  border: 0;
  background: none;
  padding: 7px 0;
  font-size: 11px;
  outline: none;
  box-shadow: none;
}
.search-box:focus-within {
  border-color: #94ad9c;
}
.search-box kbd {
  font-size: 10px;
  color: #99a196;
  font-family: inherit;
  font-weight: 400;
  border: 1px solid #dfe4dd;
  border-radius: 3px;
  padding: 0 4px;
}
.customer-list {
  overflow: auto;
  display: grid;
  gap: 5px;
  margin: 0 -2px;
  padding: 2px;
  min-height: 0;
}
.customer-row {
  position: relative;
  min-width: 0;
}
.customer-item {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 13px 37px 13px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: #626a64;
  min-height: 68px;
}
.customer-item:hover {
  background: #ffffff85;
}
.customer-item.active {
  background: #fff;
  border-color: #fefefe;
  color: var(--ink);
  box-shadow:
    0 2px 5px #293b3005,
    0 5px 15px #293b3006;
}
.customer-monogram {
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 34px;
  border-radius: 9px;
  background: #e4e9e2;
  font-size: 11px;
  font-weight: 600;
  color: #6d7b6e;
}
.customer-item.active .customer-monogram {
  background: var(--green-pale);
  color: var(--green);
}
.customer-copy {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
  font-size: 12px;
  font-weight: 550;
}
.customer-copy small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #889088;
  font-weight: 400;
}
.customer-status-dot {
  position: absolute;
  right: 17px;
  bottom: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aeb6ae;
}
.customer-status-dot.active,
.customer-status-dot.healthy {
  background: #719781;
}
.customer-status-dot.error,
.customer-status-dot.action_required {
  background: #b67362;
}
.customer-status-dot.paused {
  background: #b69867;
}
.customer-favorite {
  position: absolute;
  right: 6px;
  top: 5px;
  padding: 6px;
  min-height: 27px;
  min-width: 27px;
  opacity: 0;
  color: #929b91;
}
.customer-favorite svg {
  width: 13px;
  height: 13px;
}
.customer-row:hover .customer-favorite,
.customer-row:focus-within .customer-favorite,
.customer-row.is-favorite .customer-favorite {
  opacity: 1;
}
.customer-row.is-favorite .customer-favorite {
  color: #758b77;
}
.customer-row.is-favorite .customer-favorite svg {
  fill: currentColor;
}
.customer-group-label {
  padding: 12px 12px 3px;
  margin: 0;
  color: #90998f;
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.add-customer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 3px 20px;
  padding: 10px 7px;
  min-height: 40px;
  color: #61705f;
  background: #ffffff65;
  border: 1px solid #dce3d9;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 500;
  flex: none;
}
.add-customer:hover {
  background: white;
}
.add-customer > span {
  font-size: 17px;
  font-weight: 300;
}
.list-empty {
  font-size: 11px;
  color: var(--muted);
  padding: 12px;
  line-height: 1.6;
}
.sidebar-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 22px 4px 0;
  font-size: 11px;
}
.account-dot {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 50%;
  background: #dee5dc;
  color: #63725f;
  font-size: 10px;
}
.account-info {
  min-width: 0;
  flex: 1;
}
.account-info strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 550;
  font-size: 11px;
}
.account-info small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #8a9487;
}
.main {
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 40px;
  font-size: 10px;
  color: #919990;
}
.topbar #breadcrumb {
  color: #6e786e;
}
.slash {
  margin: 0 10px;
  color: #bbc2b9;
}
.topbar-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.2px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #829b85;
}
.page {
  padding: 24px 40px 28px;
  max-width: 1430px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.heading-copy {
  min-width: 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.6px;
  font-weight: 550;
  color: #7d897d;
  margin-bottom: 10px;
}
.muted {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.heading-copy .muted {
  margin-bottom: 0;
  font-size: 11px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}
.primary,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 39px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 550;
  text-decoration: none;
}
.primary {
  background: var(--green);
  color: white;
  box-shadow:
    inset 0 1px 0 #ffffff15,
    0 2px 4px #182b2008;
}
.primary:hover {
  background: var(--green-dark);
}
.primary > span:last-child {
  font-size: 14px;
  opacity: 0.8;
}
.secondary {
  background: white;
  border-color: #dfe5db;
  color: #697667;
}
.secondary:hover {
  border-color: #aebfac;
  background: #fafcf9;
}
.text-button {
  border: 0;
  background: none;
  color: var(--green);
  padding: 5px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 11px;
  text-align: left;
}
.save-state {
  font-size: 10px;
  color: #8b948a;
  margin-right: 5px;
}
.save-state.dirty {
  color: var(--amber);
}
.customer-summary {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: #fafbf9;
  border-radius: var(--radius);
  margin-bottom: 23px;
  padding: 20px 24px;
}
.summary-item {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.summary-item:first-child {
  padding-left: 0;
  border-left: 0;
}
.summary-item:last-child {
  padding-right: 0;
}
.summary-label {
  display: block;
  font-size: 10px;
  color: #8c968b;
  margin-bottom: 9px;
}
.summary-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #596456;
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.summary-value svg {
  width: 15px;
  height: 15px;
  color: #81917f;
}
.summary-detail {
  display: block;
  font-size: 10px;
  color: #97a093;
  margin-top: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef0ec;
  color: #7a8578;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.green {
  color: #587a61;
  background: #e9f1e8;
}
.badge.amber {
  color: #9d7a3c;
  background: #f4f0e7;
}
.badge.red {
  color: #a16358;
  background: #f7ebe7;
}
.editor {
  border: 1px solid #e2e7df;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 35px #2d402e03;
  overflow: hidden;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 19px 2px 16px;
  font-size: 11px;
  color: #8b9588;
  white-space: nowrap;
}
.tabs button:hover {
  color: var(--green);
}
.tabs button[aria-selected="true"] {
  border-bottom-color: var(--green);
  color: var(--green);
  font-weight: 600;
}
.editor-panel {
  padding: 29px 30px 32px;
  min-height: 365px;
}
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.section-head h2 {
  font-size: 16px;
  margin-bottom: 6px;
}
.section-head .muted {
  font-size: 11px;
  margin-bottom: 0;
  max-width: 600px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 25px;
}
.form-stack {
  display: grid;
  gap: 23px;
  max-width: 780px;
}
.form-wide {
  grid-column: 1/-1;
}
.hint {
  font-size: 10px;
  line-height: 1.65;
  color: #8b9487;
  font-weight: 400;
  margin-bottom: 0;
}
.field-note {
  padding: 15px 17px;
  border: 1px solid #e7ece2;
  border-radius: 10px;
  background: #f8faf6;
  font-size: 11px;
  line-height: 1.65;
  color: #809078;
}
.field-note p:last-child {
  margin-bottom: 0;
}
.field-note strong {
  font-weight: 550;
  color: #60745e;
}
.section-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 27px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  border: 1px solid #e5eae1;
  border-radius: 12px;
  padding: 18px 16px;
  min-height: 98px;
  background: #fff;
  cursor: pointer;
}
.feature-row:has(input:checked) {
  background: #f6f9f3;
  border-color: #dbe6d3;
}
.feature-row:has(input:disabled) {
  cursor: default;
}
.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  background: #eef3ea;
  width: 37px;
  height: 37px;
  color: #77926d;
}
.feature-icon svg {
  width: 20px;
  height: 20px;
}
.feature-copy {
  flex: 1;
  min-width: 0;
}
.feature-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #51634a;
}
.feature-copy small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 400;
  color: #8a9783;
  margin-top: 4px;
}
.toggle {
  appearance: none !important;
  width: 32px !important;
  height: 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #dce3d7 !important;
  padding: 0 !important;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #35472c25;
  transition: transform 0.2s;
}
.toggle:checked {
  background: #6d8e5f !important;
}
.toggle:checked::before {
  transform: translateX(12px);
}
.toggle:disabled {
  cursor: default;
  opacity: 0.7;
}
.access-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.access-option span {
  flex: 1;
}
.access-option small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 4px;
}
.connector-stack {
  display: grid;
  gap: 18px;
}
.connector {
  border: 1px solid #e2e8de;
  border-radius: 13px;
  overflow: hidden;
}
.connector-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 20px;
  background: #fafbf8;
}
.connector-heading > div {
  flex: 1;
  min-width: 0;
}
.connector-heading h3 {
  margin-bottom: 4px;
  color: #53644d;
}
.connector-heading p {
  font-size: 10px;
  color: #929c8a;
  margin: 0;
}
.connector-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #789471;
  background: white;
  border: 1px solid #e5ebdf;
  border-radius: 10px;
  flex: none;
}
.connector-body {
  padding: 21px 22px;
  display: grid;
  gap: 20px;
}
.connector-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.connector-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 21px;
  font-size: 10px;
  color: #949e8c;
}
.empty-connection {
  font-size: 11px;
  color: #939e8b;
  line-height: 1.7;
  margin: 0;
}
.microsoft-mark {
  display: grid !important;
  grid-template-columns: 7px 7px;
  grid-template-rows: 7px 7px;
  gap: 2px;
  flex: none;
}
.microsoft-mark i:nth-child(1) {
  background: #f35325;
}
.microsoft-mark i:nth-child(2) {
  background: #81bc06;
}
.microsoft-mark i:nth-child(3) {
  background: #05a6f0;
}
.microsoft-mark i:nth-child(4) {
  background: #ffba08;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9aa394;
  font-size: 9px;
  padding: 17px 4px;
  line-height: 1.7;
}
.empty-state {
  padding: 61px 28px 29px;
  text-align: center;
  background: white;
  border: 1px solid #e4e9e0;
  border-radius: var(--radius);
  max-width: 860px;
  margin-top: 28px;
  box-shadow: 0 10px 30px #283d2603;
}
.empty-symbol {
  display: grid;
  place-items: center;
  width: 66px;
  height: 68px;
  background: #f1f5ec;
  border: 1px solid #e2ebd9;
  border-radius: 18px;
  margin: 0 auto 30px;
  color: #8fa480;
}
.empty-symbol svg {
  width: 40px;
  height: 40px;
  stroke-width: 1;
}
.empty-state h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.65px;
  margin-bottom: 13px;
  color: #4d6044;
}
.empty-state > p:not(.eyebrow) {
  font-size: 12px;
  color: #909c87;
  margin-bottom: 26px;
  line-height: 1.9;
}
.empty-state .eyebrow {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: #9aa58f;
}
.empty-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 9px;
  color: #9ea795;
}
.small-lock {
  font-size: 15px;
  color: #8e9f83;
}
.error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #eacfc8;
  background: #fff6f2;
  color: var(--danger);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.inline-error {
  color: var(--danger);
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 120px);
  transform: translateX(-50%);
  background: #344b37f2;
  color: white;
  border: 1px solid #ffffff1a;
  box-shadow: 0 8px 25px #253d2222;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 12px;
  z-index: 50;
  max-width: calc(100% - 30px);
  text-align: center;
}
.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #dce3d7;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 15% 20%, #e7ecdf, transparent 55%), var(--canvas);
  position: relative;
}
.login-card {
  width: min(420px, calc(100% - 38px));
  padding: 43px 40px 34px;
  background: #ffffffed;
  border: 1px solid #eef1e8;
  border-radius: 25px;
  box-shadow: 0 20px 70px #344c2710;
}
.login-card .brand-logo {
  width: 151px;
  margin-bottom: 44px;
}
.login-card h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 500;
  color: #465c3c;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.login-copy {
  color: #8b9781;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.login-button {
  width: 100%;
  gap: 14px;
  border-radius: 11px;
  padding: 15px;
}
.login-button > span:last-child {
  margin-left: auto;
}
.login-card > .hint {
  font-size: 9px;
  text-align: center;
  margin-top: 18px;
}
.login-footer {
  position: absolute;
  bottom: 22px;
  font-size: 9px;
  letter-spacing: 0.6px;
  color: #99a290;
}
dialog {
  border: 1px solid #e5ebdf;
  border-radius: 22px;
  padding: 30px;
  width: min(490px, calc(100% - 30px));
  max-height: calc(100% - 40px);
  color: var(--ink);
  box-shadow: 0 28px 90px #21351a25;
  background: white;
}
dialog::backdrop {
  background: #2a3a2155;
  backdrop-filter: blur(3px);
}
dialog form {
  display: grid;
  gap: 22px;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.dialog-heading h2 {
  font-size: 23px;
  margin: 0;
  color: #4c6142;
}
.dialog-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}
.dialog-heading .icon-button {
  font-size: 22px;
  margin-top: -4px;
}
dialog .muted {
  font-size: 11px;
  margin: 0;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 9px;
}
.dialog-actions .primary,
.dialog-actions .secondary {
  min-height: 39px;
}
.status-warning {
  font-size: 11px;
  color: #9f7a38;
  line-height: 1.7;
  background: #fbf6ec;
  padding: 13px 16px;
  border-radius: 9px;
}
.readonly-value {
  font-size: 12px;
  color: #788771;
  overflow-wrap: anywhere;
}
.permission-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #90a082;
}
.permission-note svg {
  width: 14px;
  height: 14px;
}
.compact-list {
  padding-left: 18px;
  font-size: 11px;
  color: #839078;
  line-height: 1.9;
}
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.runtime-note {
  font-size: 10px;
  line-height: 1.6;
  color: #8b947f;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
}
.status-select {
  max-width: 230px;
}
.loading-panel {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #8a9681;
  font-size: 12px;
}
.required-label {
  font-size: 8px;
  color: #8d9f82;
  margin-left: 5px;
  font-weight: 400;
}
.device-details {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.device-details h3 { color: #64745b; font-size: 13px; }
.monitor-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin: 20px 0 15px; }
.monitor-grid dt { font-size: 10px; color: #7a886f; margin-bottom: 8px; }
.session-banner { padding: 18px 20px; margin-bottom: 22px; border: 1px solid #d8c5a4; border-radius: 14px; background: #fff9ee; color: #684c24; }
.session-banner strong { font-size: 14px; }
.session-banner p { margin: 7px 0 14px; font-size: 13px; line-height: 1.6; }
.session-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.session-actions a { text-decoration: none; }
.monitor-grid dd { font-size: 12px; margin: 0; color: #596b4e; overflow-wrap: anywhere; }
@media (max-width: 850px) { .monitor-grid { grid-template-columns: 1fr; gap: 17px; } }
.directory-picker {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.picker-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 17px 12px;
}
.picker-heading h3 {
  font-size: 12px;
  color: #64745b;
  margin: 0;
}
.picker-count {
  font-size: 9px;
  color: #98a28d;
  white-space: nowrap;
}
.picker-search {
  padding: 0 15px 11px;
}
.picker-search input {
  min-height: 35px;
  font-size: 11px;
  padding: 8px 10px;
  background: #fafbf8;
}
.picker-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 0 15px 10px;
}
.picker-option {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 400;
}
.picker-option span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.picker-option small {
  display: block;
  font-size: 9px;
  color: #9aa38d;
  margin-top: 4px;
}
.picker-empty {
  margin: 0;
  padding: 8px 3px 13px;
  color: #969f8a;
  font-size: 10px;
  line-height: 1.7;
}
.manual-ids {
  border-top: 1px solid var(--line);
  padding: 12px 17px;
  background: #fafbf8;
}
.manual-ids summary {
  font-size: 10px;
  color: #97a08b;
  cursor: pointer;
}
.manual-ids[open] summary {
  margin-bottom: 12px;
}
.manual-ids textarea {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  background: white;
  line-height: 1.8;
}
.manual-ids .hint {
  margin-top: 9px;
}
@media (max-width: 1150px) {
  .page {
    padding: 20px 27px 25px;
  }
  .topbar {
    padding: 0 27px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 18px;
  }
  .toolbar {
    max-width: 330px;
  }
  .save-state {
    width: 100%;
    text-align: right;
  }
  .customer-summary {
    padding: 19px;
  }
  .summary-item {
    padding: 0 17px;
  }
  .feature-row {
    gap: 12px;
  }
  .feature-icon {
    width: 31px;
    height: 34px;
  }
  .editor-panel {
    padding: 26px;
  }
  .page-footer {
    flex-wrap: wrap;
    gap: 7px;
  }
}
@media (max-width: 850px) {
  .app {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 12px;
  }
  .brand {
    margin-left: 14px;
  }
  .brand-logo {
    width: 135px;
  }
  .page-heading {
    display: block;
  }
  .toolbar {
    max-width: none;
    justify-content: flex-start;
    margin-top: 20px;
  }
  .save-state {
    width: auto;
    text-align: left;
  }
  .customer-summary {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .summary-item {
    padding: 0;
    border-left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .summary-label {
    margin: 0;
  }
  .summary-detail {
    display: none;
  }
  .form-grid,
  .connector-details {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .topbar-note {
    display: none;
  }
  .tabs {
    gap: 19px;
    padding: 0 23px;
  }
  .page {
    padding: 18px 22px 25px;
  }
  .topbar {
    padding: 0 22px;
  }
  .connector-heading {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    row-gap: 10px;
  }
  .connector-heading .badge {
    grid-column: 2;
    margin-left: 0;
    justify-self: start;
  }
}
@media (max-width: 620px) {
  .app {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 21px 19px 17px;
    border-right: 0;
    border-bottom: 1px solid #e0e7d8;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
  }
  .brand {
    margin: 0 0 24px;
    gap: 4px;
  }
  .brand-logo {
    width: 120px;
  }
  .brand > span {
    font-size: 10px;
  }
  .sidebar-bottom {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    align-self: flex-start;
  }
  .account-dot {
    display: none;
  }
  .account-info {
    display: none;
  }
  .sidebar-label {
    grid-column: 1/3;
    padding: 0;
    margin-bottom: 6px;
  }
  .search-box {
    grid-column: 1/3;
    margin: 0 0 11px;
  }
  .search-box input {
    font-size: 12px;
    min-height: 37px;
  }
  .customer-list {
    grid-column: 1/3;
    display: flex;
    gap: 7px;
    margin: 0 -2px;
    max-height: none;
    overflow-x: auto;
    overscroll-behavior: contain;
    padding: 2px 2px 8px;
  }
  .customer-row {
    flex: 0 0 198px;
  }
  .customer-item {
    min-height: 66px;
  }
  .customer-group-label {
    display: none;
  }
  .customer-favorite {
    opacity: 1;
  }
  .add-customer {
    grid-column: 1/3;
    margin: 10px 0 0;
    min-height: 36px;
    font-size: 11px;
    background: #ffffff85;
  }
  .list-empty {
    grid-column: 1/3;
    margin: 0;
    padding: 5px 2px;
    font-size: 11px;
  }
  .topbar {
    height: 40px;
    padding: 0 22px;
    font-size: 9px;
  }
  .page {
    padding: 10px 20px 20px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  h1 {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .toolbar {
    gap: 8px;
    justify-content: flex-end;
    margin-top: 19px;
  }
  .toolbar .save-state {
    margin-right: auto;
  }
  .toolbar .primary,
  .toolbar .secondary {
    font-size: 10px;
    padding: 9px 13px;
    min-height: 38px;
  }
  .customer-summary {
    padding: 17px 18px;
    gap: 15px;
    margin-bottom: 18px;
  }
  .summary-value {
    font-size: 11px;
  }
  .summary-label {
    font-size: 9px;
  }
  .tabs {
    gap: 24px;
    padding: 0 19px;
  }
  .tabs button {
    font-size: 11px;
    padding: 17px 0 14px;
  }
  .editor-panel {
    padding: 23px 20px 26px;
    min-height: 360px;
  }
  .section-head {
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: 16px;
  }
  .feature-row {
    padding: 16px 12px;
  }
  .feature-copy strong {
    font-size: 11px;
  }
  .feature-copy small {
    font-size: 10px;
  }
  .form-grid {
    gap: 21px;
  }
  .connector-body {
    padding: 19px 16px;
  }
  .connector-heading {
    padding: 17px 15px;
  }
  .connector-footer {
    padding: 13px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .empty-state {
    padding: 37px 20px 24px;
    margin-top: 15px;
  }
  .empty-state h2 {
    font-size: 22px;
  }
  .empty-state .eyebrow {
    font-size: 8px;
  }
  .empty-state > p:not(.eyebrow) {
    font-size: 11px;
  }
  .empty-footnote {
    margin-top: 34px;
    padding-top: 22px;
    font-size: 9px;
    line-height: 1.6;
  }
  .empty-symbol {
    margin-bottom: 26px;
  }
  .page-footer {
    display: grid;
    gap: 5px;
    font-size: 9px;
    padding-top: 15px;
  }
  .toast {
    left: 50%;
    bottom: 17px;
    width: max-content;
    font-size: 11px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  dialog {
    padding: 25px;
  }
  .login-card {
    padding: 36px 29px;
  }
  .action-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
/* Secondary copy remains readable on the quiet surfaces. */
.hint,
.summary-detail,
.feature-copy small,
.connector-footer,
.empty-connection,
.picker-empty,
.manual-ids summary,
.page-footer,
.runtime-note,
.permission-note {
  color: #6b7863;
}
.hint,
.feature-copy small,
.empty-connection,
.runtime-note {
  font-size: 11px;
}
.empty-state > p:not(.eyebrow) {
  font-size: 13px;
  color: #74816b;
}
.empty-footnote {
  color: #7a8771;
  font-size: 10px;
}
.login-copy {
  color: #74816b;
  font-size: 13px;
}
.primary,
.secondary {
  font-size: 12px;
}
.customer-copy {
  font-size: 13px;
}
.customer-copy small {
  color: #7c8775;
}
.feature-copy strong {
  font-size: 13px;
}
.section-head .muted {
  font-size: 12px;
}
.summary-detail {
  font-size: 11px;
}
.connector-heading p {
  color: #79876f;
  font-size: 11px;
}
.picker-option {
  font-size: 12px;
}
.picker-option small {
  color: #7c8a72;
  font-size: 10px;
}
.field-note {
  font-size: 12px;
  color: #708165;
}
.summary-label {
  color: #77856d;
}
.save-state {
  color: #74816d;
}
.picker-count {
  color: #75846c;
}
.required-label {
  color: #738867;
}
@media (hover: none) {
  .customer-favorite {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .customer-status-dot {
    border: 1px solid CanvasText;
  }
  .toggle {
    appearance: auto !important;
  }
  .toggle::before {
    display: none;
  }
  .customer-favorite {
    opacity: 1;
  }
}
