body:has(.nz-app) {
  margin: 0;
  background: #fff;
}
.nz-app {
  --ink: #171817;
  --mute: #50514e;
  --accent: #ff6d36;
  color-scheme: light;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.5 "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
.nz-app, .nz-app *, .nz-app *::before, .nz-app *::after { box-sizing: border-box; }
.nz-app [hidden] { display: none !important; }
.nz-app a { color: inherit; }
.nz-app a:focus-visible, .nz-app button:focus-visible, .nz-app summary:focus-visible,
.nz-app input:focus-visible, .nz-app textarea:focus-visible { outline: 3px solid #ac390c; outline-offset: 3px; }
.nz-top { background: white; }
.nz-top-inner { width: min(100% - clamp(40px, 8vw, 144px), 1376px); min-height: 86px; margin: auto; padding: 0; border-bottom: 1px solid #e6e5e0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nz-app .nz-brand { flex-shrink: 0; color: var(--ink); text-decoration: none; font-size: clamp(1.75rem, 2.5vw, 2.25rem); font-weight: 650; letter-spacing: -.08em; line-height: 1; }
.nz-app .nz-brand { display: inline-flex; align-items: center; gap: .34em; font-weight: 780; }
.nz-app .nz-brand-dot { color: #cf4913; }
.nz-app .nz-mark { display: inline-flex; position: relative; width: 1.17em; height: .81em; overflow: hidden; border-radius: .24em .2em .24em .18em; transform: skewX(-9deg); }
.nz-app .nz-mark i, .nz-app .nz-mark b { display: block; position: absolute; left: .03em; bottom: -.05em; width: .32em; height: 1.15em; border-radius: .2em; background: #181918; transform: rotate(36deg); transform-origin: bottom; }
.nz-app .nz-mark b { left: .56em; background: var(--accent); }
.nz-app .nz-skip { position: absolute; z-index: 20; left: 1rem; top: .5rem; padding: 10px 20px; background: white; border-radius: 2rem; transform: translateY(-180%); }
.nz-app .nz-skip:focus { transform: none; }
.nz-top nav { display: flex; align-items: center; gap: 1rem; }
.nz-top nav a { min-height: 2.8rem; display: inline-flex; align-items: center; text-underline-offset: .25em; font-weight: 650; }
.nz-top nav a:not(:hover) { text-decoration: none; }
.nz-top nav a.nz-logout { color: var(--mute); font-size: .9rem; font-weight: 500; }
.nz-content { width: min(100% - clamp(40px, 8vw, 144px), 70rem); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5.5rem) 0 5rem; }
.nz-content > h1, .nz-content > .nz-actions, .nz-content > .nz-list, .nz-content > .nz-saved, .nz-content > .nz-alert { max-width: 48rem; margin-inline: auto; }
.nz-panel { max-width: 48rem; margin-inline: auto; }
.nz-auth { max-width: 39rem; }
.nz-app h1, .nz-app h2 { color: var(--ink); letter-spacing: -.06em; line-height: 1.04; font-weight: 710; text-transform: none; }
.nz-app h1 { font-size: clamp(2.5rem, 5.15vw, 4.5rem); margin: 0 0 1.3rem; text-wrap: balance; }
.nz-app .nz-content > h1 { margin-inline: auto; }
.nz-app h2 { font-size: 1.65rem; margin: 0 0 .7rem; }
.nz-app p { margin: 0 0 1.25rem; max-width: 62ch; }
.nz-app form { margin: 1.6rem 0 0; }
.nz-app .nz-help { color: var(--mute); font-size: .9rem; line-height: 1.5; margin: 1rem 0; }
.nz-app .nz-help:last-child, .nz-panel > :last-child { margin-bottom: 0; }
.nz-field { display: block; font-size: .96rem; font-weight: 630; margin: 0 0 1.15rem; }
.nz-field input, .nz-field textarea { display: block; width: 100%; min-height: 3.2rem; margin-top: .42rem; padding: .7rem 1rem; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 450; border: 1px solid #8a8a89; border-radius: .65rem; box-shadow: none; }
.nz-field textarea { resize: vertical; }
.nz-field input::placeholder, .nz-field textarea::placeholder { color: #69696c; opacity: 1; }
.nz-app .nz-primary, .nz-app .nz-secondary, .nz-app .nz-delete-btn { min-height: 3.1rem; padding: .72rem 1.45rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 3rem; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.25; text-decoration: none; cursor: pointer; transition: background .16s ease, box-shadow .16s ease; }
.nz-app .nz-primary { background: var(--accent); color: #1a1614; border: 1px solid var(--accent); }
.nz-app .nz-primary:hover { background: #ff8253; }
.nz-app .nz-secondary, .nz-app .nz-delete-btn { border: 1px solid #8b8b8b; background: white; color: var(--ink); }
.nz-app .nz-secondary:hover, .nz-app .nz-delete-btn:hover { background: #f1f1ef; }
.nz-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.nz-calc, .nz-remove { border-top: 1px solid #dededa; border-bottom: 1px solid #dededa; margin: 1.5rem 0; }
.nz-calc summary, .nz-remove summary { cursor: pointer; min-height: 2.9rem; padding: .8rem 0; font-weight: 660; }
.nz-calc summary::marker, .nz-remove summary::marker { color: #95411b; }
.nz-fields { margin-top: .5rem; display:grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: .25rem 1rem; }
.nz-app .nz-estimate, .nz-app .nz-saved, .nz-app .nz-alert { padding: .9rem 1rem; border-radius: .82rem; }
.nz-app .nz-estimate { background: #fff0e8; }
.nz-estimate strong { display: block; font-size: 1.7rem; letter-spacing: -.055em; }
.nz-app .nz-saved { color: #24422b; background: #eef4ed; }
.nz-app .nz-alert { color: #6a2318; background: #fff0eb; border: 1px solid #d28573; }
.nz-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0; border-top: 1px solid #d6d6d2; }
.nz-list li { margin: 0; }
.nz-list a { padding: 1.3rem 0; border: 0; border-bottom: 1px solid #d6d6d2; background: white; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nz-list a:hover { border-color: #9c9b96; }
.nz-list strong, .nz-list span { display: block; overflow-wrap: anywhere; }
.nz-list strong { font-size: 1.23rem; margin: .15rem 0; line-height: 1.3; letter-spacing: -.025em; }
.nz-list-type, .nz-list-date { font-size: .9rem; color: var(--mute); }
.nz-open { flex-shrink: 0; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.nz-auth strong { overflow-wrap: anywhere; }
.nz-remove { border-bottom: 0; margin-bottom: 0; }
.nz-remove form { margin-top: .25rem; }
.nz-check { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.nz-check input { width: 1.25rem; height: 1.25rem; accent-color: #202023; }
@media (max-width: 36rem) {
  .nz-top-inner { min-height: 4rem; }
  .nz-top nav { gap: .7rem; }
  .nz-content { padding-top: 2.35rem; }
  .nz-app h1 { font-size: clamp(2.4rem, 10.4vw, 3.4rem); }
  .nz-actions > *, .nz-auth .nz-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .nz-app *, .nz-app *::before, .nz-app *::after { transition: none !important; } }
.nz-topic { margin: 0 0 1.3rem; padding: 0; border: 0; }
.nz-topic legend { margin-bottom: .35rem; padding: 0; font-size: .96rem; font-weight: 630; }
.nz-topic > label { display: flex; align-items: center; gap: .55rem; min-height: 2.8rem; cursor: pointer; }
.nz-topic input[type="radio"] { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: #222; }
.nz-reason { margin: .4rem 0 0; }
.nz-topic:not(:has(input[value="zamietnutie"]:checked)) .nz-reason { display: none; }
.nz-app .nz-next { margin: 1.45rem 0; padding: .3rem 0 .3rem 1rem; border-left: 3px solid var(--accent); background: transparent; }
.nz-app .nz-next h2 { font-size: 1.45rem; }
.nz-app .nz-next p { margin: .5rem 0; }
.nz-inline-actions { display: flex; flex-wrap: wrap; gap: .1rem 1.3rem; }
.nz-inline-actions a { display: inline-flex; align-items: center; min-height: 2.9rem; font-weight: 650; text-underline-offset: .18em; }
.nz-review { margin: 1.65rem 0 2rem; padding: 1.3rem 0; background: #fff; border-block: 1px solid #d5d5d1; scroll-margin-top: 1rem; }
.nz-app .nz-review h2 { font-size: 1.45rem; margin: 0 0 .65rem; }
.nz-app .nz-review form, .nz-app .nz-review .nz-help { margin: 1rem 0 0; }
.nz-app .nz-review p { margin: .45rem 0; }
.nz-review p strong, .nz-review dd, .nz-reply { overflow-wrap: anywhere; }
.nz-review .nz-reply, .nz-shared dd { white-space: pre-line; }
.nz-shared { margin-top: .5rem; }
.nz-shared summary { padding: .65rem 0; min-height: 2.8rem; cursor: pointer; font-weight: 625; }
.nz-shared dl { margin: 0; }
.nz-shared dt { font-weight: 650; }
.nz-shared dd { margin: 0 0 .65rem; }
.nz-callback { margin-bottom: 1.15rem; }
.nz-callback .nz-check { min-height: 2.85rem; margin-bottom: .15rem; cursor: pointer; }
.nz-callback .nz-check input { flex: 0 0 1.25rem; }
.nz-callback:not(:has(input[name="callback"]:checked)) .nz-phone { display: none; }
.nz-callback .nz-phone { margin: .25rem 0 0; }
.nz-interview .nz-field[for="nz-answer"] { font-size: clamp(1.22rem, 2.1vw, 1.55rem); letter-spacing: -.035em; line-height: 1.23; margin: .6rem 0 .8rem; }
.nz-interview .nz-answer { display: block; width: 100%; padding: .8rem 1rem; margin-bottom: 1.3rem; border: 1px solid #878784; border-radius: .65rem; font: inherit; background: #fff; color: var(--ink); resize: vertical; }
.nz-consult-log { margin: 1.4rem 0; padding: .2rem 0; border-top: 1px solid #dededb; }
.nz-dialog { padding-left: 1.45rem; }
.nz-dialog li { margin-bottom: .85rem; overflow-wrap: anywhere; }
.nz-dialog strong, .nz-context { color: #555559; }

.nz-auth > p, .nz-case > h1 + p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; letter-spacing: -.018em; color: var(--mute); }
.nz-auth form { max-width: 30rem; }
.nz-auth form .nz-help { max-width: 45ch; }
.nz-context { border-left: 3px solid var(--accent); padding-left: .7rem; }
.nz-interview { max-width: 42rem; }
.nz-interview > .nz-help:first-of-type { margin-bottom: .35rem; color: var(--mute); font-weight: 640; }
@media (min-width: 56rem) {
  .nz-auth:has(input[type="email"]) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
    gap: 0 clamp(3rem, 8vw, 8rem);
    max-width: none;
    align-items: start;
  }
  .nz-auth:has(input[type="email"]) > h1 { grid-column: 1; grid-row: 1; max-width: 14ch; }
  .nz-auth:has(input[type="email"]) > p { grid-column: 1; grid-row: 2; max-width: 43ch; margin: 0; }
  .nz-auth:has(input[type="email"]) > form { grid-column: 2; grid-row: 1 / 3; margin-top: .25rem; padding-top: 1.15rem; border-top: 1px solid #aaaaa5; }
}

.nz-portal-legal { max-width: 60rem; margin: 0 auto; padding: 1.2rem; } .nz-portal-legal nav { display:flex; flex-wrap:wrap; gap:.6rem 1.2rem; } .nz-portal-legal a { color:inherit; font-size:.875rem; }
