/**
 * Dědictví - formulář NKD
 * Verze: viz filemtime() v dedictvi.php
 * Font Inter se načítá přes wp_enqueue_style.
 */

.nkd-form {
  /* Napojeno na sdílené tokeny (dedictvi-tokens-*.css), hodnoty 1:1. */
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ded-fe-ink);
  line-height: 1.65;
}

/* PROGRESS — stepper s propojenými body */
.nkd-form .progress-container { background: transparent; padding: 0.5rem 2rem 1rem; margin-top: -3rem; }
.nkd-form .progress-inner { max-width: 1100px; margin: 0 auto; }
.nkd-form .progress-steps { display: flex; align-items: flex-start; counter-reset: step; }
.nkd-form .progress-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; cursor: pointer; }
.nkd-form .progress-step:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 14px); right: calc(-50% + 14px); height: 2px; background: #d4cfc4; transition: background 0.3s; z-index: 0; }
.nkd-form .progress-step.completed:not(:last-child)::after { background: var(--ded-fe-red); }
.nkd-form .progress-step .step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ded-fe-border-strong); background: var(--ded-fe-bg); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: all 0.3s; }
.nkd-form .progress-step .step-dot span { font-size: 0.72rem; font-weight: 700; color: var(--ded-fe-muted-strong); line-height: 1; }
.nkd-form .progress-step.active .step-dot { border-color: var(--ded-fe-red); background: var(--ded-fe-red); box-shadow: 0 0 0 4px var(--ded-fe-focus-ring); }
.nkd-form .progress-step.active .step-dot span { color: var(--ded-fe-white); }
.nkd-form .progress-step.completed .step-dot { border-color: var(--ded-fe-red); background: var(--ded-fe-red); }
.nkd-form .progress-step.completed .step-dot span { color: var(--ded-fe-white); font-size: 0.8rem; }
.nkd-form .progress-step .step-label { display: block; font-size: 0.6rem; font-weight: 600; color: var(--ded-fe-muted-strong); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.35rem; text-align: center; line-height: 1.2; }
.nkd-form .progress-step.active .step-label { color: var(--ded-fe-red); }
.nkd-form .progress-step.completed .step-label { color: var(--ded-fe-ink-soft); }
.nkd-form .progress-info { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; font-size: 0.78rem; color: var(--ded-fe-muted-strong); font-weight: 500; }
.nkd-form .btn-restart-tour { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.65rem; background: var(--ded-fe-red-light); color: var(--ded-fe-red); border: none; border-radius: var(--ded-fe-radius-pill); font-family: inherit; font-size: 0.68rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.03em; }
.nkd-form .btn-restart-tour:hover { background: var(--ded-fe-red); color: var(--ded-fe-white); }

/* INFO TOOLTIPS */
.nkd-form .info-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ded-fe-red); border: none; color: var(--ded-fe-white); font-size: 0.72rem; font-weight: 700; font-style: normal; font-family: inherit; cursor: pointer; padding: 0; line-height: 1; vertical-align: -0.25em; margin-left: 0.4rem; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.15); flex-shrink: 0; }
.nkd-form .info-icon:hover { background: var(--ded-fe-ink); transform: scale(1.1); }
.nkd-form .info-icon svg { display: block; width: 13px; height: 13px; }
/* Pokud je field-hint prázdný (obsahuje jen info-icon), zarovnat ikonku vlevo bez horního odsazení */
.nkd-form .field-group .field-hint:empty { display: none; }
.nkd-form .info-tooltip { display: none; position: relative; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 0.75rem 2.2rem 0.75rem 1rem; background: var(--ded-fe-bg); border-radius: var(--ded-fe-radius); border-left: 3px solid var(--ded-fe-red); font-size: 0.85rem; color: var(--ded-fe-ink-soft); line-height: 1.55; }
.nkd-form .info-tooltip.visible { display: block; animation: detailIn 0.2s ease; }
.nkd-form .info-tooltip strong { color: var(--ded-fe-ink); }
.nkd-form .info-tooltip .info-ref { display: block; margin-top: 0.35rem; font-size: 0.72rem; color: var(--ded-fe-muted); font-style: italic; }
.nkd-form .info-tooltip-close { position: absolute; top: 0.4rem; right: 0.4rem; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: none; border: none; border-radius: 50%; color: var(--ded-fe-muted); cursor: pointer; padding: 0; line-height: 1; transition: all 0.2s; }
.nkd-form .info-tooltip-close:hover { color: var(--ded-fe-red); background: rgba(0,0,0,0.05); }
.nkd-form .info-tooltip-close svg { display: block; width: 12px; height: 12px; }

/* SUMMARY */
.nkd-form .summary-wrap { margin-bottom: 1.5rem; }
.nkd-form .sum-alert { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.85rem 1rem; background: var(--ded-warn-bg); border-radius: var(--ded-fe-radius); border-left: 3px solid #e6a817; margin-bottom: 1.25rem; font-size: 0.85rem; color: #5a5030; line-height: 1.5; }
.nkd-form .sum-alert svg { flex-shrink: 0; color: var(--ded-warn); margin-top: 2px; }
.nkd-form .sum-alert strong { color: #5a4510; }
.nkd-form .sum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.nkd-form .sum-card { background: var(--ded-fe-white); border: 1.5px solid var(--ded-fe-border); border-radius: var(--ded-fe-radius); overflow: hidden; transition: border-color 0.2s; }
.nkd-form .sum-card:hover { border-color: var(--ded-fe-red); }
.nkd-form .sum-card-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.85rem; background: var(--ded-fe-bg); cursor: pointer; transition: background 0.2s; }
.nkd-form .sum-card-head:hover { background: var(--ded-fe-red-light); }
.nkd-form .sum-card-num { width: 22px; height: 22px; border-radius: 50%; background: var(--ded-fe-red); color: var(--ded-fe-white); font-size: 0.68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nkd-form .sum-card-title { font-size: 0.78rem; font-weight: 700; color: var(--ded-fe-ink); text-transform: uppercase; letter-spacing: 0.03em; flex: 1; }
.nkd-form .sum-edit { font-size: 0.7rem; color: var(--ded-fe-red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.nkd-form .sum-card-body { padding: 0.5rem 0.85rem 0.65rem; }
.nkd-form .sum-row { display: flex; gap: 0.5rem; padding: 0.3rem 0; border-bottom: 1px solid var(--ded-fe-border-light); font-size: 0.82rem; line-height: 1.45; }
.nkd-form .sum-row:last-child { border-bottom: none; }
.nkd-form .sum-row-total { border-top: 1.5px solid var(--ded-fe-border); margin-top: 0.15rem; padding-top: 0.4rem; }
.nkd-form .sum-label { flex: 0 0 105px; color: var(--ded-fe-muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.02em; padding-top: 1px; }
.nkd-form .sum-value { flex: 1; color: var(--ded-fe-ink-soft); word-break: break-word; }
.nkd-form .sum-value.sum-highlight { color: var(--ded-fe-ink); font-weight: 600; }
.nkd-form .sum-empty { color: var(--ded-fe-muted); font-style: italic; }
.nkd-form .sum-tag { display: inline-block; padding: 0.1rem 0.45rem; border-radius: var(--ded-fe-radius-pill); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.nkd-form .sum-tag-warn { background: var(--ded-warn-bg); color: #8a6d00; }
.nkd-form .sum-tag-ok { background: var(--ded-green-bg); color: var(--ded-green); }
@media (max-width: 700px) {
.nkd-form .sum-grid { grid-template-columns: 1fr; }
.nkd-form .sum-label { flex: 0 0 85px; font-size: 0.68rem; }
}

/* MAIN */
/* Přebití WP block theme constraint (is-layout-constrained přidává max-width: var(--wp--style--global--content-size))
   na přímé potomky entry-content. Potřebujeme, aby .nkd-form mohl být až 1240 px široký. */
.is-layout-constrained > .nkd-form,
.wp-block-post-content > .nkd-form,
.entry-content > .nkd-form,
.nkd-form {
  max-width: none !important;
  width: 100% !important;
}
.nkd-form .form-container { max-width: 1100px; margin: 0 auto; padding: 2rem 2.5rem; position: relative; z-index: 1; }
/* Kroky: všechny step-panely využívají plnou šířku kontejneru */
.nkd-form .step-panel { display: none; animation: fadeUp 0.3s ease; }
.nkd-form .step-panel.active { display: block; }

/* Mapa split layout (kopie admin pravidel, JS obaluje list + mapu do .nkd-mapa-split) */
.nkd-form .nkd-mapa-split {
  display: flex;
  gap: 0;
  align-items: stretch;
  border: 1.5px solid var(--ded-fe-border);
  border-radius: var(--ded-fe-radius);
  overflow: hidden;
}
.nkd-form .nkd-mapa-split-sidebar {
  flex: 0 0 380px;
  max-width: 380px;
  background: var(--ded-fe-white);
  border-right: 1px solid var(--ded-fe-border-light);
  display: flex;
  flex-direction: column;
}
.nkd-form .nkd-mapa-split-sidebar-title {
  padding: 10px 12px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ded-fe-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ded-fe-border-light);
  flex-shrink: 0;
}
.nkd-form .nkd-mapa-split .nkd-mapa-list {
  flex: 1;
  overflow-y: auto;
  max-height: 560px;
  border: none;
  border-radius: 0;
  padding: 4px 0;
  margin-top: 0;
}
.nkd-form .nkd-mapa-split .nkd-mapa-container {
  flex: 1;
  min-width: 0;
  height: 560px;
  border: none;
  border-radius: 0;
}
@media (max-width: 900px) {
  .nkd-form .nkd-mapa-split { flex-direction: column; }
  .nkd-form .nkd-mapa-split-sidebar { flex: none; max-width: none; width: 100%; border-right: none; border-top: 1px solid var(--ded-fe-border-light); order: 2; }
  .nkd-form .nkd-mapa-split .nkd-mapa-container { flex: none; width: 100%; order: 1; height: 380px; min-height: 380px; }
  .nkd-form .nkd-mapa-split .nkd-mapa-list { max-height: 260px; }
}
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.nkd-form .step-header { margin-bottom: 2rem; }
.nkd-form .step-header .step-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: var(--ded-fe-radius-pill); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.65rem; }
.nkd-form .step-tag-a { background: var(--ded-fe-red-light); color: var(--ded-fe-red); }
.nkd-form .step-tag-b { background: var(--ded-fe-accent2-light); color: #8a5530; }
.nkd-form .step-tag-c { background: #eae4ef; color: #5a3a7a; }
.nkd-form .step-tag-d { background: #e0eae8; color: #2a5a4a; }
.nkd-form .step-header h2 { font-size: 2rem; font-weight: 800; color: var(--ded-fe-ink); line-height: 1.15; margin-bottom: 0.5rem; }
.nkd-form .step-header p { font-size: 1rem; color: var(--ded-fe-muted); max-width: 580px; }

/* FIELDS */
.nkd-form .field-group { background: var(--ded-fe-white); border: 1.5px solid var(--ded-fe-border); border-radius: var(--ded-fe-radius); padding: 1.5rem; margin-bottom: 1.1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.nkd-form .field-group:focus-within { border-color: var(--ded-fe-red); box-shadow: var(--ded-focus); }
.nkd-form .field-group label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ded-fe-ink); margin-bottom: 0.2rem; }
.nkd-form .field-group .field-hint { font-size: 0.84rem; color: var(--ded-fe-muted); margin-bottom: 0.7rem; line-height: 1.5; opacity: 0.7; }
.nkd-form input::placeholder, .nkd-form textarea::placeholder { color: var(--ded-fe-muted); opacity: 0.5; }
.nkd-form .field-group .field-limit { font-size: 0.72rem; color: var(--ded-fe-muted); text-align: right; margin-top: 0.3rem; font-weight: 500; }
.nkd-form .field-group .field-limit.over { color: var(--ded-fe-red); }
.nkd-form .field-group input[type="text"], .nkd-form .field-group input[type="email"], .nkd-form .field-group input[type="tel"], .nkd-form .field-group textarea { border-color: var(--ded-fe-border); border-radius: var(--ded-fe-radius); color: var(--ded-fe-ink); background: var(--ded-fe-bg); transition: border-color 0.2s, background 0.2s; }
.nkd-form .field-group input:focus, .nkd-form .field-group textarea:focus { outline: none; border-color: var(--ded-fe-red); background: var(--ded-fe-white); }
.nkd-form .field-group textarea { min-height: 180px; }
.nkd-form .field-group textarea.large { min-height: 280px; }
.nkd-form .checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.nkd-form .checkbox-item { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.6rem 0.75rem; border: 1.5px solid var(--ded-fe-border); border-radius: var(--ded-fe-radius); cursor: pointer; transition: all 0.15s; }
.nkd-form .checkbox-item:hover { background: var(--ded-fe-red-light); border-color: var(--ded-fe-red); }
.nkd-form .checkbox-item input[type="checkbox"] { accent-color: var(--ded-fe-red); margin-top: 3px; flex-shrink: 0; }
.nkd-form .checkbox-item span { font-size: 0.9rem; line-height: 1.35; }
.nkd-form .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.nkd-form .contact-grid .full-width { grid-column: 1 / -1; }
.nkd-form .contact-grid label { font-size: 0.82rem; margin-bottom: 0.15rem; }
.nkd-form .section-divider { display: flex; align-items: center; gap: 0.8rem; margin: 1.75rem 0 1.35rem; }
.nkd-form .section-divider::before, .nkd-form .section-divider::after { content: ''; flex: 1; height: 1px; background: var(--ded-fe-border); }
.nkd-form .section-divider span { font-size: 0.72rem; font-weight: 700; color: var(--ded-fe-red); text-transform: uppercase; letter-spacing: 0.06em; }
.nkd-form .radio-inline { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; margin-top: 0.5rem; }
.nkd-form .radio-item { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-size: 0.95rem; padding: 0.3rem 0; }
.nkd-form .radio-item input[type="radio"] { accent-color: var(--ded-fe-red); flex-shrink: 0; }
.nkd-form .file-upload-zone { border: 2px dashed var(--ded-fe-border); border-radius: var(--ded-fe-radius-lg); padding: 2rem; text-align: center; cursor: pointer; transition: all 0.2s; }
.nkd-form .file-upload-zone:hover { border-color: var(--ded-fe-red); background: var(--ded-fe-red-light); }
.nkd-form .file-upload-zone svg { width: 36px; height: 36px; fill: var(--ded-fe-muted); margin-bottom: 0.5rem; }
.nkd-form .file-upload-zone p { font-size: 0.9rem; color: var(--ded-fe-muted); }
.nkd-form .file-upload-zone .upload-formats { font-size: 0.75rem; color: var(--ded-fe-border-strong); margin-top: 0.15rem; display: block; }
.nkd-form .file-list { margin-top: 0.5rem; }
.nkd-form .file-list-item { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.5rem; background: var(--ded-fe-bg); border-radius: var(--ded-fe-radius); margin-bottom: 0.25rem; font-size: 0.82rem; color: var(--ded-fe-ink-soft); }
.nkd-form .file-list-item .file-icon { color: var(--ded-fe-red); font-weight: 700; }
.nkd-form .field-group.field-error { border-color: var(--ded-fe-red); box-shadow: 0 0 0 3px rgba(193,85,61,0.15); }
.nkd-form .field-group.field-error label:first-child { color: var(--ded-fe-red); }
.nkd-form .validation-msg { display:none; font-size:0.82rem; color:var(--ded-fe-red); font-weight:600; margin-top:0.3rem; }
.nkd-form .field-group.field-error .validation-msg { display:block; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(6px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)} }

/* NAV */
.nkd-form .step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ded-fe-border); }
.nkd-form .btn svg { width: 16px; height: 16px; fill: currentColor; }
.nkd-form .btn-secondary { background: var(--ded-fe-white); color: var(--ded-fe-muted); border: 1.5px solid var(--ded-fe-border); }
.nkd-form .btn-secondary:hover { background: var(--ded-fe-bg); color: var(--ded-fe-ink); border-color: var(--ded-fe-ink-soft); }
.nkd-form .btn-primary { background: var(--ded-fe-red); color: var(--ded-fe-white); }
.nkd-form .btn-primary:hover { background: var(--ded-fe-red-hover); }
.nkd-form .btn-submit { background: var(--ded-fe-red); color: var(--ded-fe-white); padding: 0.85rem 2rem; font-size: 1rem; }
.nkd-form .btn-submit:hover { background: var(--ded-fe-red-hover); box-shadow: var(--ded-fe-shadow-md); }
.nkd-form .required::after { content: ' *'; color: var(--ded-fe-red); }
.nkd-form .confirm-box { background: var(--ded-fe-red-light); border-color: var(--ded-fe-red); }

/* SUBMIT FEEDBACK (přesunuto do body přes JS) */
#submitOverlay { display:none; position:fixed; inset:0; z-index:99999; background:rgba(44,44,44,0.55); backdrop-filter:blur(6px); align-items:center; justify-content:center; }
#submitOverlay.visible { display:flex; }
.submit-card { background:#fff; border-radius:20px; padding:2.5rem; max-width:640px; width:92%; text-align:center; box-shadow:0 12px 36px rgba(0,0,0,0.1); max-height:90vh; overflow-y:auto; }
.submit-card h2 { font-size:1.4rem; font-weight:800; color:var(--ded-fe-ink); margin-bottom:0.5rem; }
.submit-card p { font-size:0.95rem; color:var(--ded-fe-muted); margin-bottom:1.25rem; }
.submit-card .spinner { display:inline-block; width:28px; height:28px; border:3px solid var(--ded-fe-border); border-top-color:var(--ded-fe-red); border-radius:50%; animation:ded-spin 0.8s linear infinite; margin-bottom:1rem; }

/* WELCOME (přesunuto do body přes JS) */
#welcomeScreen { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; background:rgba(44,44,44,0.55); backdrop-filter:blur(6px); font-family:'Inter',system-ui,sans-serif; }
#welcomeScreen.hidden { display:none; }
.welcome-card { background:#fff; border-radius:20px; padding:2.5rem; max-width:500px; width:92%; text-align:center; box-shadow:0 12px 36px rgba(0,0,0,0.1); }
.welcome-card h2 { font-size:1.6rem; font-weight:800; color:var(--ded-fe-ink); margin-bottom:0.5rem; line-height:1.2; }
.welcome-card h2 span { color:var(--ded-fe-red); }
.welcome-card > p { font-size:0.95rem; color:var(--ded-fe-muted); margin-bottom:1.5rem; }
.welcome-features { display:grid; grid-template-columns:1fr 1fr; gap:0.55rem; margin-bottom:1.75rem; text-align:left; }
.welcome-feature { display:flex; align-items:center; gap:0.45rem; padding:0.5rem 0.65rem; background:var(--ded-fe-bg); border-radius:10px; font-size:0.85rem; color:var(--ded-fe-ink-soft); font-weight:500; }
.welcome-feature .feat-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.welcome-actions { display:flex; flex-direction:column; gap:0.65rem; }
.welcome-actions .btn-tour { background:var(--ded-fe-ink); color:var(--ded-fe-bg); padding:0.85rem 1.5rem; border:none; border-radius:999px; font-family:inherit; font-size:1rem; font-weight:600; cursor:pointer; transition:all 0.2s; }
.welcome-actions .btn-tour:hover { background:var(--ded-fe-red); }
.welcome-actions .btn-skip-tour { background:none; border:none; color:var(--ded-fe-muted); font-family:inherit; font-size:0.88rem; cursor:pointer; }
.welcome-actions .btn-skip-tour:hover { color:var(--ded-fe-ink); }

/* TOUR (přesunuto do body přes JS) */
#tourOverlay { position: fixed; inset: 0; z-index: 99998; transition: opacity 0.3s; font-family:'Inter',system-ui,sans-serif; }
#tourOverlay.hidden { opacity: 0; pointer-events: none !important; visibility: hidden; }
.tour-backdrop { position: fixed; z-index: 99998; background: rgba(44,44,44,0.72); }
#tourOverlay:not(.hidden) .tour-backdrop { pointer-events: all; }
.tour-bd-top { top:0; left:0; right:0; } .tour-bd-bottom { left:0; right:0; bottom:0; }
.tour-bd-left { left:0; } .tour-bd-right { right:0; }
.tour-highlight-ring { position: fixed; z-index: 99999; border-radius:16px; border: 2.5px solid var(--ded-fe-red); box-shadow: 0 0 0 4px rgba(193,85,61,0.18); pointer-events: none; transition: left 0.3s, top 0.3s, width 0.3s, height 0.3s; }
/* Průhledná oblast pod highlight — propustí klikání na formulář */
.tour-highlight-passthrough { position: fixed; z-index: 99998; background: transparent; pointer-events: none; }
.tour-tooltip { position: fixed; z-index: 99999; background: #fff; border-radius:16px; padding: 1.35rem; max-width: 400px; min-width: 300px; box-shadow:0 12px 36px rgba(0,0,0,0.1); pointer-events: none; }
#tourOverlay:not(.hidden) .tour-tooltip { pointer-events: all; }
.tour-tooltip::before { content:''; position:absolute; width:10px; height:10px; background:#fff; transform:rotate(45deg); }
.tour-tooltip.arrow-top::before { top:-6px; left:var(--arrow-left, 30px); box-shadow: -1px -1px 0 0 var(--ded-fe-border); }
.tour-tooltip.arrow-bottom::before { bottom:-6px; left:var(--arrow-left, 30px); box-shadow: 1px 1px 0 0 var(--ded-fe-border); }
.tour-tooltip .tour-step-indicator { display:flex; align-items:center; gap:0.4rem; margin-bottom:0.5rem; }
.tour-tooltip .tour-step-badge { width:24px; height:24px; background:var(--ded-fe-red); color:#fff; border-radius:50%; font-size:0.72rem; font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
.tour-tooltip .tour-step-count { font-size:0.68rem; color:var(--ded-fe-muted); font-weight:500; text-transform:uppercase; letter-spacing:0.04em; }
.tour-tooltip h3 { font-size:1.05rem; font-weight:700; color:var(--ded-fe-ink); margin-bottom:0.3rem; }
.tour-tooltip p { font-size:0.9rem; color:var(--ded-fe-ink-soft); line-height:1.55; margin-bottom:0.65rem; }
.tour-tooltip .tour-actions { display:flex; justify-content:space-between; align-items:center; }
.tour-tooltip .tour-dots { display:flex; gap:5px; }
.tour-tooltip .tour-dot { width:7px; height:7px; border-radius:50%; background:var(--ded-fe-border); transition:all 0.2s; }
.tour-tooltip .tour-dot.active { background:var(--ded-fe-red); transform:scale(1.4); }
.tour-tooltip .tour-btn { display:inline-flex; align-items:center; gap:0.3rem; padding:0.5rem 1rem; border-radius:6px; font-family:inherit; font-size:0.82rem; font-weight:500; cursor:pointer; border:none; transition:all 0.15s; line-height:1.3; }
.tour-tooltip .tour-btn-next { background:var(--ded-fe-red); color:#fff; }
.tour-tooltip .tour-btn-next:hover { background:var(--ded-fe-red-hover); }
.tour-tooltip .tour-btn-skip { background:none; color:var(--ded-fe-muted); padding:0.5rem 0.6rem; font-weight:400; font-size:0.78rem; }
.tour-tooltip .tour-btn-skip:hover { color:var(--ded-fe-ink); }
.tour-tooltip .tour-btn-back { background:#f5f0ea; color:var(--ded-fe-muted-strong); }
.tour-tooltip .tour-btn-back:hover { background:#ebe5dc; color:var(--ded-fe-ink); }
.tour-detail { margin-top:0.3rem; margin-bottom:0.55rem; }
.tour-detail-toggle { display:inline-flex; align-items:center; gap:0.25rem; background:none; border:none; font-family:inherit; font-size:0.8rem; font-weight:600; color:var(--ded-fe-red); cursor:pointer; padding:0.2rem 0; }
.tour-detail-toggle:hover { color:var(--ded-fe-red-hover); }
.tour-detail-toggle svg { transition:transform 0.3s; }
.tour-detail-toggle.open svg { transform:rotate(90deg); }
.tour-detail-content { display:none; margin-top:0.4rem; padding:0.7rem; background:var(--ded-fe-bg); border-radius:10px; border-left:3px solid var(--ded-fe-red); font-size:0.8rem; color:var(--ded-fe-ink-soft); line-height:1.55; max-height:190px; overflow-y:auto; }
.tour-detail-content.open { display:block; animation: detailIn 0.2s ease; }
@keyframes detailIn { from { opacity:0; } to { opacity:1; } }
.tour-detail-content strong { color:var(--ded-fe-ink); }
.tour-detail-content .detail-ref { display:block; margin-top:0.3rem; font-size:0.7rem; color:var(--ded-fe-muted); font-style:italic; }

/* RESPONSIVE */
@media (max-width: 700px) {
.nkd-form .form-container { padding:0.85rem; }
.nkd-form .step-header h2 { font-size:1.5rem; }
.nkd-form .field-group { padding:1rem; }
.nkd-form .checkbox-grid, .nkd-form .contact-grid { grid-template-columns:1fr; }
.nkd-form .progress-container { padding:0.5rem 0.5rem; }
.nkd-form .progress-step .step-label { font-size:0.42rem; }
.nkd-form .progress-step .step-dot { width: 22px; height: 22px; }
.nkd-form .progress-step .step-dot span { font-size: 0.6rem; }
.nkd-form .progress-step:not(:last-child)::after { top: 11px; left: calc(50% + 11px); right: calc(-50% + 11px); }
.nkd-form .progress-info { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; font-size:0.68rem; margin-top:0.35rem; }
.nkd-form #progressText { text-align:left; } #progressPercent { text-align:right; }
.nkd-form .btn-restart-tour { font-size:0.58rem; padding:0.15rem 0.45rem; justify-self:center; }
.nkd-form .welcome-card { padding:1.5rem 1.15rem; }
.nkd-form .welcome-card h2 { font-size:1.3rem; }
.nkd-form .welcome-features { grid-template-columns:1fr; }
.tour-tooltip { position:fixed !important; left:6px !important; right:6px !important; bottom:8px !important; top:auto !important; max-width:none !important; min-width:0 !important; width:auto !important; border-radius:16px; padding:0.9rem 1rem; max-height:42vh; overflow-y:auto; }
.tour-tooltip::before { display:none !important; }
.tour-tooltip h3 { font-size:0.92rem; }
.tour-tooltip p { font-size:0.82rem; line-height:1.45; }
.tour-detail-content { max-height:120px; }
.nkd-form .step-nav { margin-top:1.5rem; padding-top:1rem; }
.nkd-form .btn { font-size:0.88rem; padding:0.65rem 1.1rem; }
}

/* === Sdílecí režim === */
.nkd-share-banner { display:flex; align-items:center; gap:0.5rem; background:var(--ded-blue-bg); color:var(--ded-blue); padding:0.75rem 1rem; border-radius:8px; font-size:0.88rem; margin-bottom:1rem; line-height:1.4; }
.nkd-share-banner svg { flex-shrink:0; stroke:var(--ded-blue); }
.nkd-share-readonly .welcome-screen,
.nkd-share-readonly .step-nav,
.nkd-share-readonly .submit-overlay,
.nkd-share-readonly .tour-overlay { display:none !important; }
.nkd-share-readonly input,
.nkd-share-readonly textarea,
.nkd-share-readonly select { pointer-events:none; opacity:0.85; background:#f5f0ea !important; }
.nkd-share-readonly .checkbox-grid label,
.nkd-share-readonly .radio-inline label { pointer-events:none; }
.nkd-share-readonly .file-upload-zone { pointer-events:none; opacity:0.5; }
.nkd-share-readonly .btn-submit,
.nkd-share-readonly .btn[onclick*="ares"] { display:none; }
.nkd-share-readonly .step-panel { display:block !important; border-bottom:1px solid var(--ded-fe-border); padding-bottom:2rem; margin-bottom:2rem; }
.nkd-share-readonly .progress-bar { display:none; }
/* Tlačítko sdílení */
.nkd-share-btn { display:inline-flex; align-items:center; gap:0.4rem; padding:0.5rem 1rem; border-radius:6px; font-size:0.84rem; font-weight:500; cursor:pointer; border:1px solid var(--ded-fe-border); background:var(--ded-fe-bg); color:var(--ded-fe-ink); transition:all 0.15s; margin-top:0.75rem; }
.nkd-share-btn:hover { background:var(--beige); }
.nkd-share-btn svg { width:16px; height:16px; }
.nkd-share-copied { color:#0F6E56; font-size:0.82rem; margin-left:0.5rem; opacity:0; transition:opacity 0.3s; }
.nkd-share-copied.visible { opacity:1; }

/* Undo tlačítko u textarey a inputu - wrapper + tlačítko */
.nkd-form .nkd-input-wrap { position: relative; }
.nkd-form .nkd-undo-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--ded-fe-border);
  background: var(--ded-fe-white);
  color: var(--ded-fe-ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  z-index: 2;
}
.nkd-form .nkd-input-wrap:hover .nkd-undo-btn,
.nkd-form .nkd-input-wrap:focus-within .nkd-undo-btn {
  opacity: 1;
}
.nkd-form .nkd-undo-btn:hover {
  background: var(--beige);
  color: var(--ded-fe-red);
  border-color: var(--ded-fe-red);
}
.nkd-form .nkd-undo-btn:active {
  background: var(--ded-fe-red-light);
}
.nkd-form .nkd-undo-btn svg {
  width: 14px;
  height: 14px;
}
/* Textarea potřebuje dostatek místa napravo, aby text nepřekrýval tlačítko */
.nkd-form .nkd-input-wrap > textarea {
  padding-right: 44px;
}

/* =============================================================
   Sjednocený přihlašovací/registrační blok
   ============================================================= */
#field-auth {
  background: var(--ded-fe-bg);
  border-color: var(--ded-fe-border);
}
.auth-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.auth-head-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ded-fe-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-head-title {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ded-fe-ink);
  line-height: 1.3;
}
.auth-head-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft, var(--ded-fe-muted));
  line-height: 1.45;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.auth-form .auth-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.auth-form .auth-row label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ded-fe-ink);
}
.auth-form .auth-row input[type="email"],
.auth-form .auth-row input[type="password"],
.auth-form .auth-row input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--ded-fe-border);
  border-radius: var(--ded-fe-radius);
  font-size: 0.95rem;
  background: var(--ded-fe-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form .auth-row input:focus {
  outline: none;
  border-color: var(--ded-fe-red);
  box-shadow: 0 0 0 3px rgba(195, 78, 53, 0.12);
}
.auth-pw-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.auth-pw-wrap > input {
  flex: 1;
  min-width: 0;
}
.auth-pw-gen {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  background: var(--ded-fe-white);
  color: var(--ink-soft, var(--ded-fe-muted));
  border: 1.5px solid var(--ded-fe-border);
  border-radius: var(--ded-fe-radius);
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.auth-pw-gen:hover {
  background: var(--beige, var(--ded-fe-bg));
  color: var(--ded-fe-red);
  border-color: var(--ded-fe-red);
}
.auth-optional {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ded-fe-muted);
}
.auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.auth-divider {
  font-size: 0.85rem;
  color: var(--ded-fe-muted);
  font-style: italic;
}
.auth-btn-login {
  flex: 0 0 auto;
  min-width: 160px;
  padding: 0.65rem 1.4rem;
  text-align: center;
  justify-content: center;
}
.auth-btn-register {
  flex: 0 0 auto;
  background: var(--ded-fe-white);
  color: var(--ded-fe-red);
  border: 1.5px solid var(--ded-fe-red);
  padding: 0.65rem 1.4rem;
  font-weight: 500;
  text-align: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.auth-btn-register:hover {
  background: var(--ded-fe-red);
  color: var(--ded-fe-white);
}
@media (max-width: 560px) {
  .auth-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .auth-divider {
    text-align: center;
  }
  .auth-btn-login,
  .auth-btn-register {
    width: 100%;
  }
  .auth-pw-wrap {
    flex-direction: column;
  }
  .auth-pw-gen {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================================
   "Pokračovat bez registrace" link a potvrzovací dialog
   ============================================================= */
.auth-skip-wrap {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-start;
}
.auth-skip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  padding: 0.3rem 0;
  margin: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--ded-fe-muted);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(138, 133, 125, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.auth-skip-link:hover,
.auth-skip-link:focus-visible {
  color: var(--ded-fe-ink);
  text-decoration-color: var(--ded-fe-ink);
  outline: none;
}
.auth-skip-link svg {
  opacity: 0.6;
  transition: transform 0.15s;
}
.auth-skip-link:hover svg {
  transform: translateX(2px);
  opacity: 1;
}

/* "Zapomněli jste heslo?" odkaz pod hláškou */
.auth-forgot {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  text-align: right;
}
.auth-forgot a {
  color: var(--ded-fe-muted);
  text-decoration: underline;
  text-decoration-color: rgba(138, 133, 125, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.auth-forgot a:hover,
.auth-forgot a:focus-visible {
  color: var(--ded-fe-ink);
  text-decoration-color: var(--ded-fe-ink);
  outline: none;
}

/* Potvrzovací modal */
#dedictviSkipConfirm {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}
#dedictviSkipConfirm.visible {
  opacity: 1;
  pointer-events: auto;
}
.dedictvi-skip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 25, 22, 0.55);
  backdrop-filter: blur(2px);
}
.dedictvi-skip-dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.25rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
#dedictviSkipConfirm.visible .dedictvi-skip-dialog {
  transform: scale(1);
}
.dedictvi-skip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ded-warn-bg);
  color: var(--ded-warn);
  margin-bottom: 0.75rem;
}
.dedictvi-skip-dialog h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ded-fe-ink);
  line-height: 1.3;
}
.dedictvi-skip-dialog p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft, var(--ded-fe-muted));
}
.dedictvi-skip-dialog p:last-of-type {
  margin-bottom: 1.1rem;
}
.dedictvi-skip-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.dedictvi-skip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
  white-space: nowrap;
}
.dedictvi-skip-back {
  background: #fff;
  color: #2a2520;
  border: 1.5px solid #d8d4cc;
}
.dedictvi-skip-back:hover,
.dedictvi-skip-back:focus-visible {
  background: #f5f0e8;
  border-color: #b8b3aa;
  outline: none;
}
.dedictvi-skip-confirm {
  background: var(--ded-red-alt);
  color: #fff;
  border: 1.5px solid var(--ded-red-alt);
}
.dedictvi-skip-confirm:hover,
.dedictvi-skip-confirm:focus-visible {
  filter: brightness(0.92);
  outline: none;
}
@media (max-width: 480px) {
  .dedictvi-skip-actions {
    flex-direction: column-reverse;
  }
  .dedictvi-skip-btn {
    width: 100%;
  }
}

/* Stav po skipu: malá připomínka místo celého panelu */
.auth-skipped-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--ded-warn-bg);
  border-radius: 10px;
  border-left: 3px solid var(--ded-warn);
  font-size: 0.88rem;
  color: var(--ded-fe-ink-soft);
  line-height: 1.5;
}
.auth-skipped-notice svg {
  margin-top: 0.15rem;
  color: var(--ded-warn);
}
.auth-skipped-notice a {
  color: var(--ded-fe-red);
  text-decoration: underline;
}
.auth-skipped-notice a:hover {
  text-decoration: none;
}

/* =============================================================
   Zástupci nositelů — akordeonový opakovatelný blok
   ============================================================= */
.zastupci-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.zastupce-card {
  background: var(--ded-fe-white);
  border: 1px solid var(--ded-fe-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-size: 14px;
}
.zastupce-card.open {
  border-color: var(--ded-fe-red);
  border-width: 1.5px;
  box-shadow: 0 1px 4px rgba(195, 78, 53, 0.08);
}
.zastupce-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.zastupce-card.open .zastupce-head {
  background: rgba(195, 78, 53, 0.05);
  border-bottom: 1px solid #f0d4cb;
}
.zastupce-head:hover {
  background: var(--ded-fe-bg);
}
.zastupce-card.open .zastupce-head:hover {
  background: rgba(195, 78, 53, 0.08);
}
.zastupce-head-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
}
.zastupce-head-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.zastupce-chevron {
  color: var(--ded-fe-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.zastupce-card.open .zastupce-chevron {
  color: var(--ded-fe-red);
  transform: rotate(0deg);
}
.zastupce-card:not(.open) .zastupce-chevron {
  transform: rotate(-90deg);
}
.zastupce-num {
  font-weight: 500;
  color: var(--ded-fe-ink);
  font-size: 14px;
}
.zastupce-card.open .zastupce-num {
  color: var(--ded-fe-red);
}
.zastupce-preview-name {
  color: var(--ded-fe-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 14px;
}
.zastupce-required-tag {
  font-size: 12px;
  color: var(--ded-fe-muted);
  background: var(--ded-fe-bg);
  padding: 2px 8px;
  border-radius: 999px;
}
.zastupce-remove-btn {
  background: none;
  border: none;
  color: var(--ded-fe-muted);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.zastupce-remove-btn:hover {
  color: var(--ded-fe-red);
  background: rgba(195, 78, 53, 0.08);
}
.zastupce-body {
  padding: 0.95rem 1.1rem 1rem;
}
.zastupce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.9rem;
}
.zastupce-row {
  display: flex;
  flex-direction: column;
}
.zastupce-row-full {
  grid-column: 1 / -1;
}
.zastupce-card .zastupce-row label {
  font-size: 13px !important;
  font-weight: 500;
  color: var(--ded-fe-ink);
  margin: 0 0 4px !important;
  line-height: 1.3 !important;
}
.zastupce-card .zastupce-row input,
.zastupce-card .zastupce-row input[type="text"],
.zastupce-card .zastupce-row input[type="email"],
.zastupce-card .zastupce-row input[type="tel"] {
  width: 100% !important;
  padding: 9px 12px !important;
  border: 1px solid var(--ded-fe-border) !important;
  border-radius: 6px !important;
  background: var(--ded-fe-white) !important;
  font: inherit !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  height: auto !important;
  min-height: 0 !important;
  color: var(--ded-fe-ink) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zastupce-card .zastupce-row input:focus {
  outline: none !important;
  border-color: var(--ded-fe-red) !important;
  box-shadow: 0 0 0 2px rgba(195, 78, 53, 0.12) !important;
}
.btn-zn-ares {
  padding: 7px 12px !important;
  background: var(--ded-fe-bg) !important;
  border: 1px solid var(--ded-fe-border) !important;
  color: var(--ded-fe-ink) !important;
  border-radius: 6px !important;
  font: inherit !important;
  font-size: 13px !important;
  height: auto !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-zn-ares:hover {
  background: var(--ded-fe-white) !important;
  border-color: var(--ded-fe-red) !important;
  color: var(--ded-fe-red) !important;
}
.zn-ares-result {
  font-size: 11px;
  margin-top: 4px;
  display: inline-block;
}
.zastupci-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.6rem;
  padding: 8px 14px;
  background: var(--ded-fe-white);
  border: 1.5px dashed var(--ded-fe-red);
  color: var(--ded-fe-red);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-style 0.15s;
}
.zastupci-add-btn:hover,
.zastupci-add-btn:focus-visible {
  background: var(--ded-fe-red);
  color: var(--ded-fe-white);
  border-style: solid;
  outline: none;
}
@media (max-width: 600px) {
  .zastupce-grid {
    grid-template-columns: 1fr;
  }
}

/* Úvod k souhlasu nositelů + ukázkové video (krok Nositelé) */
.nkd-souhlas-uvod {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg, var(--ded-fe-bg));
  border: 1px solid var(--border, var(--ded-fe-border));
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
}
.nkd-souhlas-uvod-text {
  flex: 1 1 56%;
  min-width: 0;
}
.nkd-souhlas-uvod-text h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: var(--red, var(--ded-fe-red));
}
.nkd-souhlas-uvod-text p {
  margin: 0 0 0.7rem;
  line-height: 1.6;
  font-size: 0.95rem;
}
.nkd-souhlas-uvod-pozn {
  font-size: 0.88rem;
  color: var(--ink-soft, var(--ded-fe-ink-soft));
  border-top: 1px dashed var(--border, var(--ded-fe-border));
  padding-top: 0.7rem;
}
.nkd-souhlas-uvod-video {
  flex: 1 1 44%;
  min-width: 0;
}
.nkd-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.nkd-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.nkd-video-popis {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft, var(--ded-fe-muted));
  text-align: center;
}
@media (max-width: 700px) {
  .nkd-souhlas-uvod {
    flex-direction: column;
    gap: 1.1rem;
  }
}

/* Selecty sjednocené se vzhledem inputů (Typ aktéra apod.) */
.nkd-form select {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--ded-fe-border);
    border-radius: var(--ded-fe-radius);
    background: var(--ded-fe-bg);
    color: var(--ded-fe-ink);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nkd-form select:focus {
    outline: none;
    border-color: var(--ded-fe-red);
    background: var(--ded-fe-white);
    box-shadow: var(--ded-focus);
}
.zastupce-card .zastupce-row select {
    width: 100% !important;
    padding: 9px 12px !important;
    border: 1px solid var(--ded-fe-border) !important;
    border-radius: 6px !important;
    background: var(--ded-fe-white) !important;
    font: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: auto !important;
    color: var(--ded-fe-ink) !important;
    box-sizing: border-box !important;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.zastupce-card .zastupce-row select:focus {
    outline: none !important;
    border-color: var(--ded-fe-red) !important;
    box-shadow: 0 0 0 2px rgba(195, 78, 53, 0.12) !important;
}
