/* NEXE DISK – bublina asistentky (z NEXE RD, zelené barvy DISK) */
/* NEXE RD – asistentka Nexa a průvodce (prefix nxa-, nezasahuje do stránek) */
@font-face { font-family: 'Exo 2'; font-style: italic; font-weight: 900; font-display: swap; src: url(/static/fonts/exo-2-latin-ext-900-italic.woff2) format('woff2'); }
.nxa-panel .nxw, .nxa-tip .nxw, .nxa-nudge .nxw { font-family: 'Exo 2', Inter, sans-serif; font-style: italic; font-weight: 900; color: #0f172a; white-space: nowrap; padding-right: .06em; }
.nxa-panel .nxw b, .nxa-tip .nxw b, .nxa-nudge .nxw b { font-weight: inherit; color: #10b981; }
.nxa-msg.me .nxw, .nxa-msg.me .nxw b { color: inherit; }
.nxa-btn, .nxa-panel, .nxa-tip, .nxa-nudge { --a-ink: #0b1220; --a-ink2: #33405a; --a-mut: #5b6884; --a-line: #e3e8f0; --a-bg: #f5f7fb; --a-blue: #10b981; --a-grad: linear-gradient(120deg, #10b981, #34d399);
  font: 15px/1.5 Inter, 'Segoe UI', system-ui, sans-serif; color: var(--a-ink); box-sizing: border-box; letter-spacing: 0; text-align: left; }
.nxa-panel *, .nxa-tip *, .nxa-nudge * { box-sizing: border-box; font-family: inherit; }
.nxa-i { display: inline-flex; flex: none; }
.nxa-hide .nxa-btn, .nxa-hide .nxa-panel, .nxa-hide .nxa-nudge { display: none !important; }

/* tlačítko */
.nxa-btn { position: fixed; right: 20px; bottom: 20px; z-index: 2147482000; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 28px;
  background: var(--a-grad); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 10px 30px rgba(16,185,129, .38), 0 2px 6px rgba(11, 18, 32, .16); transition: transform .15s, box-shadow .15s; }
.nxa-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16,185,129, .45); }
.nxa-btn:focus-visible { outline: 3px solid #6ee7b7; outline-offset: 3px; }
.nxa-btn.open { width: 56px; padding: 0; justify-content: center; }
.nxa-btn.open .nxa-lbl { display: none; }
.nxa-konzole .nxa-btn, .nxa-sprava .nxa-btn { height: 48px; padding: 0 16px 0 13px; }
.nxa-konzole .nxa-btn.open { width: 48px; }
@media (max-width: 860px) { .nxa-konzole .nxa-btn { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; } .nxa-konzole .nxa-panel { bottom: calc(142px + env(safe-area-inset-bottom)); } }
@media (max-width: 600px) { .nxa-btn { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); } .nxa-btn .nxa-lbl { display: none; } .nxa-btn { width: 56px; padding: 0; justify-content: center; } .nxa-konzole .nxa-btn { width: 48px; } }

/* panel */
.nxa-panel { position: fixed; right: 20px; bottom: 88px; z-index: 2147482001; width: 390px; height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--a-line); border-radius: 20px; box-shadow: 0 24px 70px rgba(11, 18, 32, .22); overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s .18s; }
.nxa-panel.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .18s, transform .18s; }
.nxa-konzole .nxa-panel { bottom: 80px; }
@media (max-width: 600px) { .nxa-panel, .nxa-konzole .nxa-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); } .nxa-panel.open ~ .nxa-btn, .nxa-btn.open { display: none; } }
.nxa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--a-grad); color: #fff; }
.nxa-head b { display: block; font-size: 16px; } .nxa-head small { display: block; font-size: 12.5px; opacity: .88; }
.nxa-head > div { flex: 1; min-width: 0; }
.nxa-head .nxa-x { color: #fff; }
.nxa-x { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--a-mut); cursor: pointer; flex: none; }
.nxa-x:hover { background: rgba(127, 140, 170, .16); }
.nxa-av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #047857; font: 700 18px 'Space Grotesk', Inter, sans-serif; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.nxa-av.sm { width: 28px; height: 28px; font-size: 13px; background: var(--a-grad); color: #fff; margin-top: 2px; }

.nxa-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: var(--a-bg); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.nxa-msg { display: flex; gap: 8px; align-items: flex-start; max-width: 100%; }
.nxa-msg .b { background: #fff; border: 1px solid var(--a-line); border-radius: 4px 16px 16px 16px; padding: 10px 13px; max-width: calc(100% - 36px); color: var(--a-ink); overflow-wrap: anywhere; }
.nxa-msg.me { justify-content: flex-end; }
.nxa-msg.me .b { background: #10b981; border-color: #10b981; color: #fff; border-radius: 16px 4px 16px 16px; }
.nxa-rich p { margin: 0 0 8px; } .nxa-rich p:last-child { margin-bottom: 0; }
.nxa-rich ul, .nxa-rich ol { margin: 4px 0 8px; padding-left: 20px; } .nxa-rich li { margin: 2px 0; }
.nxa-title { display: block; margin-bottom: 4px; font-size: 15px; }
.nxa-arts { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--a-line); }
.nxa-arts a { display: inline-flex; align-items: center; gap: 6px; color: #059669; text-decoration: none; font-size: 14px; }
.nxa-arts a.main { font-weight: 600; } .nxa-arts a:hover { text-decoration: underline; }
.nxa-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.nxa-fb button, .nxa-chips button { border: 1px solid #bbf7d0; background: #fff; color: #059669; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.nxa-fb button:hover, .nxa-chips button:hover { background: #ecfdf5; border-color: #6ee7b7; }
.nxa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 36px; }
.nxa-muted { color: var(--a-mut); font-size: 13.5px; }
.nxa-typing { display: flex; gap: 4px; padding: 14px 16px !important; }
.nxa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6bf; animation: nxa-dot 1s infinite; }
.nxa-typing i:nth-child(2) { animation-delay: .15s; } .nxa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nxa-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.nxa-card { display: block; width: 100%; background: #fff; border: 1px solid var(--a-line); border-radius: 14px; padding: 13px 14px; color: var(--a-ink); text-align: left; }
.nxa-tourbtn { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.nxa-tourbtn .nxa-i { width: 38px; height: 38px; border-radius: 11px; background: #ecfdf5; color: #10b981; align-items: center; justify-content: center; }
.nxa-tourbtn b, .nxa-tourbtn small { display: block; } .nxa-tourbtn small { color: var(--a-mut); font-size: 13px; }
.nxa-tourbtn:hover { border-color: #6ee7b7; }
.nxa-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nxa-bar { height: 6px; border-radius: 3px; background: #e6f4ee; margin: 8px 0 6px; overflow: hidden; } .nxa-bar i { display: block; height: 100%; background: var(--a-grad); border-radius: 3px; transition: width .3s; }
.nxa-check { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 4px; border: 0; background: none; font-size: 14.5px; color: var(--a-ink); cursor: pointer; border-radius: 8px; text-align: left; }
.nxa-check:hover { background: #f2f5fb; }
.nxa-check .c { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border: 2px solid #c3cde0; border-radius: 50%; color: #fff; }
.nxa-check.ok { color: var(--a-mut); } .nxa-check.ok span:last-child { text-decoration: line-through; }
.nxa-check.ok .c { background: #16a36b; border-color: #16a36b; }
.nxa-link { display: inline-block; margin-top: 6px; border: 0; background: none; padding: 0; color: #059669; font-size: 13.5px; cursor: pointer; text-decoration: none; }
.nxa-article .nxa-rich { margin-top: 6px; font-size: 14.5px; }
.nxa-form label { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--a-ink2); }
.nxa-form input, .nxa-form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #cfd8e8; border-radius: 10px; font-size: 16px; color: var(--a-ink); background: #fff; resize: vertical; }
.nxa-form input:focus, .nxa-form textarea:focus, .nxa-foot textarea:focus { outline: 2px solid #6ee7b7; border-color: #34d399; }
.nxa-form .nxa-row { margin-top: 12px; justify-content: flex-end; }
.nxa-err { margin: 8px 0 0; color: #c0263b; font-size: 13.5px; } .nxa-err:empty { display: none; }

.nxa-foot { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--a-line); background: #fff; }
.nxa-foot textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 11px 12px; border: 1px solid #cfd8e8; border-radius: 12px; font-size: 16px; line-height: 1.35; resize: none; color: var(--a-ink); background: #fff; }
.nxa-send { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--a-grad); color: #fff; cursor: pointer; }
.nxa-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 0 14px 10px; background: #fff; font-size: 13px; }
.nxa-links a, .nxa-links button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; background: none; color: var(--a-mut); font-size: 13px; text-decoration: none; cursor: pointer; }
.nxa-links a:hover, .nxa-links button:hover { color: #059669; }
.nxa-ai { margin-left: auto; color: #8a95ad; font-size: 12px; }

.nxa-b { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.nxa-b.primary { background: var(--a-grad); color: #fff; } .nxa-b.primary:disabled { opacity: .5; }
.nxa-b.ghost { background: #fff; color: var(--a-ink); border-color: #cfd8e8; }
.nxa-b.sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; }

/* připomínka u bubliny */
.nxa-nudge { position: fixed; right: 20px; bottom: 88px; z-index: 2147482000; width: 270px; padding: 14px 14px 12px; background: #fff; border: 1px solid var(--a-line); border-radius: 16px; box-shadow: 0 16px 44px rgba(11, 18, 32, .2); animation: nxa-in .3s ease-out; }
.nxa-nudge p { margin: 0 26px 10px 0; font-weight: 600; }
.nxa-nudge .nxa-x { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; }
.nxa-nudge .nxa-row { justify-content: flex-start; }
.nxa-konzole .nxa-nudge { bottom: 80px; }
@media (max-width: 860px) { .nxa-konzole .nxa-nudge { bottom: calc(142px + env(safe-area-inset-bottom)); } }
@media (max-width: 600px) { .nxa-nudge { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); } }
@keyframes nxa-in { from { opacity: 0; transform: translateY(8px); } }

/* průvodce */
.nxa-block { position: fixed; inset: 0; z-index: 2147482500; background: transparent; }
.nxa-block.dim { background: rgba(11, 18, 32, .55); }
.nxa-spot { position: fixed; z-index: 2147482501; border-radius: 12px; pointer-events: none; box-shadow: 0 0 0 4px rgba(52,211,153, .55), 0 0 0 9999px rgba(11, 18, 32, .55); transition: left .3s, top .3s, width .3s, height .3s; }
.nxa-tip { position: fixed; z-index: 2147482502; width: 340px; max-width: calc(100vw - 20px); padding: 14px 16px 16px; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(11, 18, 32, .35); animation: nxa-in .25s ease-out; }
.nxa-tip h3 { margin: 4px 0 6px; font: 700 19px 'Space Grotesk', Inter, sans-serif; color: var(--a-ink); letter-spacing: -.01em; }
.nxa-tip p { margin: 0 0 12px; color: var(--a-ink2); }
.nxa-tip-h { display: flex; align-items: center; justify-content: space-between; margin: -4px -8px 0 0; }
.nxa-step { font: 12.5px 'JetBrains Mono', ui-monospace, monospace; color: #059669; }
.nxa-dots { display: flex; gap: 5px; margin-bottom: 12px; } .nxa-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d5dcea; transition: width .2s; } .nxa-dots i.on { width: 18px; background: var(--a-blue); }
.nxa-tip.sheet { left: 10px !important; right: 10px; top: auto !important; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; max-width: none; transform: none !important; }
.nxa-tip.sheet.top { bottom: auto; top: calc(10px + env(safe-area-inset-top)) !important; }

@media (prefers-reduced-motion: reduce) { .nxa-panel, .nxa-spot, .nxa-btn, .nxa-tip, .nxa-nudge { transition: none; animation: none; } }

/* centrum nápovědy (/portal/napoveda) */
.hc-search { display: flex; gap: 10px; margin: 20px 0 12px; }
.hc-search input { flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid var(--line2, #d3dbe8); border-radius: 14px; font-size: 17px; background: #fff; }
.hc-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.hc-cat h2 { margin: 18px 0 10px; font-size: 20px; }
.hc-item { display: block; padding: 13px 16px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line, #e3e8f0); border-radius: 12px; color: var(--ink, #0b1220); }
.hc-item:hover { border-color: #6ee7b7; box-shadow: 0 6px 20px rgba(16,185,129, .08); color: var(--ink, #0b1220); }
.hc-item > b { display: block; } .hc-item > span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted, #4a5875); }
.hc-body { font-size: 17px; } .hc-body p { margin: 0 0 14px; } .hc-body ol, .hc-body ul { margin: 0 0 14px; padding-left: 24px; } .hc-body li { margin: 6px 0; }
.hc-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 22px; }
@media (max-width: 600px) { .hc-search { flex-direction: column; } }

/* rozhovor s člověkem z podpory */
.nxa-msg.adm .nxa-av { background: linear-gradient(135deg, #ffb02e, #f06414); color: #fff; }
.nxa-msg.adm .b { background: #fff7ec; border: 1px solid #ffe2c2; }
.nxa-who { display: block; font-size: 12px; color: #b4541a; margin-bottom: 2px; }
.nxa-sys { text-align: center; font-size: 12px; color: #7b879c; margin: 8px 0; }
.nxa-panel.nxa-human .nxa-head .nxa-av { background: linear-gradient(135deg, #ffb02e, #f06414); }
.nxa-btn.nxa-new::after { content: ''; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #f0443a; border: 2px solid #fff; }
/* v disku na mobilu je vpravo dole tlačítko Nahrát – bublina jde doleva */
@media (max-width: 640px) { .nxa-disk .nxa-btn { right: auto; left: 14px; width: 48px; height: 48px; } }
/* administrace: přechod na stránku a další témata jako tlačítka */
.nxa-arts button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; color: #059669; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.nxa-arts button:hover { text-decoration: underline; }
.nxa-arts button.main { align-self: flex-start; padding: 8px 14px; border-radius: 10px; background: #10b981; color: #fff; font-weight: 600; }
.nxa-arts button.main:hover { background: #059669; text-decoration: none; }
.nxa-arts + .nxa-arts { margin-top: 6px; }
.nxa-article .nxa-chips { margin-left: 0; padding-left: 0; justify-content: flex-start; }
