.nf-admin {
  --a-ink: #35434e;
  --a-muted: #667681;
  --a-line: #dbe4e9;
  --a-blue: #18749a;
  --a-soft: #eef5f8;
  color: var(--a-ink);
  font:
    400 14px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  margin: 0 0 0 -20px;
  min-height: calc(100vh - 32px);
  background: #f3f6f8;
}
.nf-admin * {
  box-sizing: border-box;
}
.nf-admin h1,
.nf-admin h2,
.nf-admin h3,
.nf-admin h4 {
  color: #30404b;
  line-height: 1.25;
}
.nf-admin h1 {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.7px;
  margin: 0 0 13px;
}
.nf-admin h2 {
  font-size: 20px;
  font-weight: 650;
  margin: 0 0 13px;
}
.nf-admin h3 {
  font-size: 17px;
  margin: 24px 0 13px;
}
.nf-admin p {
  font-size: 14px;
  line-height: 1.7;
}
.nf-admin button,
.nf-admin input,
.nf-admin select,
.nf-admin textarea {
  font: inherit;
  box-shadow: none;
}
.nf-admin button {
  cursor: pointer;
}
.nf-admin button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.nf-admin button:focus-visible,
.nf-admin a:focus-visible,
.nf-admin [tabindex]:focus-visible {
  outline: 2px solid #1876a2;
  outline-offset: 3px;
  box-shadow: none;
}
.nf-admin input:not([type="checkbox"]):not([type="radio"]),
.nf-admin select,
.nf-admin textarea {
  border: 1px solid #bdccd5;
  border-radius: 7px;
  color: var(--a-ink);
  background: #fff;
  min-height: 40px;
  padding: 8px 11px;
  max-width: 100%;
  margin: 0;
}
.nf-admin input:focus,
.nf-admin select:focus,
.nf-admin textarea:focus {
  outline: 2px solid #298bb8;
  outline-offset: 1px;
  border-color: #298bb8;
  box-shadow: none;
}
.nf-admin input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: #287f9f;
}
.nf-admin a {
  color: #176485;
  text-decoration: none;
}
.nf-admin a:hover {
  text-decoration: underline;
}
.nf-a-top {
  height: 83px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-bottom: 1px solid var(--a-line);
}
.nf-a-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #35434e !important;
  font-size: 21px;
  letter-spacing: -0.6px;
  text-decoration: none !important;
  white-space: nowrap;
}
.nf-a-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.nf-a-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nf-a-wordmark {
  display: grid;
  gap: 3px;
  line-height: 1.1;
}
.nf-a-wordmark small {
  color: var(--a-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.1px;
}
.nf-a-top nav {
  display: flex;
  align-self: stretch;
  gap: 28px;
}
.nf-a-top nav button {
  position: relative;
  background: none;
  border: 0;
  color: var(--a-muted);
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}
.nf-a-top nav button.is-active {
  color: #24647f;
}
.nf-a-top nav button.is-active:after {
  content: "";
  height: 3px;
  background: #2a8eb4;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.nf-a-top-note {
  margin-left: auto;
  color: #7b8992;
  font-size: 12px;
}
.nf-a-main {
  padding: 38px 34px 60px;
  max-width: 1800px;
  margin: auto;
}
.nf-a-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.nf-a-heading p {
  margin: 0;
  color: var(--a-muted);
  max-width: 670px;
}
.nf-admin .nf-a-eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #3584a0;
  margin: 0 0 12px;
}
.nf-a-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nf-a-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #bfccd4;
  border-radius: 7px;
  color: #394b57 !important;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 15px;
  min-height: 39px;
  text-decoration: none !important;
  line-height: 1.5;
  white-space: nowrap;
  transition:
    background 0.12s,
    border-color 0.12s;
}
.nf-a-button:hover {
  background: #f0f5f8;
  border-color: #9eb8c7;
}
.nf-a-button.nf-a-primary {
  color: #fff !important;
  background: #40545e;
  border-color: #40545e;
}
.nf-a-button.nf-a-primary:hover {
  background: #263c48;
  border-color: #263c48;
}
.nf-a-button.nf-a-danger,
.nf-a-text-danger {
  color: #a83243 !important;
}
.nf-a-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.nf-a-toolbar input {
  width: 320px;
}
.nf-a-toolbar > span {
  font-size: 13px;
  color: var(--a-muted);
}
.nf-a-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.nf-a-form-card {
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 3px 10px #28404c04;
}
.nf-a-form-card.is-archived {
  background: #fafbfc;
}
.nf-a-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.nf-a-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 48px;
  background: #eaf4f8;
  border-radius: 11px;
  font-size: 30px;
  color: #4088a2;
}
.nf-a-form-card h2 {
  font-size: 21px;
  margin-bottom: 7px;
}
.nf-a-muted {
  color: var(--a-muted);
}
.nf-a-form-card > .nf-a-muted {
  margin: 0;
}
.nf-a-badge {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: #edf1f4;
  color: #586b77;
  text-transform: capitalize;
  white-space: nowrap;
}
.nf-a-badge.nf-a-green {
  background: #e8f4ed;
  color: #2f7357;
}
.nf-a-badge.nf-a-blue {
  background: #e7f1fa;
  color: #286b9c;
}
.nf-a-badge.nf-a-amber {
  background: #fcf1dc;
  color: #8a671f;
}
.nf-a-badge.nf-a-red {
  background: #fcebed;
  color: #9a3345;
}
.nf-a-card-stats {
  display: flex;
  align-items: baseline;
  gap: 7px;
  border-top: 1px solid #edf1f3;
  margin-top: 22px;
  padding-top: 19px;
  flex-wrap: wrap;
}
.nf-a-card-stats strong {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 650;
}
.nf-a-card-stats span {
  font-size: 12px;
  color: var(--a-muted);
}
.nf-a-card-stats small {
  margin-left: auto;
  font-size: 11px;
  color: #83909a;
}
.nf-a-shortcode {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #f4f7f9;
  margin: 20px 0;
}
.nf-a-shortcode code {
  font-size: 12px;
  background: none;
  padding: 0;
  color: #547080;
}
.nf-a-shortcode button,
.nf-a-embed-bar button {
  border: 0;
  background: none;
  color: #246f8b;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
}
.nf-a-card-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nf-a-card-buttons details {
  position: relative;
  margin-left: auto;
}
.nf-a-card-buttons summary {
  list-style: none;
  padding: 8px;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 1px;
}
.nf-a-more {
  position: absolute;
  z-index: 15;
  right: 0;
  top: 35px;
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 9px;
  box-shadow: 0 8px 30px #243f4d20;
  padding: 6px;
  width: 180px;
}
.nf-a-more button {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 10px;
  text-align: left;
  font-size: 13px;
}
.nf-a-more button:hover {
  background: #edf4f8;
}
.nf-a-loading,
.nf-a-empty {
  text-align: center;
  padding: 70px 25px;
  color: var(--a-muted);
}
.nf-a-empty h2 {
  font-size: 23px;
}
.nf-a-notice {
  padding: 13px 25px;
  background: #eaf5ef;
  color: #276c50;
  border-bottom: 1px solid #c5e2d3;
}
.nf-a-notice.is-error {
  background: #fff0f1;
  color: #9f3041;
  border-color: #efc1c7;
}
.nf-a-builder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid var(--a-line);
}
.nf-a-builder-title {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.nf-a-back {
  border: 0;
  background: none;
  color: #607886;
  padding: 0;
  font-size: 12px !important;
}
.nf-a-builder-title input {
  font-size: 18px !important;
  font-weight: 650 !important;
  border-color: transparent !important;
  width: 260px;
  padding: 4px !important;
  min-height: 32px !important;
}
.nf-a-builder-title .nf-a-badge {
  font-size: 10px;
}
.nf-a-builder-bar .nf-a-actions {
  gap: 7px;
}
.nf-a-builder-bar .nf-a-button {
  padding: 8px 11px;
  font-size: 12px;
}
.nf-a-builder-layout {
  display: grid;
  grid-template-columns: 225px minmax(310px, 1fr) 325px;
  min-height: calc(100vh - 205px);
}
.nf-a-palette {
  background: #fff;
  border-right: 1px solid var(--a-line);
  padding: 24px 17px;
  overflow-y: auto;
  max-height: calc(100vh - 130px);
  position: sticky;
  top: 32px;
}
.nf-a-palette h2 {
  font-size: 17px;
  margin: 0 0 6px;
}
.nf-a-palette > p {
  font-size: 11px;
  color: var(--a-muted);
  margin: 0 0 23px;
}
.nf-a-palette h3 {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #7a8c97;
  margin: 23px 0 11px;
}
.nf-a-palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.nf-a-palette-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fbfcfd;
  border: 1px solid #dce5eb;
  border-radius: 7px;
  padding: 11px 9px;
  color: #516673;
  font-size: 11px;
  line-height: 1.3;
  min-height: 68px;
  cursor: grab;
  text-align: left;
}
.nf-a-palette-grid button:hover {
  background: #eaf4f9;
  border-color: #80b5cd;
}
.nf-a-palette-grid button span {
  font-size: 18px;
  font-weight: 600;
  color: #3983a0;
  line-height: 1;
}
.nf-a-workbench {
  padding: 22px 25px 35px;
  min-width: 0;
}
.nf-a-workbench-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #7c8f9b;
}
.nf-a-workbench-tools button {
  font-size: 11px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #6b8190;
  letter-spacing: 0;
}
.nf-a-workbench-tools button[aria-pressed="true"] {
  background: #fff;
  border-color: #c4d3dd;
  color: #405c6e;
}
.nf-a-canvas {
  max-width: 850px;
  margin: auto;
  transition: max-width 0.18s;
}
.nf-a-canvas-mobile {
  max-width: 375px;
}
.nf-a-canvas-mobile .nf-a-canvas-field {
  grid-column: 1/-1 !important;
}
.nf-a-page-card {
  background: #fff;
  border: 1px solid #d6e1e7;
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 3px 8px #28404b04;
  overflow: hidden;
}
.nf-a-page-card.is-current {
  border-color: #b0ccd9;
}
.nf-a-page-card > header {
  padding: 20px 20px 17px;
  border-bottom: 1px solid #e8eef2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.nf-a-page-title {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  min-width: 0;
  color: inherit;
}
.nf-a-page-title > span {
  font-size: 11px;
  padding: 4px 7px;
  background: #edf4f7;
  color: #3d7b96;
  border-radius: 5px;
  line-height: 1.4;
}
.nf-a-page-title strong {
  font-size: 17px;
  line-height: 1.3;
  display: block;
  padding-top: 2px;
}
.nf-a-page-title p {
  font-size: 12px;
  color: var(--a-muted);
  margin: 7px 0 0;
}
.nf-a-page-tools {
  display: flex;
  margin-left: 10px;
}
.nf-a-page-tools button {
  background: none;
  border: 0;
  padding: 3px;
  color: #8196a1;
}
.nf-a-canvas-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: 15px;
}
.nf-a-canvas-field {
  grid-column: 1/-1;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px;
  position: relative;
  cursor: pointer;
  min-width: 0;
}
.nf-a-canvas-field.nf-a-field-half {
  grid-column: auto;
}
.nf-a-canvas-field:hover {
  background: #fbfdfe;
  border-color: #d3e2eb;
}
.nf-a-canvas-field.is-selected {
  background: #f6fbfd;
  border-color: #5d9fbf;
  box-shadow: 0 0 0 1px #5d9fbf30;
}
.nf-a-canvas-field.is-drag-over {
  border-top: 3px solid #1c91be;
}
.nf-a-field-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7c94a1;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 11px;
}
.nf-a-drag {
  font-size: 16px;
  cursor: grab;
  line-height: 1;
}
.nf-a-condition-dot {
  font-size: 8px;
  background: #f2e9fb;
  color: #8860a8;
  border-radius: 4px;
  padding: 2px 4px;
  margin-left: auto;
  letter-spacing: 0;
}
.nf-a-field-reorder {
  margin-left: auto;
  display: flex;
}
.nf-a-field-reorder button {
  background: none;
  border: 0;
  padding: 0 3px;
  color: #6e8c9c;
  font-size: 11px;
}
.nf-a-field-preview {
  pointer-events: none;
}
.nf-a-preview-label {
  font-weight: 600;
  color: #445864;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.nf-a-required {
  color: #b04452;
}
.nf-a-preview-input {
  min-height: 42px;
  border: 1px solid #ccd9e2;
  border-radius: 7px;
  background: white;
  padding: 10px 12px;
  font-size: 12px;
  color: #8c9da8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nf-a-preview-input.is-textarea {
  height: 90px;
  white-space: normal;
}
.nf-a-field-preview small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #8295a1;
  margin-top: 7px;
}
.nf-a-field-preview h3 {
  font-size: 22px;
  margin: 0;
}
.nf-a-field-preview p {
  font-size: 13px;
  margin: 0;
  color: #647d8a;
}
.nf-a-preview-choice,
.nf-a-preview-choices {
  font-size: 12px;
  color: #708692;
  line-height: 1.7;
}
.nf-a-preview-choices {
  display: grid;
  gap: 5px;
}
.nf-a-preview-repeater {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px dashed #c8dbe7;
  border-radius: 6px;
  padding: 10px;
  font-size: 11px;
  color: #7892a1;
}
.nf-a-preview-repeater > span {
  padding: 6px 10px;
  background: #f0f6fa;
  flex: 1;
}
.nf-a-preview-repeater small {
  flex-basis: 100%;
}
.nf-a-page-card > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 20px;
  border-top: 1px solid #edf2f5;
  font-size: 10px;
  color: #91a0a9;
}
.nf-a-page-card > footer button {
  font-size: 11px;
  border: 0;
  background: none;
  color: #4b829b;
  padding: 0;
}
.nf-a-drop-empty {
  grid-column: 1/-1;
  border: 1px dashed #b7d2df;
  border-radius: 8px;
  background: #f8fcfe;
  text-align: center;
  padding: 35px 20px;
  font-size: 13px;
  color: #7c97a6;
}
.nf-a-embed-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #879aa6;
  margin-top: 25px;
}
.nf-a-embed-bar code {
  font-size: 10px;
  background: none;
  color: #688a9c;
}
.nf-a-inspector {
  background: #fff;
  border-left: 1px solid var(--a-line);
  position: sticky;
  top: 32px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.nf-a-inspector-tabs {
  display: flex;
  border-bottom: 1px solid var(--a-line);
  padding: 0 10px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 3;
}
.nf-a-inspector-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  padding: 15px 11px;
  font-size: 12px;
  color: #7a8e9a;
  flex: 1;
}
.nf-a-inspector-tabs button.is-active {
  border-bottom-color: #2b8eb6;
  color: #276d8c;
  font-weight: 600;
}
.nf-a-inspector-body {
  padding: 23px 20px;
}
.nf-a-inspector-body h2 {
  font-size: 17px;
}
.nf-a-inspector-body h3 {
  font-size: 15px;
}
.nf-a-inspector-body p,
.nf-a-inspector-body small {
  font-size: 12px;
  line-height: 1.7;
}
.nf-a-inspector-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.nf-a-inspector-heading div {
  display: flex;
  gap: 8px;
}
.nf-a-inspector-heading button {
  font-size: 10px;
  background: none;
  border: 0;
  padding: 0;
  color: #4a8aa5;
}
.nf-a-subtabs {
  display: flex;
  gap: 15px;
  margin: 12px 0 23px;
  border-bottom: 1px solid #edf1f5;
}
.nf-a-subtabs button {
  padding: 7px 0;
  font-size: 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #7b8f9a;
}
.nf-a-subtabs button.is-active {
  color: #3f7c95;
  border-color: #8dbbce;
}
.nf-a-control {
  margin-bottom: 18px;
}
.nf-a-control label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 7px;
}
.nf-a-control input,
.nf-a-control select,
.nf-a-control textarea {
  width: 100%;
  font-size: 13px !important;
  min-height: 38px !important;
}
.nf-a-control input[type="color"] {
  width: 100%;
  height: 38px;
  padding: 3px;
}
.nf-a-control textarea {
  resize: vertical;
}
.nf-a-control small {
  display: block;
  color: #7b909c;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 6px;
}
.nf-a-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  cursor: pointer;
}
.nf-a-toggle input {
  flex-shrink: 0;
  margin-top: 3px !important;
}
.nf-a-toggle strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.nf-a-toggle small {
  display: block;
  color: #7c909b;
  font-size: 11px;
  margin-top: 5px;
  line-height: 1.6;
}
.nf-a-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nf-a-advanced,
.nf-a-settings-section {
  border-top: 1px solid #e7eef2;
  padding-top: 15px;
  margin-top: 22px;
}
.nf-a-advanced summary,
.nf-a-settings-section summary {
  font-size: 13px;
  font-weight: 600;
  color: #4d7185;
  cursor: pointer;
  padding-bottom: 15px;
}
.nf-a-conditions .nf-a-rule,
.nf-a-routing .nf-a-rule {
  padding: 12px;
  background: #f4f8fa;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  margin-bottom: 12px;
  display: grid;
  gap: 8px;
}
.nf-a-rule select,
.nf-a-rule input {
  width: 100%;
  font-size: 12px !important;
  min-height: 35px !important;
}
.nf-a-rule button {
  padding: 3px 8px;
  min-height: 28px;
  justify-self: end;
}
.nf-a-conditions > p select {
  min-height: 29px;
  padding: 2px 5px;
  font-size: 11px;
}
.nf-a-file-types {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.nf-a-file-types legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.nf-a-file-types label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.nf-a-empty-small {
  text-align: center;
  padding-top: 70px;
  color: #7e929e;
}
.nf-a-empty-small > span {
  font-size: 28px;
  display: block;
  margin-bottom: 18px;
}
.nf-a-empty-small h2 {
  font-size: 18px;
}
.nf-a-modal-backdrop {
  position: fixed;
  inset: 32px 0 0 0;
  z-index: 100000;
  background: #243d4e52;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.nf-a-modal {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #cddfe9;
  box-shadow: 0 20px 80px #1b384844;
  padding: 30px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.nf-a-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.nf-a-modal-head h2 {
  font-size: 24px;
  margin: 0;
}
.nf-a-modal > p {
  color: var(--a-muted);
}
.nf-a-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 25px;
}
.nf-a-template-grid > button {
  display: block;
  text-align: left;
  padding: 25px;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  background: #fafcfd;
  min-height: 170px;
  color: #4b6575;
  transition: background 0.15s;
}
.nf-a-template-grid > button:hover {
  background: #edf7fb;
  border-color: #8cb7c9;
}
.nf-a-template-grid span {
  font-size: 30px;
  display: block;
  line-height: 1;
  margin-bottom: 18px;
  color: #3c8dab;
}
.nf-a-template-grid strong {
  font-size: 17px;
  color: #3d5565;
  display: block;
}
.nf-a-template-grid p {
  font-size: 12px;
  color: #81929e;
  margin-bottom: 0;
}
.nf-a-inbox-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #cfdee7;
  margin-bottom: 22px;
  overflow-x: auto;
}
.nf-a-inbox-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 0;
  background: none;
  color: #7e93a0;
  font-size: 13px;
  white-space: nowrap;
}
.nf-a-inbox-tabs button.is-active {
  color: #276f90;
  border-bottom-color: #3c95b8;
  font-weight: 600;
}
.nf-a-inbox-tabs button span {
  margin-left: 7px;
  font-size: 10px;
  background: #e1edf4;
  padding: 2px 6px;
  border-radius: 4px;
}
.nf-a-inbox-panel {
  border: 1px solid var(--a-line);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}
.nf-a-inbox-filters {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 20px;
  flex-wrap: wrap;
}
.nf-a-inbox-filters > input {
  flex: 1;
  min-width: 220px;
}
.nf-a-inbox-filters select {
  max-width: 240px;
}
.nf-a-inbox-filters label {
  display: grid;
  gap: 5px;
  font-size: 10px;
  color: #8295a1;
}
.nf-a-inbox-filters label input {
  font-size: 12px;
  min-height: 37px;
}
.nf-a-table-scroll {
  overflow: auto;
}
.nf-a-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 13px;
}
.nf-a-table th {
  text-align: left;
  padding: 12px 16px;
  background: #f6f9fb;
  border-top: 1px solid #e4edf2;
  border-bottom: 1px solid #e4edf2;
  font-size: 11px;
  font-weight: 600;
  color: #6b8798;
}
.nf-a-table td {
  padding: 17px 16px;
  border-bottom: 1px solid #edf2f5;
  vertical-align: top;
  color: #708794;
}
.nf-a-table tr.is-unread {
  background: #f6fbfe;
}
.nf-a-table td strong {
  font-size: 12px;
  font-weight: 500;
  color: #536e7e;
}
.nf-a-table td small {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: #8b9eaa;
  margin-top: 3px;
}
.nf-a-star {
  border: 0;
  background: none;
  padding: 0;
  color: #9aafb9;
  font-size: 21px !important;
  line-height: 1;
}
.nf-a-star[aria-pressed="true"] {
  color: #b98c2e;
}
.nf-a-contact-link {
  display: block;
  text-align: left;
  border: 0;
  background: none;
  color: #376b88;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 0;
  line-height: 1.5;
}
.nf-a-pagination {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #859aa7;
}
.nf-a-pagination > div {
  display: flex;
  gap: 15px;
  align-items: center;
}
.nf-a-pagination .nf-a-button {
  font-size: 11px;
  padding: 7px 12px;
  min-height: 33px;
}
.nf-a-bulk {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px 20px;
  background: #eff7fb;
  border-top: 1px solid #d2e8f2;
}
.nf-a-bulk strong {
  font-size: 12px;
  color: #4b7d96;
}
.nf-a-entry-drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(680px, 100%);
  background: #fff;
  padding: 30px;
  overflow: auto;
  box-shadow: -10px 0 50px #1c3c4f22;
}
.nf-a-entry-drawer .nf-a-modal-head small {
  display: block;
  color: #7a94a4;
  margin-bottom: 5px;
}
.nf-a-entry-controls {
  display: flex;
  gap: 14px;
  margin: 25px 0 14px;
}
.nf-a-entry-answers {
  margin: 25px 0 35px;
  border-top: 1px solid #e2ebf0;
}
.nf-a-entry-answers > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #edf2f5;
}
.nf-a-entry-answers dt {
  font-size: 12px;
  font-weight: 600;
  color: #7790a0;
}
.nf-a-entry-answers dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nf-a-entry-answers table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.nf-a-entry-answers td {
  border: 1px solid #dce6ee;
  padding: 6px 8px;
}
.nf-a-deliveries,
.nf-a-notes {
  border-top: 1px solid #e2ebf0;
  padding-top: 15px;
  margin-top: 30px;
}
.nf-a-deliveries p {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.nf-a-deliveries small {
  flex-basis: 100%;
  font-size: 11px;
  color: #869ba8;
}
.nf-a-notes form {
  padding: 18px;
  background: #f6fafc;
  border-radius: 10px;
  margin-bottom: 20px;
}
.nf-a-notes form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #688696;
  margin-bottom: 9px;
}
.nf-a-notes textarea {
  width: 100%;
  display: block;
  margin-bottom: 12px;
}
.nf-a-notes article {
  border-left: 2px solid #d1e5ee;
  padding: 8px 16px;
  margin: 15px 0;
}
.nf-a-notes article strong {
  font-size: 12px;
  color: #557e95;
}
.nf-a-notes article small {
  font-size: 11px;
  margin-left: 10px;
  color: #8ea5b3;
}
.nf-a-notes article p {
  white-space: pre-wrap;
  margin-bottom: 4px;
}
.nf-a-setting-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 13px;
  margin-bottom: 25px;
  max-width: 960px;
}
.nf-a-setting-card h2 {
  font-size: 21px;
}
.nf-a-setting-card p,
.nf-a-setting-card li {
  color: #6e8796;
  line-height: 1.8;
}
.nf-a-setting-card .nf-a-control {
  max-width: 600px;
}
.nf-a-setting-card .nf-a-control label {
  font-size: 13px;
}
.nf-a-setting-card ol {
  padding-left: 20px;
}
.nf-a-api-examples {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f2f7fa;
  border: 1px solid #dfebf2;
  border-radius: 8px;
  margin: 20px 0;
  overflow: auto;
}
.nf-a-api-examples code,
.nf-a-code {
  font:
    12px/1.7 ui-monospace,
    monospace;
  background: none;
  padding: 0;
  color: #47768e;
  display: block;
}
.nf-a-settings-main {
  max-width: 1300px;
  margin-left: 0;
}
.nf-a-routing h4 {
  font-size: 12px;
  margin: 20px 0 10px;
}
.nf-admin [hidden] {
  display: none !important;
}
@media (min-width: 1700px) {
  .nf-a-builder-layout {
    grid-template-columns: 245px minmax(400px, 1fr) 365px;
  }
  .nf-a-palette {
    padding: 25px;
  }
  .nf-a-inspector-body {
    padding: 25px;
  }
  .nf-a-workbench {
    padding-inline: 40px;
  }
}
@media (max-width: 1250px) {
  .nf-a-builder-layout {
    grid-template-columns: 185px minmax(280px, 1fr) 290px;
  }
  .nf-a-palette {
    padding: 20px 12px;
  }
  .nf-a-top-note {
    display: none;
  }
  .nf-a-builder-bar {
    flex-wrap: wrap;
  }
  .nf-a-builder-title {
    gap: 12px;
  }
  .nf-a-builder-title input {
    width: 230px;
  }
  .nf-a-workbench {
    padding-inline: 15px;
  }
  .nf-a-builder-bar .nf-a-actions {
    margin-left: auto;
  }
  .nf-a-inspector-tabs button {
    font-size: 11px;
    padding: 14px 6px;
  }
}
@media (max-width: 980px) {
  .nf-a-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .nf-a-builder-layout {
    grid-template-columns: 160px minmax(260px, 1fr);
  }
  .nf-a-inspector {
    position: static;
    grid-column: 1/-1;
    max-height: none;
    border-top: 1px solid var(--a-line);
  }
  .nf-a-inspector-body {
    max-width: 750px;
    margin: auto;
  }
  .nf-a-top {
    gap: 25px;
    padding-inline: 22px;
  }
  .nf-a-top nav {
    gap: 20px;
  }
  .nf-a-main {
    padding: 30px 22px;
  }
  .nf-a-palette {
    max-height: none;
    position: static;
  }
  .nf-a-builder-title .nf-a-badge {
    display: none;
  }
}
@media (max-width: 782px) {
  .nf-admin {
    margin-left: -10px;
  }
  .nf-a-modal-backdrop {
    top: 46px;
  }
  .nf-a-top {
    height: auto;
    min-height: 75px;
    flex-wrap: wrap;
    padding: 15px 20px 0;
    gap: 10px;
  }
  .nf-a-top nav {
    width: 100%;
    height: 45px;
  }
  .nf-a-top nav button {
    font-size: 12px;
  }
  .nf-a-brand {
    font-size: 19px;
  }
  .nf-a-logo {
    width: 36px;
    height: 36px;
  }
  .nf-a-main {
    padding: 25px 18px;
  }
  .nf-a-heading h1 {
    font-size: 27px;
  }
  .nf-a-builder-layout {
    grid-template-columns: 1fr;
  }
  .nf-a-palette {
    border-right: 0;
    border-bottom: 1px solid var(--a-line);
    padding: 15px;
    max-height: 250px;
    overflow: auto;
  }
  .nf-a-palette > section {
    display: inline;
  }
  .nf-a-palette h3 {
    margin: 14px 0 7px;
  }
  .nf-a-palette-grid {
    display: flex;
    flex-wrap: wrap;
  }
  .nf-a-palette-grid button {
    min-height: 40px;
    padding: 8px;
    flex-direction: row;
    align-items: center;
    font-size: 11px;
    gap: 7px;
  }
  .nf-a-palette-grid button span {
    font-size: 14px;
  }
  .nf-a-palette > p {
    margin-bottom: 0;
  }
  .nf-a-palette h2 {
    font-size: 15px;
  }
  .nf-a-builder-bar {
    padding: 14px;
  }
  .nf-a-builder-title input {
    width: 200px;
  }
  .nf-a-builder-bar .nf-a-actions {
    flex-wrap: wrap;
    margin: 0;
  }
  .nf-a-builder-bar a {
    display: none;
  }
  .nf-a-pagination {
    gap: 15px;
    align-items: flex-start;
    flex-direction: column;
  }
  .nf-a-template-grid {
    grid-template-columns: 1fr;
  }
  .nf-a-entry-drawer {
    padding: 22px;
  }
  .nf-a-entry-answers > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .nf-a-inbox-tabs {
    gap: 20px;
  }
  .nf-a-inbox-filters > input {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nf-admin * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Email composition stays in the backend; none of these assets reach visitors. */
.nf-a-edit-modes {
  display: flex;
  gap: 24px;
  padding: 0 26px;
  border-bottom: 1px solid #dce2e6;
  background: #fff;
}
.nf-a-edit-modes button {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 16px 0;
  background: none;
  color: #626b73;
  font-weight: 600;
  cursor: pointer;
}
.nf-a-edit-modes button.is-active {
  color: #354e5c;
  border-color: #5697b4;
}
.nf-a-email-screen {
  padding: 30px;
  max-width: 1600px;
  margin: auto;
}
.nf-a-email-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.nf-a-email-heading h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0 12px;
  color: #38434c;
  letter-spacing: -0.6px;
}
.nf-a-email-heading p {
  color: #626b73;
  line-height: 1.6;
  margin: 0;
}
.nf-a-email-channel {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  border: 1px solid #dce2e6;
  border-radius: 10px;
  background: #eaf0f4;
  gap: 4px;
}
.nf-a-email-channel button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #52636f;
}
.nf-a-email-channel button.is-active {
  background: #fff;
  color: #284f62;
  box-shadow: 0 1px 3px #243d4914;
}
.nf-a-email-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: start;
}
.nf-a-email-compose {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.nf-a-email-card {
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 3px 8px #203f4b03;
}
.nf-a-email-card h2 {
  font-size: 18px;
  margin: 0 0 22px;
  color: #38434c;
}
.nf-a-email-card-heading {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nf-a-email-card-heading h2 {
  margin: 0;
}
.nf-a-email-card-heading .nf-a-toggle {
  margin: 0;
}
.nf-a-email-delivery,
.nf-a-email-branding {
  border-top: 1px solid #e5eaee;
  margin-top: 20px;
  padding-top: 18px;
}
.nf-a-email-delivery summary,
.nf-a-email-branding summary {
  font-weight: 600;
  cursor: pointer;
  color: #445e6d;
  margin-bottom: 16px;
}
.nf-a-email-insert {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px;
  background: #f1f6f9;
  border: 1px solid #e0e9ef;
  border-radius: 8px;
  margin: 18px 0;
}
.nf-a-email-insert select {
  min-width: 140px;
  max-width: 100%;
  flex: 1;
}
.nf-a-email-insert .nf-a-button {
  font-size: 12px;
  padding: 8px 11px;
  min-height: 36px;
}
.nf-a-email-rich-editor {
  margin-top: 12px;
}
.nf-a-email-rich-editor .wp-editor-container {
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}
.nf-a-email-rich-editor textarea {
  min-height: 390px;
  font:
    14px/1.7 ui-monospace,
    monospace;
  resize: vertical;
  width: 100%;
}
.nf-a-email-rich-editor .wp-editor-area {
  border-radius: 0;
  box-sizing: border-box;
  padding: 16px;
}
.nf-a-email-rich-editor .wp-editor-tools {
  display: flow-root;
}
.nf-a-email-rich-editor .wp-switch-editor {
  height: auto;
  min-height: 29px;
}
.nf-a-email-rich-editor .mce-toolbar .mce-btn button {
  min-height: 28px;
}
.nf-a-email-field-picker {
  padding: 16px;
  border: 1px solid #e0e7ec;
  border-radius: 8px;
  margin-top: 18px;
}
.nf-a-email-field-picker legend {
  font-weight: 600;
  padding: 0 6px;
}
.nf-a-email-field-picker .nf-a-toggle {
  margin: 12px 0;
}
.nf-a-email-preview-column {
  min-width: 0;
}
.nf-a-email-preview-sticky {
  position: sticky;
  top: 126px;
}
.nf-a-email-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.nf-a-email-preview-head h2 {
  font-size: 18px;
  color: #38434c;
  margin: 0 0 6px;
}
.nf-a-email-preview-head p {
  font-size: 12px;
  color: #626b73;
  margin: 0;
}
.nf-a-email-device {
  display: flex;
  gap: 4px;
  background: #e5ecf1;
  padding: 4px;
  border-radius: 8px;
}
.nf-a-email-device button {
  border: 0;
  border-radius: 6px;
  padding: 8px 11px;
  background: transparent;
  color: #52636f;
  font-size: 12px;
  cursor: pointer;
}
.nf-a-email-device button[aria-pressed="true"] {
  background: white;
  color: #304e60;
  box-shadow: 0 1px 3px #243d4910;
}
.nf-a-email-envelope {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  background: white;
  border: 1px solid #dce2e6;
  border-radius: 12px;
}
.nf-a-email-envelope small {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #6d7f8b;
  font-weight: 600;
}
.nf-a-email-envelope strong {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.nf-a-email-preview-status {
  font-size: 12px;
  color: #626b73;
  min-height: 18px;
  margin: 9px 0;
}
.nf-a-email-preview-frame {
  padding: 0;
  border: 1px solid #dce2e6;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f5f7;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.nf-a-email-preview-frame.is-mobile {
  max-width: 375px;
  border: 5px solid #dce4e9;
  border-radius: 24px;
}
.nf-a-email-preview-frame iframe {
  display: block;
  width: 100%;
  height: 810px;
  border: 0;
  background: #f2f5f7;
}
.nf-a-email-preview-frame.is-mobile iframe {
  height: 700px;
}
.nf-a-email-plain {
  margin: 18px 0;
  color: #52636f;
}
.nf-a-email-plain summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.nf-a-email-plain pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.65 ui-monospace,
    monospace;
  background: white;
  padding: 20px;
  border: 1px solid #dce2e6;
  border-radius: 10px;
}
.nf-a-email-test {
  padding: 20px;
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 12px;
  margin-top: 20px;
}
.nf-a-email-test h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.nf-a-email-test p {
  color: #626b73;
  font-size: 13px;
  line-height: 1.6;
}
.nf-a-email-test-controls {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.nf-a-email-test-controls .nf-a-control {
  flex: 1;
  min-width: 160px;
  margin: 0;
}
.nf-a-email-test-controls .nf-a-button {
  white-space: nowrap;
  margin: 0 0 2px;
}
.nf-a-email-link-card {
  border: 1px solid #dce2e6;
  background: #f3f8fa;
  border-radius: 10px;
  padding: 16px;
  margin: 22px 0;
}
.nf-a-email-link-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.nf-a-email-link-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #626b73;
}
@media (min-width: 1400px) {
  .nf-a-email-columns {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.95fr);
    gap: 34px;
  }
}
@media (max-width: 1000px) {
  .nf-a-email-screen {
    padding: 22px;
  }
  .nf-a-email-card {
    padding: 18px;
  }
  .nf-a-email-columns {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  }
}
@media (max-width: 780px) {
  .nf-a-email-columns {
    grid-template-columns: 1fr;
  }
  .nf-a-email-preview-sticky {
    position: static;
  }
  .nf-a-email-heading h1 {
    font-size: 24px;
  }
  .nf-a-email-screen {
    padding: 20px 14px;
  }
  .nf-a-email-channel {
    width: 100%;
  }
  .nf-a-email-channel button {
    flex: 1;
    padding: 10px;
  }
  .nf-a-email-preview-frame iframe {
    height: 720px;
  }
  .nf-a-edit-modes {
    padding: 0 16px;
  }
  .nf-a-email-card .nf-a-two {
    grid-template-columns: 1fr;
  }
}

.nf-a-email-compose {
  grid-template-columns: minmax(0, 1fr);
}
.nf-a-email-card {
  min-width: 0;
}
.nf-a-email-rich-editor {
  min-width: 0;
  max-width: 100%;
}
.nf-a-email-rich-editor .mce-tinymce {
  width: 100% !important;
  box-sizing: border-box;
}

.nf-a-builder-bar {
  position: sticky;
  top: 32px;
  z-index: 50;
  box-shadow: 0 2px 5px #253b4608;
}
.nf-a-email-preview-column {
  align-self: stretch;
}
@media (max-width: 782px) {
  .nf-a-builder-bar {
    top: 46px;
  }
}
