/* Privacy controls share the website's typography and navy/white palette. */
.njp-privacy-ui, .njp-privacy-ui * { box-sizing: border-box; }
.njp-privacy-ui { font: 400 15px/1.65 "Plus Jakarta Sans", Arial, sans-serif; color: #23282f; }
.njp-privacy-ui h2, .njp-privacy-ui h3, .njp-privacy-ui p { margin: 0; }
.njp-privacy-ui h2 { color: #1e3252; font-size: 23px; line-height: 1.3; font-weight: 600; }
.njp-privacy-ui h3 { color: #1e3252; font-size: 17px; font-weight: 600; }
.njp-privacy-ui p { margin-top: 10px; }
.njp-privacy-ui a { color: #1e3252; text-underline-offset: 3px; }
.njp-cookie-banner { position: fixed; z-index: 900; left: 16px; right: 16px; bottom: 16px; max-width: 1184px; margin: 0 auto; padding: 24px 28px; max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid #b5bec9; border-radius: 24px; background: #fff; box-shadow: 0 12px 48px #16263d26; }
.njp-cookie-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,1fr); gap: 20px 32px; align-items: center; }
.njp-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.njp-cookie-banner .njp-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 0; }
.njp-cookie-banner .njp-cookie-actions button:last-child { grid-column: 1 / -1; }
.njp-cookie-button { font: 600 14px/1.4 "Plus Jakarta Sans",Arial,sans-serif; min-height: 46px; padding: 12px 18px; border: 1px solid #1e3252; border-radius: 999px; background: #1e3252; color: #fff; text-align: center; }
.njp-cookie-button:hover { background: #293f60; }
.njp-cookie-button:focus-visible, .njp-privacy-ui a:focus-visible, .njp-privacy-ui input:focus-visible { outline: 3px solid #c8102e; outline-offset: 3px; }
.njp-cookie-button-secondary { background: #fff; color: #1e3252; }
.njp-cookie-button-secondary:hover { background: #f3f4f6; }
.njp-cookie-links { font-size: 13px; }
.njp-cookie-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 30px; border: 1px solid #b5bec9; border-radius: 24px; background: #fff; overflow-y: auto; }
.njp-cookie-dialog::backdrop { background: #14213680; }
.njp-cookie-dialog:not([open]) { display: none; }
.njp-cookie-dialog[open] { display: block; }
.njp-cookie-dialog .njp-cookie-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.njp-cookie-dialog .njp-cookie-dialog-header button { flex: 0 0 auto; }
.njp-cookie-category { padding: 20px 0; border-bottom: 1px solid #dedede; }
.njp-cookie-category label { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 16px; color: #1e3252; }
.njp-cookie-category input { width: 24px; height: 24px; margin: 10px; flex: 0 0 24px; accent-color: #1e3252; }
.njp-cookie-category p { margin-top: 7px; font-size: 14px; }
.njp-cookie-state { display: inline-block; padding: 2px 9px; margin-top: 7px; border: 1px solid #c8102e; border-radius: 999px; font-size: 12px; color: #9c1128; }
.njp-gpc-note { padding: 12px 16px; background: #f3f4f6; border-radius: 16px; color: #1e3252; }
.njp-privacy-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.njp-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: 20px; }
.njp-legal-links a, .njp-legal-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: #e6eaf0 !important; font: 500 13px/1.5 "Plus Jakarta Sans",Arial,sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.njp-legal-links a:focus-visible, .njp-legal-links button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#njp-repair-page .njp-policy { max-width: 920px; margin: 0 auto; padding: 50px 0 70px; }
#njp-repair-page .njp-policy h1 { font-size: clamp(34px,5vw,54px); margin-bottom: 22px; }
#njp-repair-page .njp-policy h2 { font-size: 27px; margin: 42px 0 15px; }
#njp-repair-page .njp-policy h3 { font-size: 20px; margin: 24px 0 10px; }
#njp-repair-page .njp-policy p, #njp-repair-page .njp-policy ul { margin: 14px 0; }
#njp-repair-page .njp-policy a { overflow-wrap: anywhere; }
.njp-policy-date { color: #59636e; font-size: 14px; }
.njp-storage-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.njp-storage-table th, .njp-storage-table td { text-align: left; padding: 14px 12px; vertical-align: top; border-bottom: 1px solid #dedede; overflow-wrap: anywhere; }
.njp-storage-table th { background: #f5f5f5; }
.njp-storage-table-wrap { overflow-x: auto; }
@media (max-width: 760px) { .njp-cookie-layout { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 420px) {
  .njp-cookie-banner { padding: 20px; left: 8px; right: 8px; bottom: 8px; border-radius: 20px; }
  .njp-cookie-banner .njp-cookie-actions { grid-template-columns: 1fr; }
  .njp-cookie-dialog { padding: 22px 18px; }
  .njp-cookie-dialog .njp-cookie-dialog-header { flex-direction: column-reverse; gap: 14px; }
  .njp-cookie-dialog .njp-cookie-dialog-header button { align-self: flex-end; }
  .njp-cookie-dialog .njp-cookie-actions { flex-direction: column; }
}
