.nl { --nl-ink: #06101B; --nl-gold: #DFA622; --nl-line: #E7E2D2; --nl-box: #FFFFF9; --nl-muted: #4A5058; --nl-err: #A3271B; color: var(--nl-ink); font-family: Montserrat, Arial, sans-serif; width: 100%; }
.nl *, .nl *::before, .nl *::after { box-sizing: border-box; }
.nl-box { background: var(--nl-box); border: 1px solid var(--nl-line); border-radius: 24px; padding: 56px 56px 48px; overflow: clip; }
.nl--small .nl-box { padding: 36px 40px 32px; border-radius: 20px; }
.nl-intro { max-width: none; margin-bottom: 32px; }
.nl--small .nl-intro { margin-bottom: 24px; }
.nl-h { font-family: "Montserrat Alternates", Montserrat, sans-serif; font-weight: 600; font-size: 34px; line-height: 1.2; margin: 0 0 18px; color: var(--nl-ink); }
.nl--small .nl-h { font-size: 24px; margin-bottom: 10px; }
.nl-intro p { max-width: 720px; font-size: 17px; line-height: 1.6; margin: 0 0 12px; color: var(--nl-ink); }
.nl--small .nl-intro p { font-size: 16px; }
.nl-intro p:last-child { margin-bottom: 0; }

/* provázek se zlatou tečkou na konci nadpisu */
.nl-dot { display: inline-block; position: relative; width: .3em; height: .3em; margin-left: .08em; border-radius: 50%; background: var(--nl-gold); vertical-align: baseline; }
.nl-dot::before { content: ""; position: absolute; left: 50%; bottom: 50%; width: 170px; height: 52px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60'%3E%3Cpath d='M196 8C170 6 160 30 138 34C116 38 112 16 126 14C140 12 140 40 112 46C80 52 40 52 4 54' fill='none' stroke='%231f1f1f' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat left bottom / 100% 100%; pointer-events: none; }

.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.nl-field label, .nl-legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--nl-ink); }
.nl-field input { width: 100%; height: 52px; padding: 0 18px; font: inherit; font-size: 16px; color: var(--nl-ink); background: #fff; border: 1px solid #CFC8B4; border-radius: 12px; }
.nl-field input:focus { outline: 2px solid var(--nl-gold); outline-offset: 1px; border-color: var(--nl-gold); }
.nl-field input[aria-invalid="true"] { border-color: var(--nl-err); }
.nl-err { color: var(--nl-err); font-size: 14px; line-height: 1.4; margin: 6px 0 0; min-height: 0; }
.nl-err:empty { display: none; }

.nl-set { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.nl-legend { padding: 0; margin-bottom: 12px; }
.nl-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nl-tile { position: relative; display: flex; align-items: center; min-height: 84px; padding: 18px 52px 18px 20px; background: #FAF8EF; border: 1.5px solid var(--nl-line); border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.nl-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.nl-tile::after { content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #BDB59E; background: #fff; }
.nl-tile:hover { border-color: #CDBF94; }
.nl-tile:has(input:checked) { border-color: var(--nl-gold); background: #FBF1D6; }
.nl-tile:has(input:checked)::after { border-color: var(--nl-gold); background: var(--nl-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%2306101B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.nl-tile:has(input:focus-visible) { outline: 2px solid var(--nl-ink); outline-offset: 2px; }
.nl-set[aria-invalid="true"] .nl-tile { border-color: var(--nl-err); }
.nl-hint { font-size: 13.5px; color: var(--nl-muted); margin: 10px 0 0; }

.nl-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.nl-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--nl-gold); cursor: pointer; }
.nl-consent-wrap { margin-bottom: 28px; }
.nl-consent-wrap .nl-err { margin-left: 32px; }

.nl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.nl-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background-color: var(--nl-gold); color: var(--nl-ink); font: inherit; font-weight: 600; letter-spacing: 1.1px; font-size: 15px; padding: 16px 32px; border-radius: 34px; border: 0; cursor: pointer; transition: background-color .2s; }
.nl-submit:hover, .nl-submit:focus-visible { background-color: #c8901a; }
.nl-submit:focus-visible { outline: 2px solid var(--nl-ink); outline-offset: 3px; }
.nl-submit[disabled] { opacity: .6; cursor: progress; }
.nl-info { font-size: 13.5px; line-height: 1.55; color: var(--nl-muted); margin: 16px 0 0; max-width: 720px; }
.nl-info a { color: var(--nl-ink); text-decoration: underline; text-decoration-color: var(--nl-gold); text-underline-offset: 3px; }
.nl-formerr { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #FBE9E5; color: var(--nl-err); font-size: 14.5px; }
.nl-formerr:empty { display: none; }
.nl-formerr a { color: inherit; }

.nl-done { display: flex; gap: 18px; align-items: flex-start; padding: 8px 0 4px; }
.nl-done[hidden] { display: none; }
.nl-done-dot { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 6px; border-radius: 50%; background: var(--nl-gold); }
.nl-done p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 640px; }
.nl-done strong { display: block; font-family: "Montserrat Alternates", Montserrat, sans-serif; font-size: 22px; margin-bottom: 6px; }

@media (max-width: 900px) {
  .nl-box { padding: 40px 28px 32px; }
  .nl-h { font-size: 28px; }
}
@media (max-width: 767px) {
  .nl-box, .nl--small .nl-box { padding: 32px 20px 28px; border-radius: 18px; }
  .nl-h { font-size: 25px; }
  .nl--small .nl-h { font-size: 22px; }
  .nl-row, .nl-tiles { grid-template-columns: 1fr; }
  .nl-row { gap: 16px; }
  .nl-tile { min-height: 60px; }
  .nl-dot::before { width: 96px; height: 30px; }
  .nl-submit { width: 100%; }
}

html body .nl .nl-tile, html body .nl .nl-tile span, html body .nl .nl-consent, html body .nl .nl-consent span, html body .nl .nl-field label, html body .nl .nl-legend { color: #06101B; opacity: 1; }
@media (max-width: 767px) { .nl-dot::before { left: -6px; bottom: 45%; width: 84px; height: 20px; } }

/* Úzký sloupec (např. vedle FAQ na rozcestníku): pole a dlaždice pod sebou. */
.nl { container-type: inline-size; }
@container (max-width: 560px) {
  .nl-row, .nl-tiles { grid-template-columns: 1fr; }
  .nl-row { gap: 16px; }
  .nl-tile { min-height: 60px; }
  .nl--small .nl-box { padding: 28px 24px 24px; }
  .nl-submit { width: 100%; }
}
