/* Newland V4 skin for the official Pressidium native Cookie Consent DOM.
 * Trial scope only. Consent state, toggles, focus management and saving remain native.
 */
body.nlb-consent-trial #cc_div {
  --cc-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  --cc-font-size: 16px;
  --cc-bg: #FFFFFF;
  --cc-text: #17211E;
  --cc-border-radius: 22px;
  --cc-btn-primary-bg: #024440;
  --cc-btn-primary-text: #FFFFFF;
  --cc-btn-primary-hover-bg: #0B2F28;
  --cc-btn-primary-hover-text: #FFFFFF;
  --cc-btn-secondary-bg: #FFFFFF;
  --cc-btn-secondary-text: #024440;
  --cc-btn-secondary-hover-bg: #EDF6F2;
  --cc-btn-secondary-hover-text: #0B2F28;
  --cc-btn-border-radius: 8px;
  --cc-toggle-bg-off: #CBD5D1;
  --cc-toggle-bg-on: #024440;
  --cc-toggle-bg-readonly: #024440;
  --cc-toggle-knob-bg: #FFFFFF;
  --cc-block-text: #42504A;
  --cc-cookie-category-block-bg: #FFFFFF;
  --cc-cookie-category-block-bg-hover: #EDF6F2;
  --cc-section-border: #DCE4E1;
  --cc-cookie-table-border: #DCE4E1;
  --cc-overlay-bg: #0B2F28;
  --cc-overlay-opacity: .70;
  --cc-consent-modal-box-shadow: none;
  --cc-webkit-scrollbar-bg: #DCE4E1;
  --cc-webkit-scrollbar-bg-hover: #6A7772;
  font-family: var(--cc-font-family);
  font-size: 16px;
  color: #17211E;
}

body.nlb-consent-trial #cc_div *,
body.nlb-consent-trial #cc_div *::before,
body.nlb-consent-trial #cc_div *::after {
  box-sizing: border-box;
}

/* Native consent modal becomes the confirmed full-width footer banner. */
body.nlb-consent-trial #cc_div #cm {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 24px;
  border: 0;
  border-top: 1px solid #DCE4E1;
  border-radius: 0;
  background: #FFFFFF;
  box-shadow: none;
}

body.nlb-consent-trial #cc_div #c-inr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(1600px, 100%);
  max-width: 1600px;
  margin: 0 auto;
}

body.nlb-consent-trial #cc_div #c-inr-i {
  display: block;
  min-width: 0;
  width: auto;
  padding: 0;
}

body.nlb-consent-trial #cc_div #c-ttl {
  margin: 0 0 4px;
  color: #17211E;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

body.nlb-consent-trial #cc_div #c-txt {
  margin: 0;
  color: #42504A;
  font-size: 13px;
  line-height: 1.55;
}

body.nlb-consent-trial #cc_div #c-bns {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
}

/* The third native settings action is moved here by the small DOM adapter. */
body.nlb-consent-trial #cc_div .c-bn,
body.nlb-consent-trial #cc_div .nlb-cookie-manage {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: auto;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #024440;
  border-radius: 8px;
  background: #FFFFFF;
  color: #024440;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
  transition: background-color 240ms ease, color 240ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}

body.nlb-consent-trial #cc_div #c-bns button + button,
body.nlb-consent-trial #cc_div #s-cnt button + button {
  float: none;
  margin: 0;
}

body.nlb-consent-trial #cc_div #c-p-bn,
body.nlb-consent-trial #cc_div #s-sv-bn {
  background: #024440;
  color: #FFFFFF;
  box-shadow: 6px 6px 0 #8FE0C4;
}

body.nlb-consent-trial #cc_div #c-s-bn,
body.nlb-consent-trial #cc_div #s-all-bn {
  background: #FFFFFF;
  color: #024440;
}

body.nlb-consent-trial #cc_div .nlb-cookie-manage,
body.nlb-consent-trial #cc_div #s-rall-bn {
  border-color: #DCE4E1;
  background: #FFFFFF;
  color: #024440;
}

body.nlb-consent-trial #cc_div #c-s-bn:hover,
body.nlb-consent-trial #cc_div #s-all-bn:hover,
body.nlb-consent-trial #cc_div #s-rall-bn:hover,
body.nlb-consent-trial #cc_div .nlb-cookie-manage:hover {
  background: #EDF6F2;
  color: #0B2F28;
}

body.nlb-consent-trial #cc_div #c-p-bn:hover,
body.nlb-consent-trial #cc_div #s-sv-bn:hover {
  background: #0B2F28;
  color: #FFFFFF;
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #8FE0C4;
}

body.nlb-consent-trial #cc_div button:focus-visible,
body.nlb-consent-trial #cc_div a:focus-visible,
body.nlb-consent-trial #cc_div input:focus-visible {
  outline: 2px solid #0B2F28;
  outline-offset: 3px;
}

body.nlb-consent-trial #cc_div a:not(.c-bn) {
  color: #1F6A59;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 240ms ease !important;
}

body.nlb-consent-trial #cc_div a:not(.c-bn):hover {
  color: #0B2F28;
}

/* Native settings DOM stays intact; the frame supplies the V4 modal layout. */
body.nlb-consent-trial #cc_div #s-cnt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

body.nlb-consent-trial #cc_div #c-vln {
  display: block;
  position: static;
  width: 100%;
}

body.nlb-consent-trial #cc_div #cs,
body.nlb-consent-trial #cc_div #c-s-in {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  transform: none;
}

body.nlb-consent-trial #cc_div #s-inr {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-width: 720px;
  height: auto;
  max-height: min(90dvh, calc(100dvh - 32px));
  margin: 0 auto;
  padding: 0;
  border: 1px solid #DCE4E1;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: none;
  overflow: hidden;
}

body.nlb-consent-trial #cc_div #s-hdr {
  display: flex;
  flex: 0 0 auto;
  position: relative;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  height: auto;
  padding: 22px 24px;
  border-bottom: 1px solid #DCE4E1;
  background: #FFFFFF;
}

body.nlb-consent-trial #cc_div #s-ttl {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #17211E;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.22;
}

body.nlb-consent-trial #cc_div #s-c-bnc {
  display: block;
  flex: 0 0 auto;
}

body.nlb-consent-trial #cc_div #s-c-bn {
  display: block;
  position: relative;
  width: 44px;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #DCE4E1;
  border-radius: 999px;
  background: #FFFFFF;
  color: #024440;
  box-shadow: none;
}

body.nlb-consent-trial #cc_div #s-c-bn:hover {
  background: #EDF6F2;
  color: #0B2F28;
}

body.nlb-consent-trial #cc_div #s-c-bn::before,
body.nlb-consent-trial #cc_div #s-c-bn::after {
  top: 11px;
  left: 20px;
  width: 2px;
  height: 20px;
  margin: 0;
  border-radius: 1px;
  background: currentColor;
}

body.nlb-consent-trial #cc_div #s-bl {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding: 12px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #DCE4E1 #FFFFFF;
}

body.nlb-consent-trial #cc_div #s-bl .c-bl,
body.nlb-consent-trial #cc_div #s-bl .c-bl.b-ex {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #DCE4E1;
  border-radius: 0;
  background: #FFFFFF;
  box-shadow: none;
}

body.nlb-consent-trial #cc_div #s-bl .c-bl:first-child {
  margin: 0;
  padding: 0 0 14px;
}

body.nlb-consent-trial #cc_div #s-bl .c-bl:last-child {
  margin: 0;
}

body.nlb-consent-trial #cc_div #s-bl .c-bl:hover {
  background: #FFFFFF;
}

body.nlb-consent-trial #cc_div #s-bl .title {
  margin: 0;
}

body.nlb-consent-trial #cc_div #s-cnt .b-bn .b-tl {
  min-height: 64px;
  padding: 18px 72px 18px 28px;
  border-radius: 0;
  color: #17211E;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

body.nlb-consent-trial #cc_div #s-cnt .b-bn .b-tl:hover {
  background: #EDF6F2;
}

body.nlb-consent-trial #cc_div #s-cnt .b-bn .b-tl::before {
  left: 4px;
  margin: 0;
  border-color: #024440;
}

body.nlb-consent-trial #cc_div #s-bl .b-tl:not(.exp) {
  padding-left: 0;
}

body.nlb-consent-trial #cc_div #s-bl .b-acc {
  border-radius: 0;
}

body.nlb-consent-trial #cc_div #s-bl .b-acc .p {
  margin: 0;
  padding: 0 72px 18px 28px;
  color: #6A7772;
  font-size: 13px;
  line-height: 1.55;
}

body.nlb-consent-trial #cc_div #s-cnt .p {
  margin: 0;
  color: #6A7772;
  font-size: 13px;
  line-height: 1.55;
}

body.nlb-consent-trial #cc_div #s-bl .b-tg,
body.nlb-consent-trial #cc_div #s-bl .b-tg .c-tg,
body.nlb-consent-trial #cc_div #s-bl .b-tg .c-tgl,
body.nlb-consent-trial #cc_div #s-bl .b-tg .t-lb {
  width: 48px;
  height: 28px;
  border-radius: 999px;
}

body.nlb-consent-trial #cc_div #s-bl .b-tg {
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto 0;
  transform: none;
}

body.nlb-consent-trial #cc_div #s-bl .b-tg .c-tgl {
  min-height: 0;
  margin: 0;
}

body.nlb-consent-trial #cc_div #s-bl .b-tg .c-tg::after {
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: none;
  transition: transform 160ms ease !important;
}

body.nlb-consent-trial #cc_div #s-bl .b-tg .c-tgl:checked ~ .c-tg::after {
  transform: translateX(20px);
}

body.nlb-consent-trial #cc_div #s-bl .b-tg .c-tgl:disabled ~ .c-tg {
  opacity: .65;
}

body.nlb-consent-trial #cc_div #s-bl .b-tg .on-i,
body.nlb-consent-trial #cc_div #s-bl .b-tg .off-i {
  display: none;
}

body.nlb-consent-trial #cc_div #s-bns {
  display: flex;
  flex: 0 0 auto;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: auto;
  padding: 20px 24px 26px;
  border-top: 0;
  background: #FFFFFF;
}

body.nlb-consent-trial #cc_div #s-sv-bn { order: 0; }
body.nlb-consent-trial #cc_div #s-all-bn { order: 1; }
body.nlb-consent-trial #cc_div #s-rall-bn { order: 2; }

body.nlb-consent-trial .nlb-consent-trial-footer { height: 0; margin: 0; padding: 0; }

body.nlb-consent-trial .nlb-cookie-settings {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9900;
  display: grid;
  place-items: center;
  width: auto;
  height: 44px;
  min-height: 44px;
  padding: 0 17px;
  border: 2px solid #FFFFFF;
  border-radius: 999px;
  background: #024440;
  color: #FFFFFF;
  font: 700 14px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease;
}

body.nlb-consent-trial .nlb-cookie-settings:hover { background: #0B2F28; color: #FFFFFF; }
body.nlb-consent-trial .nlb-cookie-settings:focus-visible {
  outline: 3px solid #8FE0C4;
  outline-offset: 3px;
}
html.show--consent body.nlb-consent-trial .nlb-cookie-settings,
html.show--settings body.nlb-consent-trial .nlb-cookie-settings { visibility: hidden; pointer-events: none; }
@media (max-width: 767px) {
  body.nlb-consent-trial .nlb-cookie-settings { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 0 15px; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  body.nlb-consent-trial #cc_div #c-inr { grid-template-columns: 1fr; gap: 16px; }
  body.nlb-consent-trial #cc_div #c-bns { justify-content: flex-start; }
}

@media (max-width: 767px) {
  body.nlb-consent-trial #cc_div #cm {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.nlb-consent-trial #cc_div #c-inr { grid-template-columns: 1fr; gap: 16px; }
  body.nlb-consent-trial #cc_div #c-bns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  body.nlb-consent-trial #cc_div #c-bns .c-bn,
  body.nlb-consent-trial #cc_div #c-bns .nlb-cookie-manage { width: 100%; min-width: 0; margin: 0; padding-inline: 12px; }
  body.nlb-consent-trial #cc_div #c-p-bn { grid-column: 1 / -1; }
  body.nlb-consent-trial #cc_div #s-cnt { align-items: flex-end; padding: 0; }
  body.nlb-consent-trial #cc_div #s-inr {
    width: 100%;
    max-width: none;
    max-height: min(90dvh, calc(100dvh - 16px));
    margin: 0;
    padding: 0;
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
  }
  body.nlb-consent-trial #cc_div #s-hdr { padding: 20px 16px; gap: 12px; }
  body.nlb-consent-trial #cc_div #s-ttl { font-size: 22px; }
  body.nlb-consent-trial #cc_div #s-bl { padding: 12px 16px; }
  body.nlb-consent-trial #cc_div #s-bns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  body.nlb-consent-trial #cc_div #s-bns .c-bn { width: 100%; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.nlb-consent-trial #cc_div #cm,
  body.nlb-consent-trial #cc_div #s-cnt,
  body.nlb-consent-trial #cc_div #s-inr,
  body.nlb-consent-trial #cc_div *,
  body.nlb-consent-trial #cc_div *::before,
  body.nlb-consent-trial #cc_div *::after { transition: none !important; }
  body.nlb-consent-trial #cc_div #c-p-bn:hover,
  body.nlb-consent-trial #cc_div #s-sv-bn:hover { transform: none; box-shadow: 6px 6px 0 #8FE0C4; }
  body.nlb-consent-trial .nlb-cookie-settings { transition: none; }
}

