#nlcc-banner[hidden],
#nlcc-modal[hidden] { display: none !important; }

.nlcc-banner {
  position: fixed;
  z-index: 2147483000;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  color: #202124;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  box-shadow: 0 8px 35px rgba(0,0,0,.18);
  font-family: inherit;
}

.nlcc-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.nlcc-copy { flex: 1 1 auto; }
.nlcc-copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}
.nlcc-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}

.nlcc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.nlcc-btn {
  appearance: none;
  border-radius: 7px;
  padding: 10px 14px;
  border: 1px solid #c9cdd2;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.nlcc-primary {
  background: #1b66c9;
  color: #fff;
  border-color: #1b66c9;
}
.nlcc-secondary {
  background: #fff;
  color: #202124;
}

.nlcc-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nlcc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.nlcc-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  color: #202124;
  border-radius: 12px;
  box-shadow: 0 12px 50px rgba(0,0,0,.3);
  padding: 24px;
  font-family: inherit;
}
.nlcc-dialog h2 { margin: 0 35px 8px 0; }
.nlcc-dialog > p { color: #555; line-height: 1.55; font-size: 14px; }
.nlcc-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}
.nlcc-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #e5e7eb;
}
.nlcc-option strong { display:block; margin-bottom:4px; }
.nlcc-option span { display:block; font-size:13px; color:#666; line-height:1.45; }
.nlcc-always { white-space: nowrap; font-size: 12px !important; font-weight: 600; }
.nlcc-toggle-row { cursor: pointer; }
.nlcc-toggle-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.nlcc-modal-actions {
  display:flex;
  gap:8px;
  justify-content:flex-end;
  margin-top:18px;
}

@media (max-width: 760px) {
  .nlcc-banner { left: 10px; right: 10px; bottom: 10px; }
  .nlcc-inner { display:block; padding:16px; }
  .nlcc-actions { margin-top:14px; justify-content:stretch; }
  .nlcc-btn { flex: 1 1 auto; }
}

@media (prefers-color-scheme: dark) {
  .nlcc-banner, .nlcc-dialog {
    background: #1f2937;
    color: #f3f4f6;
    border-color: rgba(255,255,255,.15);
  }
  .nlcc-copy h2, .nlcc-dialog h2 { color: #f3f4f6; }
  .nlcc-copy p, .nlcc-dialog > p, .nlcc-option span { color: #cbd5e1; }
  .nlcc-secondary { background:#1f2937; color:#f3f4f6; border-color:#4b5563; }
  .nlcc-option { border-color:#374151; }
}
