/* NeoHelper integrated page */
body .neohelper-payment-modal__close,
body .neohelper-key-modal__close {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(var(--ui-rgb),0.08) !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(var(--ui-rgb),0.055) !important;
  background-image: none !important;
  color: rgba(var(--ui-rgb),0.82) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease !important;
}

body .neohelper-payment-modal__close:hover,
body .neohelper-payment-modal__close:focus-visible,
body .neohelper-key-modal__close:hover,
body .neohelper-key-modal__close:focus-visible {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), 0.22) !important;
  background: rgba(var(--accent-rgb, 214, 179, 106), 0.10) !important;
  background-image: none !important;
  color: var(--accent-light, var(--gold, #e5ca87)) !important;
}

.neohelper-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.neohelper-hero,
.neohelper-section {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-bg);
  box-shadow: none;
}

.neohelper-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  min-height: 560px;
  padding: clamp(24px, 4vw, 52px);
  isolation: isolate;
}

.neohelper-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -180px;
  bottom: -270px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .14);
  border-radius: 50%;
  box-shadow:
    0 0 0 62px rgba(var(--accent-rgb, 214, 179, 106), .023),
    0 0 0 126px rgba(var(--accent-rgb, 214, 179, 106), .014);
  animation: neohelper-orbit 22s linear infinite;
}

.neohelper-hero::after {
  content: "NH / 01";
  position: absolute;
  z-index: -1;
  top: 24px;
  right: calc(50% + 4px);
  color: rgba(var(--ui-rgb),.16);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.neohelper-hero__copy {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  min-width: 0;
  min-height: 100%;
  padding: 4px 0 4px 26px;
  border-left: 1px solid rgba(var(--ui-rgb),.08);
}

.neohelper-hero__main {
  align-self: center;
  width: 100%;
}

.neohelper-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .20);
  border-radius: 999px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .08);
  color: rgba(var(--ui-rgb),.84);
  font-size: 11px;
  font-weight: 650;
}

.neohelper-eyebrow i {
  color: var(--gold);
  font-size: 11px;
}

.neohelper-hero h1 {
  max-width: 690px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.03;
  letter-spacing: -.05em;
  font-weight: 600;
}

.neohelper-hero__main > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.68;
}

.neohelper-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.neohelper-hero__actions .site-btn {
  min-height: 40px;
  border-radius: 8px;
  font-size: 12px;
}

.neohelper-hero__actions .site-btn--primary {
  border: 0 !important;
}

.neohelper-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 0;
  color: rgba(152,160,173,.86);
  font-size: 11px;
  font-weight: 600;
}

.neohelper-hero__facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.neohelper-hero__facts i {
  color: rgba(var(--accent-rgb, 214, 179, 106), .9);
}

.neohelper-assistant {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 12px;
  background: var(--panel-bg-strong);
}

.neohelper-assistant::after {
  content: "";
  position: absolute;
  right: -92px;
  top: 76px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .09);
  border-radius: 50%;
  pointer-events: none;
  animation: neohelper-float 8s ease-in-out infinite;
}

.neohelper-assistant__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.065);
}

.neohelper-assistant__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.neohelper-assistant__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .20);
  background: rgba(var(--accent-rgb, 214, 179, 106), .09);
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
  overflow: hidden;
}

.neohelper-assistant__identity > div {
  display: grid;
  min-width: 0;
}

.neohelper-assistant__identity strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.neohelper-assistant__identity span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.neohelper-assistant__status-dot {
  display: inline-block;
  width: 6px;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6dcc96;
  box-shadow: none;
}

.neohelper-assistant__avatar > i {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  line-height: 1;
}

.neohelper-assistant__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 999px;
  background: rgba(var(--ui-rgb),.035);
  color: rgba(var(--ui-rgb),.68);
  font-size: 10px;
  font-weight: 650;
}

.neohelper-assistant__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 15px;
}

.neohelper-chat {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 8px;
  color: rgba(var(--ui-rgb),.76);
  font-size: 11px;
  line-height: 1.55;
}

.neohelper-chat--user {
  justify-self: end;
  border-bottom-right-radius: 5px;
  background: rgba(var(--ui-rgb),.045);
}

.neohelper-chat--bot {
  justify-self: start;
  border-bottom-left-radius: 5px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .045);
}

.neohelper-chat--bot > span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 650;
}

.neohelper-task-list {
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 8px;
  background: rgba(0,0,0,.14);
}

.neohelper-task-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 35px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.05);
}

.neohelper-task-list > div:last-child {
  border-bottom: 0;
}

.neohelper-task-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(var(--ui-rgb),.58);
  font-size: 9px;
}

.neohelper-task-list span i {
  width: 12px;
  color: rgba(var(--ui-rgb),.38);
  text-align: center;
}

.neohelper-task-list b {
  color: rgba(109,204,150,.82);
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.neohelper-task-list .is-warning b,
.neohelper-task-list .is-warning i {
  color: var(--gold);
}

.neohelper-change {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.025);
}

.neohelper-change > div {
  display: grid;
}

.neohelper-change strong {
  color: rgba(var(--ui-rgb),.78);
  font-size: 9px;
}

.neohelper-change small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.neohelper-change > span {
  color: rgba(var(--accent-rgb, 214, 179, 106), .85);
  font-size: 9px;
  font-weight: 650;
}

.neohelper-assistant__input {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: 0 12px 12px;
  padding: 0 8px 0 12px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 8px;
  background: rgba(0,0,0,.16);
  color: rgba(152,160,173,.62);
  font-size: 9px;
}

.neohelper-assistant__input button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 9px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .12);
  color: var(--gold);
  font-size: 9px;
}

.neohelper-section {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
}

.neohelper-section__head {
  max-width: 760px;
  margin-bottom: 16px;
}

.neohelper-section__head > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.neohelper-section__head h2 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: var(--type-section-title);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.neohelper-section__head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.neohelper-feature-grid,
.neohelper-plan-grid,
.neohelper-connect__grid {
  display: grid;
  gap: 10px;
}

.neohelper-feature-grid {
  grid-template-columns: repeat(12, minmax(0,1fr));
  counter-reset: neohelper-feature;
}

.neohelper-feature-grid article,
.neohelper-connect__grid article {
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.025);
}

.neohelper-feature-grid article {
  position: relative;
  grid-column: span 6;
  min-height: 176px;
  padding: 22px;
  overflow: hidden;
  counter-increment: neohelper-feature;
}

.neohelper-feature-grid article:nth-child(1),
.neohelper-feature-grid article:nth-child(6) {
  grid-column: span 7;
}

.neohelper-feature-grid article:nth-child(2),
.neohelper-feature-grid article:nth-child(5) {
  grid-column: span 5;
}

.neohelper-feature-grid article::after {
  content: "0" counter(neohelper-feature);
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(var(--ui-rgb),.20);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .14em;
}

.neohelper-feature-grid article:first-child {
  background:
    radial-gradient(circle at 92% 112%, rgba(var(--accent-rgb, 214, 179, 106), .12), transparent 34%),
    rgba(var(--ui-rgb),.025);
}

.neohelper-feature-grid article:last-child {
  background:
    linear-gradient(115deg, transparent 45%, rgba(var(--accent-rgb, 214, 179, 106), .055)),
    rgba(var(--ui-rgb),.025);
}

.neohelper-feature-grid article > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .16);
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .07);
  color: var(--gold);
  font-size: 12px;
}

.neohelper-feature-grid h3,
.neohelper-connect__grid h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.neohelper-feature-grid p,
.neohelper-connect__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.neohelper-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.03);
}

.neohelper-status[hidden] {
  display: none;
}

.neohelper-status > i {
  color: var(--gold);
  font-size: 16px;
}

.neohelper-status > div {
  display: grid;
  gap: 3px;
}

.neohelper-status strong {
  color: var(--text);
  font-size: 12px;
}

.neohelper-status span {
  color: var(--muted);
  font-size: 10px;
}

.neohelper-status--success {
  border-color: rgba(109,204,150,.20);
  background: rgba(109,204,150,.06);
}

.neohelper-status--success > i {
  color: #6dcc96;
}

.neohelper-status--error {
  border-color: rgba(255,110,110,.18);
  background: rgba(255,110,110,.055);
}

.neohelper-status--error > i {
  color: #ff8585;
}

.neohelper-plan-grid {
  grid-template-columns: .82fr 1.18fr .82fr;
  align-items: stretch;
  counter-reset: neohelper-plan;
}

.neohelper-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 388px;
  padding: 20px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.025);
  overflow: hidden;
  counter-increment: neohelper-plan;
}

.neohelper-plan::after {
  content: "P—0" counter(neohelper-plan);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(var(--ui-rgb),.18);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .12em;
}

.neohelper-plan.is-popular {
  min-height: 424px;
  padding: 24px;
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .28);
  background:
    radial-gradient(circle at 82% 4%, rgba(var(--accent-rgb, 214, 179, 106), .14), transparent 27%),
    #141414;
}

.neohelper-plan.is-popular::before {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -96px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .16);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(var(--accent-rgb, 214, 179, 106), .02);
  animation: neohelper-float 8s ease-in-out infinite;
}

.neohelper-plan__top {
  display: grid;
  gap: 7px;
}

.neohelper-plan__badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 999px;
  background: rgba(var(--ui-rgb),.035);
  color: rgba(var(--ui-rgb),.68);
  font-size: 9px;
  font-weight: 650;
}

.neohelper-plan.is-popular .neohelper-plan__badge {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .18);
  background: rgba(var(--accent-rgb, 214, 179, 106), .08);
  color: var(--accent-light, #e5ca87);
}

.neohelper-plan h3 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
}

.neohelper-plan__top p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.neohelper-plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.neohelper-plan__price > span {
  width: 100%;
  color: rgba(152,160,173,.62);
  font-size: 10px;
  text-decoration: line-through;
}

.neohelper-plan__price strong {
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.03em;
}

.neohelper-plan__price small {
  color: var(--muted);
  font-size: 9px;
}

.neohelper-plan ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.neohelper-plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(var(--ui-rgb),.72);
  font-size: 10px;
  line-height: 1.4;
}

.neohelper-plan li i {
  margin-top: 2px;
  color: #6dcc96;
  font-size: 9px;
}

.neohelper-plan__buy {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border: 0 !important;
  border-radius: 8px;
  font-size: 12px;
}

.neohelper-connect__grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid rgba(var(--ui-rgb),.09);
}

.neohelper-connect__grid article {
  position: relative;
  display: flex;
  gap: 13px;
  min-height: 120px;
  padding: 24px 22px 6px 0;
  border: 0;
  border-right: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 0;
  background: transparent;
}

.neohelper-connect__grid article:not(:first-child) {
  padding-left: 22px;
}

.neohelper-connect__grid article:last-child {
  border-right: 0;
}

.neohelper-connect__grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color, #d6b36a);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb, 214, 179, 106), .08);
  transform: translate(-50%, -50%);
}

.neohelper-connect__grid article:not(:first-child)::before {
  left: 50%;
}

.neohelper-connect__grid b {
  color: rgba(var(--accent-rgb, 214, 179, 106), .72);
  font-size: 10px;
}

@keyframes neohelper-orbit {
  to { transform: rotate(360deg); }
}

@keyframes neohelper-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.98); opacity: .56; }
  50% { transform: translate3d(-10px, 12px, 0) scale(1.04); opacity: 1; }
}

.neohelper-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .08);
  color: var(--gold);
}

.neohelper-status__body {
  display: grid;
  gap: 3px;
}

.neohelper-status.is-success {
  border-color: rgba(109,204,150,.20);
  background: rgba(109,204,150,.06);
}

.neohelper-status.is-success .neohelper-status__icon {
  color: #6dcc96;
  background: rgba(109,204,150,.08);
}

.neohelper-status.is-error {
  border-color: rgba(255,110,110,.18);
  background: rgba(255,110,110,.055);
}

.neohelper-status.is-error .neohelper-status__icon {
  color: #ff8585;
  background: rgba(255,110,110,.07);
}

.neohelper-status.is-waiting .neohelper-status__icon {
  color: var(--gold);
}

.neohelper-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.neohelper-payment-modal.is-open {
  display: flex;
}

.neohelper-payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.70);
  backdrop-filter: none;
}

.neohelper-payment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 20px;
  border: 1px solid rgba(var(--ui-rgb),.09);
  border-radius: 10px;
  background: var(--panel-bg);
}

.neohelper-payment-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.04);
  color: var(--muted);
}

.neohelper-payment-modal h3 {
  margin: 0 42px 5px 0;
  font-size: var(--type-card-title);
}

.neohelper-payment-modal p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.neohelper-payment-methods {
  display: grid;
  gap: 8px;
}

.neohelper-payment-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.025);
  color: var(--text);
  text-align: left;
}

.neohelper-payment-method:hover {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .18);
  background: rgba(var(--accent-rgb, 214, 179, 106), .05);
}

.neohelper-payment-method > div:first-child {
  display: grid;
  gap: 3px;
}

.neohelper-payment-method strong {
  font-size: 11px;
}

.neohelper-payment-method span {
  color: var(--muted);
  font-size: 9px;
}

.neohelper-payment-method > i {
  color: var(--gold);
  font-size: 15px;
}

@media (max-width: 980px) {
  .neohelper-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .neohelper-hero__copy {
    display: block;
    min-height: 0;
    padding: 0 0 0 20px;
  }
  .neohelper-hero__main {
    margin-top: 16px;
  }
  .neohelper-hero__facts {
    margin-top: 20px;
  }
  .neohelper-assistant {
    width: min(100%, 620px);
  }
  .neohelper-feature-grid {
    grid-template-columns: repeat(12, minmax(0,1fr));
  }
  .neohelper-feature-grid article,
  .neohelper-feature-grid article:nth-child(n) {
    grid-column: span 6;
  }
  .neohelper-plan-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .neohelper-connect__grid {
    grid-template-columns: 1fr;
    margin-left: 4px;
    border-top: 0;
    border-left: 1px solid rgba(var(--ui-rgb),.09);
  }
  .neohelper-connect__grid article,
  .neohelper-connect__grid article:not(:first-child) {
    padding: 18px 0 18px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(var(--ui-rgb),.08);
  }
  .neohelper-connect__grid article:last-child { border-bottom: 0; }
  .neohelper-connect__grid article::before,
  .neohelper-connect__grid article:not(:first-child)::before {
    top: 25px;
    left: 0;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 700px) {
  .neohelper-page {
    gap: 14px;
  }
  .neohelper-hero,
  .neohelper-section {
    border-radius: 8px;
  }
  .neohelper-hero,
  .neohelper-section {
    padding: 18px;
  }
  .neohelper-hero__copy {
    padding-left: 16px;
  }
  .neohelper-hero h1 {
    font-size: var(--type-page-title);
  }
  .neohelper-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .neohelper-hero__actions .site-btn {
    width: 100%;
  }
  .neohelper-feature-grid,
  .neohelper-plan-grid {
    grid-template-columns: 1fr;
  }
  .neohelper-feature-grid article,
  .neohelper-feature-grid article:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 0;
  }
  .neohelper-plan,
  .neohelper-plan.is-popular {
    min-height: 0;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neohelper-hero::before,
  .neohelper-assistant::after,
  .neohelper-plan.is-popular::before {
    animation: none;
  }
}

/* NeoHelper cabinet */
.neohelper-dashboard {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.neohelper-dashboard__head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(var(--ui-rgb),.08);
  border-radius: 14px;
  background:
    linear-gradient(120deg, transparent 46%, rgba(var(--accent-rgb, 214, 179, 106), .045)),
    #0f0f0f;
  isolation: isolate;
}

.neohelper-dashboard__head::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .16);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(var(--accent-rgb, 214, 179, 106), .018);
  animation: neohelper-float 9s ease-in-out infinite;
}

.neohelper-dashboard__head > div:first-child {
  align-self: end;
  min-width: 0;
}

.neohelper-dashboard__head h1 {
  margin: 10px 0 6px;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.05em;
}

.neohelper-dashboard__head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.6;
}

.neohelper-dashboard__back {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 10px;
  white-space: nowrap;
}

.neohelper-access-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.025);
}

.neohelper-access-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .08);
  color: var(--gold);
}

.neohelper-access-card > div {
  display: grid;
  gap: 4px;
}

.neohelper-access-card strong {
  font-size: 12px;
}

.neohelper-access-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.neohelper-access-card .site-btn {
  min-height: 38px;
  border: 0 !important;
  border-radius: 8px;
  font-size: 10px;
}

.neohelper-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  background: var(--panel-bg);
}

.neohelper-dashboard__stats article {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 74px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 0;
  background: transparent;
}

.neohelper-dashboard__stats article:last-child {
  border-right: 0;
}

.neohelper-dashboard__stats span,
.neohelper-dashboard__stats small {
  color: var(--muted);
  font-size: 9px;
}

.neohelper-dashboard__stats strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-sites-panel {
  display: grid;
  gap: 13px;
  padding: 22px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 12px;
  background: var(--panel-bg);
}

.neohelper-sites-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.neohelper-sites-panel__head > div {
  display: grid;
  gap: 4px;
}

.neohelper-sites-panel__head > div > span {
  color: rgba(var(--accent-rgb, 214, 179, 106), .82);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.neohelper-sites-panel__head h2 {
  margin: 0;
  font-size: var(--type-card-title);
  line-height: 1.25;
}

.neohelper-sites-panel__head p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body-sm);
  line-height: 1.5;
}

.neohelper-sites-panel__upgrade {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.025);
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.neohelper-sites-panel__upgrade:hover {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .18);
  color: var(--text);
}

.neohelper-site-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) auto;
  align-items: end;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 9px;
  background: var(--panel-bg-strong);
}

.neohelper-site-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.neohelper-site-form label > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.neohelper-site-form label > span small {
  opacity: .65;
  font-size: inherit;
  font-weight: 500;
}

.neohelper-site-form input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--field-border);
  outline: 0;
  border-radius: 8px;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 10px;
  transition: border-color .18s ease, background .18s ease;
}

.neohelper-site-form input:focus {
  border-color: var(--field-border-focus);
  background: var(--field-bg-focus);
  box-shadow: none;
}

.neohelper-site-form input:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.neohelper-site-form .site-btn {
  min-width: 132px;
  min-height: 38px;
  border: 0 !important;
  border-radius: 8px;
  font-size: 10px;
}

.neohelper-site-form__message {
  margin: -4px 2px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.neohelper-site-form__message.is-error {
  color: #ff8585;
}

.neohelper-site-form__message.is-success {
  color: #6dcc96;
}

.neohelper-sites-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.neohelper-site-card {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(280px, 1.35fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 8px;
  background: var(--gray-panel-2, var(--panel-bg));
}

.neohelper-site-card__top {
  display: grid;
  gap: 9px;
}

.neohelper-site-card__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.neohelper-site-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .075);
  color: var(--gold);
  font-size: 12px;
}

.neohelper-site-card__identity > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.neohelper-site-card__identity strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-site-card__identity a {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-site-card__identity a:hover {
  color: var(--text);
}

.neohelper-site-card__identity a i {
  margin-left: 3px;
  font-size: 7px;
}

.neohelper-site-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  white-space: nowrap;
  justify-self: start;
}

.neohelper-site-card__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color, #d6b36a);
  box-shadow: none;
}

.neohelper-site-card__status.is-connected {
  border-color: rgba(109,204,150,.15);
  color: #8edbad;
}

.neohelper-site-card__status.is-connected i {
  background: #6dcc96;
  box-shadow: none;
}

.neohelper-site-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid rgba(var(--ui-rgb),.07);
}

.neohelper-site-card__meta > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 5px 12px;
  border-radius: 0;
  background: transparent;
}

.neohelper-site-card__meta span {
  color: var(--muted);
  font-size: 8px;
}

.neohelper-site-card__meta strong {
  overflow: hidden;
  font-family: inherit;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-site-card__actions {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.neohelper-site-card__actions .site-btn {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  font-size: 9px;
}

.neohelper-site-card__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  margin-left: 0;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.018);
  color: var(--muted);
  font-size: 10px;
  transition: border-color .18s ease, background .18s ease, color .18s ease, width .18s ease;
}

.neohelper-site-card__delete:hover,
.neohelper-site-card__delete.is-confirm {
  border-color: rgba(255,110,110,.18);
  background: rgba(255,110,110,.055);
  color: #ff8585;
}

.neohelper-site-card__delete.is-confirm {
  width: auto;
  padding: 0 9px;
  gap: 6px;
  font-size: 8px;
  font-weight: 650;
}

.neohelper-sites-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 88px;
  padding: 14px;
  border: 1px dashed rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  color: var(--muted);
}

.neohelper-sites-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.025);
  color: rgba(var(--accent-rgb, 214, 179, 106), .75);
}

.neohelper-sites-empty > div {
  display: grid;
  gap: 4px;
}

.neohelper-sites-empty strong {
  color: var(--text);
  font-size: 11px;
}

.neohelper-sites-empty p {
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
}

.neohelper-key-modal {
  position: fixed;
  inset: 0;
  z-index: 13050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.neohelper-key-modal.is-open {
  display: flex;
}

.neohelper-key-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: none;
}

.neohelper-key-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  padding: 19px;
  border: 1px solid rgba(var(--ui-rgb),.085);
  border-radius: 8px;
  background: var(--panel-bg);
  box-shadow: none;
}

.neohelper-key-modal__close {
  position: absolute;
  top: 11px;
  right: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.025);
  color: var(--muted);
}

.neohelper-key-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 11px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .09);
  color: var(--gold);
}

.neohelper-key-modal h3 {
  margin: 0 42px 5px 0;
  font-size: var(--type-card-title);
}

.neohelper-key-modal p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.neohelper-key-modal__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
}

.neohelper-key-modal__field code {
  overflow: hidden;
  align-self: center;
  padding: 0 5px;
  color: var(--accent-light, #e5ca87);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-key-modal__field button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .14);
  border-radius: 9px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .07);
  color: var(--gold);
  font-size: 8px;
  font-weight: 650;
}

.neohelper-key-modal__done {
  width: 100%;
  min-height: 38px;
  margin-top: 14px;
  border: 0 !important;
  border-radius: 8px;
  font-size: 10px;
}

body.neohelper-modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .neohelper-sites-grid {
    grid-template-columns: 1fr;
  }

  .neohelper-site-form {
    grid-template-columns: 1fr 1fr;
  }

  .neohelper-site-form .site-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .neohelper-site-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .neohelper-site-card__meta {
    border-left: 0;
    border-top: 1px solid rgba(var(--ui-rgb),.07);
    border-bottom: 1px solid rgba(var(--ui-rgb),.07);
    padding: 9px 0;
  }

  .neohelper-site-card__actions {
    justify-content: start;
    grid-template-columns: repeat(4, auto);
  }
}

@media (max-width: 700px) {
  .neohelper-dashboard {
    padding: 15px;
    border-radius: 8px;
  }

  .neohelper-dashboard__head,
  .neohelper-sites-panel__head {
    display: grid;
  }

  .neohelper-dashboard__back,
  .neohelper-sites-panel__upgrade {
    justify-self: start;
  }

  .neohelper-dashboard__stats,
  .neohelper-site-form,
  .neohelper-site-card__meta {
    grid-template-columns: 1fr;
  }

  .neohelper-site-form .site-btn {
    grid-column: auto;
  }

  .neohelper-access-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .neohelper-access-card .site-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .neohelper-site-card__top {
    display: grid;
  }

  .neohelper-site-card__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .neohelper-site-card__actions .site-btn,
  .neohelper-site-card__delete {
    width: 100%;
  }

  .neohelper-site-card__status {
    justify-self: start;
  }

  .neohelper-key-modal__field {
    grid-template-columns: 1fr;
  }

  .neohelper-key-modal__field button {
    width: 100%;
  }
}

/* NeoHelper agent setup */
.neohelper-site-card__actions {
  flex-wrap: wrap;
}

.neohelper-agent-download {
  border: 0 !important;
}

.neohelper-agent-modal__dialog {
  width: min(480px, 100%);
}

.neohelper-agent-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 11px;
  border-radius: 8px;
  background: rgba(109,204,150,.08);
  color: #7fd8a5;
  font-size: 13px;
}

.neohelper-agent-steps {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.neohelper-agent-steps > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.018);
}

.neohelper-agent-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .08);
  color: var(--gold);
  font-size: 8px;
  font-weight: 650;
}

.neohelper-agent-steps span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.neohelper-agent-steps code {
  color: var(--accent-light, #e5ca87);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.neohelper-agent-modal__open,
.neohelper-agent-modal__check {
  width: 100%;
  min-height: 38px;
  margin-top: 7px;
  border-radius: 8px;
  font-size: 9px;
}

.neohelper-agent-modal__open {
  border: 0 !important;
}

.neohelper-agent-modal__status {
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.018);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.neohelper-agent-modal__status.is-success {
  border-color: rgba(109,204,150,.14);
  background: rgba(109,204,150,.035);
  color: #8edbad;
}

.neohelper-agent-modal__status.is-error {
  border-color: rgba(255,110,110,.14);
  background: rgba(255,110,110,.035);
  color: #ff9292;
}

@media (max-width: 700px) {
  .neohelper-site-card__actions .site-btn {
    min-width: 0;
  }

  .neohelper-site-card__delete {
    margin-left: 0;
  }
}

/* NeoHelper workspace */
.neohelper-workspace {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.012);
}

.neohelper-workspace__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.055);
}

.neohelper-workspace__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.neohelper-workspace__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .14);
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .07);
  color: var(--gold);
  font-size: 12px;
}

.neohelper-workspace__identity > div {
  min-width: 0;
}

.neohelper-workspace__identity > div > span {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.neohelper-workspace__identity h2 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: var(--type-card-heading);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-workspace__identity p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.neohelper-workspace__identity p > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6dcc96;
}

.neohelper-workspace__site-select select {
  min-width: 150px;
  height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  outline: 0;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 9px;
}

.neohelper-workspace__update {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 14px 0;
  padding: 10px 11px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .12);
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .035);
}

.neohelper-workspace__update > i {
  margin-top: 2px;
  color: var(--gold);
  font-size: 10px;
}

.neohelper-workspace__update div {
  display: grid;
  gap: 2px;
}

.neohelper-workspace__update strong {
  font-size: 9px;
}

.neohelper-workspace__update p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.neohelper-workspace__tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid rgba(var(--ui-rgb),.055);
  background: rgba(0,0,0,.14);
}

.neohelper-workspace__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.neohelper-workspace__tabs button:hover {
  color: var(--text);
}

.neohelper-workspace__tabs button.is-active {
  border-color: rgba(var(--ui-rgb),.065);
  background: rgba(var(--ui-rgb),.025);
  color: var(--text);
}

.neohelper-workspace__panel {
  grid-column: 2;
  min-width: 0;
  padding: 14px;
}

.neohelper-live-chat {
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.06);
  border-radius: 10px;
  background: var(--panel-bg);
}

.neohelper-live-chat__messages {
  height: min(470px, 50vh);
  min-height: 300px;
  overflow-y: auto;
  padding: 15px;
  scrollbar-width: thin;
}

.neohelper-live-chat__empty,
.neohelper-live-chat__loading,
.neohelper-live-chat__error {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 270px;
  padding: 25px;
  text-align: center;
  color: var(--muted);
}

.neohelper-live-chat__empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .13);
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .06);
  color: var(--gold);
  font-size: 12px;
}

.neohelper-live-chat__empty strong {
  color: var(--text);
  font-size: 11px;
}

.neohelper-live-chat__empty p {
  max-width: 430px;
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.55;
}

.neohelper-live-chat__loading,
.neohelper-live-chat__error {
  grid-auto-flow: column;
  gap: 7px;
  min-height: 180px;
  font-size: 9px;
}

.neohelper-live-chat__error {
  color: #f08d8d;
}

.neohelper-live-chat__message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.neohelper-live-chat__message.is-user {
  flex-direction: row-reverse;
}

.neohelper-live-chat__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 9px;
  background: rgba(var(--ui-rgb),.02);
  color: var(--muted);
  font-size: 9px;
}

.neohelper-live-chat__message.is-assistant .neohelper-live-chat__avatar {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .12);
  background: rgba(var(--accent-rgb, 214, 179, 106), .05);
  color: var(--gold);
}

.neohelper-live-chat__bubble {
  max-width: min(760px, 78%);
  padding: 9px 11px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.018);
}

.neohelper-live-chat__message.is-user .neohelper-live-chat__bubble {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .10);
  background: rgba(var(--accent-rgb, 214, 179, 106), .045);
}

.neohelper-live-chat__message.is-error .neohelper-live-chat__bubble {
  border-color: rgba(255,110,110,.12);
  background: rgba(255,110,110,.03);
}

.neohelper-live-chat__text {
  color: #dedede;
  font-size: 10px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.neohelper-live-chat__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.neohelper-live-chat__tools span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 7px;
  background: rgba(109,204,150,.055);
  color: #84d9a7;
  font-size: 7px;
  font-weight: 650;
}

.neohelper-live-change {
  width: min(680px, 100%);
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .14);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.neohelper-live-change__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 7px;
}

.neohelper-live-change__head strong {
  min-width: 0;
  overflow: hidden;
  color: #e5e5e5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-live-change__head span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 7px;
  font-weight: 650;
}

.neohelper-live-change.is-applied {
  border-color: rgba(109,204,150,.18);
}

.neohelper-live-change.is-applied .neohelper-live-change__head span {
  color: #84d9a7;
}

.neohelper-live-change.is-rolled_back {
  border-color: rgba(var(--ui-rgb),.07);
  opacity: .8;
}

.neohelper-live-change > p {
  margin: 0;
  padding: 0 10px 9px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.neohelper-live-change details {
  border-top: 1px solid rgba(var(--ui-rgb),.05);
}

.neohelper-live-change summary {
  padding: 8px 10px;
  color: #bcbcbc;
  font-size: 8px;
  cursor: pointer;
  user-select: none;
}

.neohelper-live-change__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(var(--ui-rgb),.04);
  background: rgba(var(--ui-rgb),.04);
}

.neohelper-live-change__comparison > div {
  min-width: 0;
  padding: 8px;
  background: var(--panel-bg-strong);
}

.neohelper-live-change__comparison span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 650;
  text-transform: uppercase;
}

.neohelper-live-change__comparison pre {
  max-height: 210px;
  margin: 0;
  overflow: auto;
  color: #cfcfcf;
  font: 7px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.neohelper-live-change__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-top: 1px solid rgba(var(--ui-rgb),.05);
}

.neohelper-live-change__actions > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 7px;
}

.neohelper-live-change__actions > span i {
  color: #84d9a7;
}

.neohelper-live-change__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(var(--accent-rgb, 214, 179, 106), .2);
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .1);
  color: var(--accent-light, #e5ca87);
  font-size: 8px;
  font-weight: 650;
}

.neohelper-live-change__actions button:hover:not(:disabled) {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .35);
  background: rgba(var(--accent-rgb, 214, 179, 106), .16);
}

.neohelper-live-change__actions button:disabled {
  opacity: .55;
}

.neohelper-live-change__error {
  margin: 0 9px 8px;
  padding: 7px 8px;
  border-radius: 7px;
  background: rgba(240,110,110,.06);
  color: #ef9292;
  font-size: 7px;
  line-height: 1.45;
}

.neohelper-live-change__error[hidden] {
  display: none;
}

.neohelper-live-chat__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
}

.neohelper-live-chat__typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: neohelperTyping 1.1s ease-in-out infinite;
}

.neohelper-live-chat__typing i:nth-child(2) { animation-delay: .12s; }
.neohelper-live-chat__typing i:nth-child(3) { animation-delay: .24s; }

@keyframes neohelperTyping {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.neohelper-live-chat__controls {
  border-top: 1px solid rgba(var(--ui-rgb),.055);
  background: rgba(var(--ui-rgb),.012);
}

.neohelper-live-chat__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: end;
  gap: 7px;
  padding: 9px 9px 6px;
}

.neohelper-live-chat__composer textarea {
  width: 100%;
  min-height: 38px;
  max-height: 150px;
  resize: none;
  padding: 10px 11px;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  outline: 0;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 9px;
  line-height: 1.45;
}

.neohelper-live-chat__composer textarea:focus {
  border-color: var(--field-border-focus);
  background: var(--field-bg-focus);
  box-shadow: none;
}

.neohelper-live-chat__composer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #111;
  font-size: 9px;
}

.neohelper-live-chat__composer button:disabled {
  opacity: .45;
}

.neohelper-live-chat__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 27px;
  padding: 0 10px 7px 12px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
}

.neohelper-live-chat__foot > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.neohelper-live-chat__foot > span i {
  color: #6dcc96;
  font-size: 5px;
  border-radius: 50%;
  box-shadow: none;
}

.neohelper-live-chat__foot button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.018);
  color: var(--muted);
  font-size: 8px;
  line-height: 1;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.neohelper-live-chat__foot button:hover {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .16);
  background: rgba(var(--accent-rgb, 214, 179, 106), .045);
  color: var(--text);
}

.neohelper-files {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.7fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.06);
  border-radius: 10px;
  background: var(--panel-bg);
}

.neohelper-files__browser {
  min-width: 0;
  border-right: 1px solid rgba(var(--ui-rgb),.055);
}

.neohelper-files__toolbar {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 6px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.055);
}

.neohelper-files__toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: rgba(var(--ui-rgb),.018);
  color: var(--muted);
  font-size: 8px;
}

.neohelper-files__toolbar code {
  overflow: hidden;
  color: #c9c9c9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-files__list {
  max-height: 430px;
  overflow-y: auto;
  padding: 5px;
}

.neohelper-files__item {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 32px;
  padding: 4px 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.neohelper-files__item:hover {
  background: rgba(var(--ui-rgb),.025);
}

.neohelper-files__item-icon {
  color: rgba(var(--accent-rgb, 214, 179, 106), .78);
  font-size: 9px;
}

.neohelper-files__item-name {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-files__item small {
  color: var(--muted);
  font-size: 7px;
}

.neohelper-files__placeholder {
  padding: 18px 10px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.neohelper-files__placeholder.is-error {
  color: #ef9292;
}

.neohelper-files__preview {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
}

.neohelper-files__preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.055);
}

.neohelper-files__preview-head strong {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-files__preview-head span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 7px;
}

.neohelper-files__preview pre {
  min-height: 0;
  max-height: 430px;
  margin: 0;
  overflow: auto;
  padding: 11px;
  color: #cfcfcf;
  font: 8px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
  tab-size: 2;
}

.neohelper-project-overview__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.neohelper-project-overview__stats article {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: var(--panel-bg);
}

.neohelper-project-overview__stats span,
.neohelper-project-overview__stats small {
  color: var(--muted);
  font-size: 7px;
}

.neohelper-project-overview__stats strong {
  font-size: 11px;
}

.neohelper-project-overview__stack,
.neohelper-project-overview__note {
  margin-top: 8px;
  padding: 11px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: var(--panel-bg);
}

.neohelper-project-overview__stack > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 7px;
  text-transform: uppercase;
}

.neohelper-project-overview__stack > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.neohelper-project-overview__stack b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .055);
  color: var(--accent-light, #e5ca87);
  font-size: 8px;
}

.neohelper-project-overview__stack em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.neohelper-project-overview__note {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: flex-start;
  gap: 8px;
}

.neohelper-project-overview__note > i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0;
  color: #78d39d;
  font-size: 9px;
}

.neohelper-project-overview__note > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.neohelper-project-overview__note strong {
  display: flex;
  align-items: center;
  min-height: 20px;
  font-size: 10px;
}

.neohelper-project-overview__note p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.neohelper-project-overview__loading {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 100px;
  padding: 12px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: var(--panel-bg);
  color: var(--muted);
  font-size: 8px;
}

.neohelper-project-overview__loading.is-error {
  color: #ef9292;
}

.neohelper-workspace-open {
  border: 0 !important;
}

@media (max-width: 820px) {
  .neohelper-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .neohelper-workspace__head {
    align-items: stretch;
    flex-direction: column;
  }

  .neohelper-workspace__tabs {
    grid-column: 1;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(var(--ui-rgb),.055);
    padding: 10px;
  }

  .neohelper-workspace__panel {
    grid-column: 1;
  }

  .neohelper-workspace__site-select select {
    width: 100%;
  }

  .neohelper-files {
    grid-template-columns: 1fr;
  }

  .neohelper-files__browser {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--ui-rgb),.055);
  }

  .neohelper-files__list,
  .neohelper-files__preview pre {
    max-height: 300px;
  }
}

@media (max-width: 620px) {
  .neohelper-workspace__tabs {
    overflow-x: auto;
  }

  .neohelper-workspace__tabs button {
    flex: 0 0 auto;
  }

  .neohelper-live-chat__messages {
    min-height: 260px;
  }

  .neohelper-live-chat__bubble {
    max-width: 88%;
  }

  .neohelper-live-change__comparison {
    grid-template-columns: 1fr;
  }

  .neohelper-live-change__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .neohelper-live-change__actions button {
    width: 100%;
  }

  .neohelper-project-overview__stats {
    grid-template-columns: 1fr;
  }
}


/* NeoHelper plan capabilities: monitoring and Business team access */
.neohelper-site-card.is-shared {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .12);
}

.neohelper-site-card__shared {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--accent-light, #e5ca87);
  font-size: 7px;
  font-weight: 650;
}

.neohelper-site-card__shared i {
  font-size: 7px;
}

.neohelper-site-card__meta:has([data-neohelper-monitor-status]) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

[data-neohelper-monitor-status] strong.is-error {
  color: #ef8f8f;
}

.neohelper-team {
  display: grid;
  gap: 10px;
}

.neohelper-team__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 10px;
  background: var(--panel-bg);
}

.neohelper-team__head > div {
  min-width: 0;
}

.neohelper-team__head span {
  color: var(--accent-light, #e5ca87);
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.neohelper-team__head h3 {
  margin: 4px 0 5px;
  font-size: 13px;
  font-weight: 700;
}

.neohelper-team__head p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.neohelper-team__head > strong {
  flex: 0 0 auto;
  min-width: 54px;
  padding: 7px 9px;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 9px;
  background: rgba(var(--ui-rgb),.025);
  font-size: 9px;
  text-align: center;
}

.neohelper-team__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.018);
}

.neohelper-team__form input,
.neohelper-team__form select {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 9px;
  outline: 0;
  background: var(--panel-bg);
  color: var(--text);
  font: inherit;
  font-size: 9px;
}

.neohelper-team__form input:focus,
.neohelper-team__form select:focus {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .28);
}

.neohelper-team__message {
  padding: 9px 11px;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 9px;
  color: var(--muted);
  font-size: 8px;
}

.neohelper-team__message.is-success {
  border-color: rgba(109,204,150,.15);
  color: #8edbad;
}

.neohelper-team__message.is-error {
  border-color: rgba(255,110,110,.16);
  color: #ef8f8f;
}

.neohelper-team__list {
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 10px;
  background: var(--panel-bg);
}

.neohelper-team__member {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.045);
}

.neohelper-team__member:last-child {
  border-bottom: 0;
}

.neohelper-team__avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--ui-rgb),.065);
  border-radius: 9px;
  background: rgba(var(--ui-rgb),.025);
  color: var(--muted);
  font-size: 9px;
}

.neohelper-team__member-main {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.neohelper-team__member-main strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-team__member-main small {
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neohelper-team__role {
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb, 214, 179, 106), .055);
  color: var(--accent-light, #e5ca87);
  font-size: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.neohelper-team__member > button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--ui-rgb),.06);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.neohelper-team__member > button:hover {
  border-color: rgba(255,110,110,.16);
  color: #ef8f8f;
}

.neohelper-team__empty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 14px;
  color: var(--muted);
}

.neohelper-team__empty > i {
  font-size: 14px;
  color: rgba(var(--accent-rgb, 214, 179, 106), .55);
}

.neohelper-team__empty div {
  display: grid;
  gap: 3px;
}

.neohelper-team__empty strong {
  color: var(--text);
  font-size: 9px;
}

.neohelper-team__empty span {
  font-size: 8px;
}

@media (max-width: 920px) {
  .neohelper-site-card__meta:has([data-neohelper-monitor-status]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .neohelper-team__form {
    grid-template-columns: 1fr 140px;
  }
  .neohelper-team__form .site-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .neohelper-site-card__meta:has([data-neohelper-monitor-status]) {
    grid-template-columns: 1fr;
  }
  .neohelper-team__head {
    display: grid;
  }
  .neohelper-team__head > strong {
    justify-self: start;
  }
  .neohelper-team__form {
    grid-template-columns: 1fr;
  }
  .neohelper-team__form .site-btn {
    grid-column: auto;
  }
  .neohelper-team__member {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }
  .neohelper-team__role {
    grid-column: 2;
    justify-self: start;
  }
  .neohelper-team__member > button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

.neohelper-monitor-history {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--ui-rgb),.055);
  border-radius: 8px;
  background: var(--panel-bg);
}

.neohelper-monitor-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.045);
}

.neohelper-monitor-history__head span {
  color: var(--accent-light, #e5ca87);
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.neohelper-monitor-history__head strong {
  font-size: 8px;
  font-weight: 650;
}

.neohelper-monitor-history__rows > div {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto 58px;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 5px 11px;
  border-bottom: 1px solid rgba(var(--ui-rgb),.035);
  color: var(--muted);
  font-size: 7px;
}

.neohelper-monitor-history__rows > div:last-child {
  border-bottom: 0;
}

.neohelper-monitor-history__rows i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6dcc96;
}

.neohelper-monitor-history__rows .is-error i {
  background: #ef8f8f;
}

.neohelper-monitor-history__rows strong {
  color: var(--text);
  font-size: 7px;
  font-weight: 650;
}

.neohelper-monitor-history__rows .is-error strong {
  color: #ef8f8f;
}

.neohelper-monitor-history__rows small {
  color: var(--muted);
  font-size: 7px;
  text-align: right;
}

/* NeoHelper site card: compact primary actions + overflow menu */
.neohelper-site-card {
  overflow: visible;
}

.neohelper-site-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: max-content;
}

.neohelper-site-card__actions .site-btn {
  white-space: nowrap;
}

.neohelper-site-card__check {
  background: rgba(var(--ui-rgb),.014);
}

.neohelper-site-card__more {
  position: relative;
  flex: 0 0 auto;
}

.neohelper-site-card__more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(var(--ui-rgb),.07);
  border-radius: 10px;
  background: rgba(var(--ui-rgb),.018);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.neohelper-site-card__more-toggle:hover,
.neohelper-site-card__more-toggle[aria-expanded="true"] {
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .24);
  background: rgba(var(--accent-rgb, 214, 179, 106), .07);
  color: var(--accent-light, #e5ca87);
}

.neohelper-site-card__more-toggle:active {
  transform: translateY(1px);
}

.neohelper-site-card__menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 80;
  display: grid;
  width: 196px;
  padding: 5px;
  border: 1px solid rgba(var(--ui-rgb),.085);
  border-radius: 11px;
  background: var(--gray-panel-3, var(--panel-bg));
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
}

.neohelper-site-card__menu[hidden] {
  display: none;
}

.neohelper-site-card__menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #d5d5d5;
  font: inherit;
  font-size: 9px;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.neohelper-site-card__menu-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  color: var(--muted);
  font-size: 9px;
  transition: color .15s ease;
}

.neohelper-site-card__menu-item:hover {
  background: rgba(var(--ui-rgb),.045);
  color: var(--text);
}

.neohelper-site-card__menu-item:hover i {
  color: var(--accent-light, #e5ca87);
}

.neohelper-site-card__menu-item:disabled {
  opacity: .55;
  cursor: wait;
}

.neohelper-site-card__menu-separator {
  display: block;
  height: 1px;
  margin: 4px 5px;
  background: rgba(var(--ui-rgb),.065);
}

.neohelper-site-card__menu .neohelper-site-card__delete {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 34px;
  margin: 0;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #d5d5d5;
  font-size: 9px;
  font-weight: 400;
  justify-content: flex-start;
}

.neohelper-site-card__menu .neohelper-site-card__delete i {
  width: 14px;
  color: #d77f7f;
}

.neohelper-site-card__menu .neohelper-site-card__delete:hover,
.neohelper-site-card__menu .neohelper-site-card__delete.is-confirm {
  width: 100%;
  padding: 0 9px;
  border: 0;
  background: rgba(255,110,110,.07);
  color: #ff9494;
}

@media (max-width: 980px) {
  .neohelper-site-card__actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .neohelper-site-card__menu {
    right: auto;
    left: 0;
  }
}

@media (max-width: 700px) {
  .neohelper-site-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
  }

  .neohelper-site-card__actions .site-btn {
    width: auto;
  }

  .neohelper-site-card__actions > .site-btn--primary {
    width: 100%;
  }

  .neohelper-site-card__check {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
  }

  .neohelper-site-card__check span {
    display: none;
  }

  .neohelper-site-card__more-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .neohelper-site-card__menu {
    right: 0;
    left: auto;
  }
}

:root[data-theme="light"] .neohelper-hero,
:root[data-theme="light"] .neohelper-section,
:root[data-theme="light"] .neohelper-assistant,
:root[data-theme="light"] .neohelper-dashboard__head,
:root[data-theme="light"] .neohelper-dashboard__stats,
:root[data-theme="light"] .neohelper-sites-panel,
:root[data-theme="light"] .neohelper-site-form,
:root[data-theme="light"] .neohelper-site-card,
:root[data-theme="light"] .neohelper-key-modal__dialog,
:root[data-theme="light"] .neohelper-payment-modal__dialog,
:root[data-theme="light"] .neohelper-live-chat,
:root[data-theme="light"] .neohelper-files,
:root[data-theme="light"] .neohelper-project-overview__stats article,
:root[data-theme="light"] .neohelper-project-overview__stack,
:root[data-theme="light"] .neohelper-project-overview__note,
:root[data-theme="light"] .neohelper-project-overview__loading,
:root[data-theme="light"] .neohelper-team__head,
:root[data-theme="light"] .neohelper-team__list,
:root[data-theme="light"] .neohelper-monitor-history {
  background: var(--panel-bg) !important;
  background-image: none !important;
  border-color: var(--border) !important;
  color: var(--text);
}

:root[data-theme="light"] .neohelper-site-card__menu,
:root[data-theme="light"] .neohelper-live-change,
:root[data-theme="light"] .neohelper-live-change__comparison > div,
:root[data-theme="light"] .neohelper-workspace__tabs,
:root[data-theme="light"] .neohelper-task-list {
  background: var(--panel-bg-strong) !important;
  border-color: var(--border) !important;
  color: var(--text);
}

:root[data-theme="light"] .neohelper-assistant__input,
:root[data-theme="light"] .neohelper-site-form input,
:root[data-theme="light"] .neohelper-live-chat__composer textarea,
:root[data-theme="light"] .neohelper-team__form input,
:root[data-theme="light"] .neohelper-team__form select,
:root[data-theme="light"] .neohelper-workspace__site-select select {
  background: var(--field-bg) !important;
  border-color: var(--field-border) !important;
  color: var(--text) !important;
}

:root[data-theme="light"] .neohelper-plan.is-popular {
  background:
    radial-gradient(circle at 82% 4%, rgba(var(--accent-rgb, 214, 179, 106), .14), transparent 27%),
    var(--panel-bg) !important;
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .28) !important;
}

:root[data-theme="light"] .neohelper-page input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
:root[data-theme="light"] .neohelper-page textarea,
:root[data-theme="light"] .neohelper-page select {
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--accent-dark, #9a6d24) !important;
}

:root[data-theme="light"] .neohelper-page input::placeholder,
:root[data-theme="light"] .neohelper-page textarea::placeholder {
  color: var(--ui-text-faint) !important;
  -webkit-text-fill-color: var(--ui-text-faint) !important;
  opacity: 1;
}

/* Light checkout cashdesk choices. */
:root[data-theme="light"] .neohelper-payment-method {
  background: var(--panel-bg-strong) !important;
  border-color: var(--border-strong) !important;
  color: var(--text) !important;
}

:root[data-theme="light"] .neohelper-payment-method:hover,
:root[data-theme="light"] .neohelper-payment-method:focus-visible,
:root[data-theme="light"] .neohelper-payment-method:active {
  background: rgba(var(--accent-rgb, 214, 179, 106), .11) !important;
  border-color: rgba(var(--accent-rgb, 214, 179, 106), .48) !important;
}

:root[data-theme="light"] .neohelper-payment-method strong {
  color: var(--text) !important;
}

:root[data-theme="light"] .neohelper-payment-method span {
  color: var(--muted) !important;
}

:root[data-theme="light"] .neohelper-payment-method > i {
  color: var(--accent-dark, #8d631f) !important;
}

:root[data-theme="light"] .neohelper-payment-method:disabled {
  background: var(--gray-panel-2) !important;
  border-color: var(--border) !important;
  color: var(--muted) !important;
  opacity: .72;
}

/* Canonical page-title role for the shared NeoHelper typography scale. */
.neohelper-hero h1,
.neohelper-dashboard__head h1 {
  font-family: var(--font-sans);
  font-size: var(--type-page-title);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.neohelper-eyebrow,
.neohelper-section__head > span {
  font-size: var(--type-label);
  font-weight: 600;
}
