/* Stránka Logyloop: jen to, co kit nemá (vnitřky vizuálů, logo, 3D plátna). */
.ly-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ly-pause { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; pointer-events: auto; }

/* logo */
.ll-logo { display: block; line-height: 0; }
.ll-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.ll-logo--nav { width: 136px; }
.nav__logo img[data-logo="nav"] { width: 136px; height: auto; display: block; }
.ll-letter { fill: currentColor; stroke: currentColor; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ll-logo { color: var(--ink); }
.ground-inverse .ll-logo, .footer--dark .ll-logo { color: var(--p-inv-ink); }
.ll-dot { fill: #E07A3A; opacity: 0; offset-rotate: 0deg; }
html:not(.no-anim) .ll-logo:not(.is-drawn) .ll-letter { fill-opacity: 0; stroke-dashoffset: 1; }
.ll-logo.is-drawn .ll-letter { animation: ll-draw .9s calc(var(--i) * 70ms) cubic-bezier(.3,.7,.2,1) both, ll-fill .45s calc(var(--i) * 70ms + .55s) both; }
@keyframes ll-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ll-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
.close__word--logo { display: block; color: inherit; white-space: normal; overflow: visible; font-size: 0; line-height: 0; letter-spacing: 0; }
.close__word--logo img { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: reduce) { .ll-letter { animation: none !important; fill-opacity: 1 !important; stroke-dashoffset: 0 !important; } }

/* hero */
.hero__stage.ly-stage { position: relative; }
.hero__stage.ly-stage .ly-canvas { cursor: default; }
.ly-tip { position: absolute; z-index: 4; width: 260px; transform: translate(-50%, calc(-100% - 18px)); padding: 12px 14px; border-radius: 12px; background: var(--p-ink, #1b2a44); color: #f5f0e8; font-size: 15px; line-height: 1.4; box-shadow: 0 12px 30px rgba(27, 42, 68, .22); pointer-events: none; }
.ly-tip.is-below { transform: translate(-50%, 22px); }
.ly-tip b { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 600; }
.hero__stage.ly-stage.is-live > img { opacity: 0; }

/* chaos → systém */
#dnes { overflow: visible; }
.ly-track { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ly-sticky { position: sticky; top: 0; height: 100svh; }
.ly-sticky .ly-pause { pointer-events: auto; }
#dnes > .wrap { position: relative; z-index: 1; }
#dnes .mo-wh__text { font: var(--display-weight) clamp(30px, 3.2vw, 48px)/1.16 var(--font-display); letter-spacing: var(--display-tracking); max-width: 16.5em; margin: 0; }
#dnes .dnes__answer { font: var(--display-weight) clamp(30px, 3.2vw, 48px)/1.16 var(--font-display); letter-spacing: var(--display-tracking); margin: 0 0 var(--s-5); max-width: 13em; }
#dnes .dnes__col { max-width: 520px; }
@media (max-width: 1023px) { .ly-track { display: none; } }

/* okno ERP */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
.job { padding: 24px 28px; font-size: 14px; color: var(--u-ink, var(--ink)); }
.job__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.job__head b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.job__chip { background: var(--action); color: var(--p-action-ink); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.job__sub { color: var(--u-muted, var(--muted)); margin: 4px 0 20px; }
.job__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.job__box { border: 1px solid var(--u-line); border-radius: 10px; padding: 14px 16px; }
.job__box h4 { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--u-muted, var(--muted)); }
.job__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.job__row i { font-style: normal; font-variant-numeric: tabular-nums; }
.job__ok { color: var(--action); font-weight: 500; }
.job__warn { color: #A0470F; font-weight: 500; }
.job__bar { height: 8px; border-radius: 8px; background: var(--u-line); overflow: hidden; margin-top: 10px; }
.job__bar span { display: block; height: 100%; width: 68%; background: var(--action); }
.job__btn { margin-top: 14px; display: inline-block; background: var(--u-ink, var(--ink)); color: var(--u-bg); padding: 8px 16px; border-radius: 8px; font-weight: 500; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; } .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; } .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) { .app.ui { grid-template-rows: minmax(0, 1fr); } .app > .app__pane--list { display: none; } .app > .app__pane + .app__pane { border-top: 0; } .job__grid { grid-template-columns: 1fr; } }

/* obory */
.obory-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s-5); }
.obory-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.obory-list a { display: block; padding: 14px 0; font-size: 20px; color: var(--ink); text-decoration: none; }
#obory .panel { --p-h: 520px; }
@media (max-width: 1023px) { #obory .panel { --p-h: 360px; } }

/* moduly */
.mod-frame { position: relative; height: 100%; min-height: 420px; }
.mod-frame.is-live > img { opacity: 0; }
.mod-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mod-rows { list-style: none; margin: 0; padding: 0; }
.mod-row { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; cursor: pointer; position: relative; }
.mod-row b { display: block; font-size: 20px; font-weight: 500; }
.mod-row span { display: block; color: var(--muted); font-size: 16px; line-height: 1.45; }
.mod-row::before { content: ""; position: absolute; left: -12px; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: #E07A3A; opacity: 0; transition: opacity .15s; }
.mod-row.is-active::before { opacity: 1; }
#moduly .grid { align-items: stretch; flex: 1; min-height: 0; }

/* postup: Logy v kartách */
.logy-pose { height: 100%; display: grid; place-items: end center; padding-top: 12px; }
.logy-pose svg { height: 100%; width: auto; max-width: 100%; overflow: visible; }
#postup .panel { --p-h: 330px; background: var(--surface); }
@media (max-width: 1023px) { #postup .panel { --p-h: 240px; } }

/* ceny */
#ceny .price { font: var(--display-weight) clamp(32px, 3.4vw, 48px)/1.08 var(--font-display); letter-spacing: -.03em; margin: var(--s-4) 0 var(--s-5); }
#ceny .card--plan { min-height: 300px; }
.price-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-7); }
.price-note p { margin: 0; font-size: 20px; line-height: 1.35; border-top: 1px solid var(--line); padding-top: var(--s-3); }
@media (max-width: 767px) { .price-note { grid-template-columns: 1fr; } }

/* formulář + Logy */
.logy-talk-wrap { position: relative; height: min(528px, 58svh); min-height: 0; background: var(--surface); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; align-items: center; }
.logy-bubble { align-self: stretch; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: 18px; padding: 12px 18px; font-size: 20px; font-weight: 500; text-align: center; min-height: 2.5em; display: grid; place-items: center; margin: 0 0 var(--s-3); }
.logy-talk { flex: 1; min-height: 0; width: 100%; cursor: default; }
.logy-talk svg { display: block; height: 100%; width: 100%; overflow: visible; }
.form textarea { width: 100%; min-height: 96px; font: inherit; }

.form .field:has(textarea) { grid-column: 1 / -1; }
.form textarea { max-width: 100%; }

/* postup scrollu v navigaci */
.nav { position: fixed; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav-progress span { display: block; height: 100%; background: var(--action); transform: scaleX(0); transform-origin: left; }

/* sticky sekce: scroll vede obsah, výška sekce zůstává 2 obrazovky */
@media (min-width: 1024px) {
  main > .pinned { --h: 2; padding: 0; overflow: visible; }
  main > .pinned > .wrap { position: sticky; top: 0; height: 100svh; padding-block: var(--padt) var(--padb); display: flex; flex-direction: column; }
  #moduly .grid { min-height: 0; }
  #postup { overflow-x: clip; }
  .step-view { overflow: visible; }
  .step-track { display: flex; flex-wrap: nowrap; gap: var(--s-5); width: max-content; will-change: transform; }
  .step-track > .card { width: 500px; flex: none; }
  .step-track > .card .panel { transition: opacity .3s; }
  .step-track > .card:not(.is-active) .panel { opacity: .45; }
  #postup .panel { --p-h: clamp(260px, calc(100svh - 470px), 430px); height: var(--p-h); aspect-ratio: auto; }
  .step-bar { height: 3px; background: var(--line); border-radius: 3px; margin: 0 0 var(--s-5); overflow: hidden; }
  .step-bar span { display: block; height: 100%; background: var(--action); transform: scaleX(0); transform-origin: left; }
}
@media (max-width: 1023px) { .step-bar { display: none; } }

/* tablet a telefon */
@media (min-width: 640px) and (max-width: 1023px) {
  #moduly, #ceny { --h: 2; }
  #postup { --h: 2; }
  #postup .step-track, #postup .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #postup .step-track > .card { grid-column: auto; }
  .mod-frame { min-height: 340px; }
}
@media (max-width: 639px) {
  .hero__stage.ly-stage { height: 280px; min-height: 0; flex: none; }
  .hero__stage.ly-stage > img { object-fit: cover; }
  #moduly, #ceny, #poptavka, #postup, #obory { --hm: 2; }
  #postup .step-track, #postup .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #postup .step-track > .card { grid-column: auto; }
  #postup .panel { --p-h: 300px; }
  .job__box:nth-child(n+3) { display: none; }
  .mod-frame { min-height: 240px; }
  .logy-talk-wrap { height: 52svh; }
  .obory-list { columns: 1; }
}

/* podstránky */
.page-hero .hero-copy { align-self: center; }
.page-logy { height: min(620px, 66svh); }
.page-logy svg { width: 100%; height: 100%; overflow: visible; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.feat-card { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); }
.feat-card h3 { margin: 0 0 var(--s-2); font-size: var(--t-card); font-weight: 500; }
.feat-card p { margin: 0; }
.mod-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-5); }
.mod-list li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.mod-list b { display: block; font-size: var(--t-card); font-weight: 500; margin-bottom: 4px; }
.mod-list span { color: var(--muted); }
.page-note { margin-top: var(--s-6); font-size: 20px; max-width: 46em; }
@media (max-width: 767px) { .feat-grid, .mod-list { grid-template-columns: 1fr; } .page-logy { height: 320px; } }

/* konfigurátor ceny */
.cfg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-7); align-items: start; }
.cfg-group { border: 0; margin: 0 0 var(--s-6); padding: 0; min-width: 0; }
.cfg > * { min-width: 0; }
.cfg-group legend { font-size: var(--t-card); font-weight: 500; padding: 0; margin-bottom: var(--s-3); }
.cfg-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cfg-item { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md, 12px); background: rgba(255, 255, 255, .5); cursor: pointer; align-items: start; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.cfg-item:active { transform: scale(.985); }
.cfg-item:has(input:checked) { border-color: var(--action); background: #fff; box-shadow: inset 0 0 0 1px var(--action); }
.cfg-item--base { cursor: default; grid-column: 1 / -1; }
.cfg-item input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--action); }
.cfg-item b { font-weight: 500; display: block; }
.cfg-item small { color: var(--muted); font-size: 15px; line-height: 1.4; display: block; }
.cfg-item i { grid-column: 2; font-style: normal; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--action); }
@media (hover: hover) { .cfg-item:not(.cfg-item--base):hover { border-color: var(--action); } }
.cfg-pre { margin: 0 0 var(--s-6); } .cfg-pre p { margin: 0 0 10px; color: var(--muted); }
.cfg-pre__row { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-pre__b { font: inherit; font-size: 16px; font-weight: 500; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.cfg-pre__b:active { transform: scale(.97); }
.cfg-pre__b[aria-pressed="true"] { background: var(--ink); color: var(--bg, #f5f0e8); }
.cfg-pre__b--x { border-color: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .cfg-pre__b:not(.cfg-pre__b--x):hover { background: var(--ink); color: var(--bg, #f5f0e8); } }
.cfg-pre__b:focus-visible, .tco-run:focus-within, .tco-pick button:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.tco-bar { display: flex; gap: 3px; height: 10px; margin: 0 0 var(--s-3); } .tco-bar i { flex: 1 1 0; min-width: 6px; border-radius: 99px; background: #e07a3a; transition: flex-grow 380ms cubic-bezier(.23, 1, .32, 1); } .tco-bar i + i { background: #4fb3ad; }
.tco-rows { margin: 0 0 var(--s-4); } .tco-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; } .tco-rows dt { color: var(--p-inv-muted); display: inline-flex; align-items: center; gap: 8px; } .tco-rows dd { margin: 0; color: var(--p-inv-ink); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tco-dot { width: 10px; height: 10px; border-radius: 50%; background: #e07a3a; } .tco-dot--run { background: #4fb3ad; }
.tco-runs { border: 0; margin: var(--s-4) 0; padding: 0; display: grid; gap: 6px; } .tco-runs legend { padding: 0; margin-bottom: 6px; color: var(--p-inv-ink); }
.tco-run { display: block; cursor: pointer; } .tco-run input { position: absolute; opacity: 0; pointer-events: none; }
.tco-run span { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; transition: border-color 160ms ease, background-color 160ms ease; }
.tco-run b { color: var(--p-inv-ink); font-weight: 500; } .tco-run em { font-style: normal; color: var(--p-inv-ink); font-variant-numeric: tabular-nums; white-space: nowrap; } .tco-run small { grid-column: 1 / -1; color: var(--p-inv-muted); font-size: 14px; }
.tco-run input:checked + span { border-color: #4fb3ad; background: rgba(79, 179, 173, .16); }
.cfg-sum .tco-pay { margin: 0 0 var(--s-4); padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--p-inv-ink); } .tco-pay b { white-space: nowrap; }
.cfg-sum .tco-pick-h { margin: 0 0 6px; } .tco-pick { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-height: 132px; overflow-y: auto; }
.tco-pick li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); color: var(--p-inv-ink); font-size: 14px; }
.tco-pick li:first-child { padding-right: 10px; }
.tco-pick button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .tco-pick button:hover { background: rgba(255, 255, 255, .2); } }
.cfg-sum .tco-small { margin-top: var(--s-3); font-size: 14px; }
@media (max-width: 599px) { .cfg-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .cfg-item, .cfg-pre__b, .tco-bar i { transition: none; } }
.cfg-sum { position: sticky; top: calc(var(--nav) + 24px); background: var(--p-inv-bg); color: var(--p-inv-ink); border-radius: var(--r-lg); padding: var(--s-6); }
.cfg-sum h2 { font-size: var(--t-card); margin: 0 0 var(--s-2); color: inherit; }
.cfg-sum p { margin: 0 0 var(--s-1); color: var(--p-inv-muted); }
.cfg-total { font: var(--display-weight) clamp(40px, 4.4vw, 60px)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--p-inv-ink) !important; font-variant-numeric: tabular-nums; margin: 0 0 var(--s-4) !important; }
.cfg-sum .btn { margin-top: var(--s-4); width: 100%; }
#cfg-section { height: auto; min-height: 100svh; }
@media (max-width: 899px) { .cfg { grid-template-columns: minmax(0, 1fr); } .cfg-sum { position: static; } }

/* web-design-guidelines + mobil */
html { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.nav__logo, .ly-pause, .mod-row, .cfg-item { -webkit-tap-highlight-color: rgba(11, 127, 125, .18); }
.mod-row:focus-visible, .cfg-item:focus-within { outline: 2px solid var(--action); outline-offset: 3px; }
.ground-inverse .mod-row:focus-visible { outline-color: var(--p-inv-ink); }
.cfg-total, #ceny .price { font-variant-numeric: tabular-nums; }
.cfg-od { display: block; font: 500 15px/1.4 var(--font-text); letter-spacing: 0; color: var(--p-inv-muted); margin-bottom: 4px; }
.cfg-total [data-tco-total] { white-space: nowrap; }

/* mobile-native: ovládací prvky bez výběru textu při dlouhém podržení, vstupy 16 px proti zoomu na iOS */
.mod-row, .ly-pause, .btn, .cfg-item i { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.form input, .form textarea { font-size: 16px; }

/* B2B: ukázky produktu místo maskota, důkazy, firemní údaje */
.pm { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; width: min(100% - 40px, 380px); margin: auto; font-size: 15px; box-shadow: 0 18px 40px -24px rgba(27, 42, 68, .45); }
.panel > .pm { align-self: center; }
.pm__t { display: block; font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.pm__row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pm__row i { font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pm__row i.o { color: var(--action); font-weight: 500; }
.pm__row i.w { color: #A0470F; font-weight: 500; }
.pm__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 12px; }
.pm__foot span { color: var(--muted); }
.pm__foot b { font-size: 20px; font-weight: 500; }
.pm--link { display: block; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .16s ease-out; }
.pm--link:hover { border-color: var(--accent); }
.pm--link:active { transform: scale(.99); }
.pm--link .pm__foot b i { font-style: normal; display: inline-block; transition: transform .2s ease-out; }
.pm--link:hover .pm__foot b i { transform: translateX(3px); }
.pm--link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pm--lg { width: min(100%, 500px); font-size: 17px; padding: 28px 32px; }
.pm--lg .pm__t { font-size: 24px; margin-bottom: 14px; }
.pm--lg .pm__row { padding: 13px 0; }
.page-visual { display: grid; place-items: center; }
#postup .panel { display: grid; place-items: center; }

main > section.auto { height: auto; min-height: 0; }
main > section.page-hero { height: auto; min-height: 0; padding-bottom: var(--s-9); }
.page-hero .hero-text { align-items: center; }
.mod-list li:has(> span:empty) { padding: var(--s-3) 0; }
.mod-list li:has(> span:empty) b { margin: 0; }

#dnes .dnes__lead { font-size: 20px; line-height: 1.4; margin: var(--s-5) 0 var(--s-4); max-width: 26em; }
.dnes__pts { list-style: none; margin: 0; padding: 0; max-width: 30em; }
.dnes__pts li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.dnes__pts b { display: block; color: var(--ink); font-weight: 500; }

.proof { display: flex; gap: var(--s-7); margin: 0; }
.proof dd { margin: 0; font: var(--display-weight) clamp(48px, 5.6vw, 80px)/1 var(--font-display); letter-spacing: -.04em; }
.proof dt { margin-top: var(--s-2); color: var(--muted); }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 20px; }
.trust-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 7px; border-left: 2px solid var(--action); border-bottom: 2px solid var(--action); transform: rotate(-45deg); }
.consent { display: flex; gap: 10px; align-items: flex-start; grid-column: 1 / -1; font-size: 15px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--action); flex: none; }
.footer__co { font-style: normal; margin-top: var(--s-3); color: var(--p-inv-muted); line-height: 1.55; font-size: 15px; }
.footer__co a { color: inherit; }
@media (max-width: 639px) { #proc { --hm: 2; } .proof { gap: var(--s-6); } }

.consent a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 639px) { main > #proc, main > #poptavka { height: auto; min-height: 0; } }

/* vlastní písmo (bez Google Fonts kvůli GDPR) */
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ceny */
#ceny .card--plan { display: flex; flex-direction: column; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: var(--s-4) 0 0; }
.chips li { font-size: 14px; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); }
#ceny .price-featured { background: var(--p-inv-bg); color: var(--p-inv-ink); border-color: transparent; }
#ceny .price-featured h3, #ceny .price-featured p { color: inherit; }
#ceny .price-featured .chips li { border-color: rgba(245, 240, 232, .32); }

/* kontakt */
.contact-card { background: var(--p-inv-bg); color: var(--p-inv-ink); border-radius: var(--r-lg); padding: var(--s-6); }
.contact-card h3 { margin: 0 0 var(--s-3); font-size: var(--t-card); font-weight: 500; color: inherit; }
.contact-card p { margin: 0 0 var(--s-3); }
.contact-card a { color: inherit; font-size: 20px; }
.contact-card address { font-style: normal; line-height: 1.5; margin-bottom: var(--s-4); }
.contact-card dl { margin: 0 0 var(--s-4); display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s-3); }
.contact-card dt { color: var(--p-inv-muted); }
.contact-card dd { margin: 0; }
.contact-card__ref { color: var(--p-inv-muted); margin-bottom: 0 !important; }

/* podstránky podle obsahu */
.crumb { color: var(--action); font-weight: 500; margin: 0 0 var(--s-3); }
.crumb a { color: inherit; }
.page-hero--plain .hero-text { max-width: 860px; }
.page-p { max-width: 46em; font-size: 18px; line-height: 1.55; margin: 0 0 var(--s-4); }
.page-link { margin: var(--s-4) 0 0; }
.feat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat-card p + p { margin-top: var(--s-2); }
.step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.step-list .feat-card { background: none; border-top: 2px solid var(--action); border-radius: 0; padding: var(--s-4) 0 0; }
.step-n { font-style: normal; display: block; color: var(--action); font-weight: 500; margin-bottom: var(--s-2); font-variant-numeric: tabular-nums; }
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.link-card { display: block; height: 100%; padding: var(--s-5); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: transform .18s, border-color .18s; }
.link-card b { display: block; font-weight: 500; font-size: 18px; line-height: 1.3; }
.link-card span { display: block; color: var(--muted); margin-top: 6px; }
.link-card small { display: block; color: var(--action); font-size: 14px; font-weight: 500; margin-bottom: 6px; }
@media (hover: hover) and (pointer: fine) { .link-card:hover { transform: translateY(-2px); border-color: var(--action); } }
.ground-surface .link-card { background: var(--bg); }
.trust-list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); }
.cmp-wrap { overflow-x: auto; margin: 0 0 var(--s-5); }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; }
.cmp th, .cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.cmp th { font-weight: 500; }
.cmp th:nth-child(2), .cmp td:nth-child(2) { background: color-mix(in srgb, var(--action) 9%, transparent); }
.cmp-y { color: var(--action); display: inline-flex; } .cmp-n { color: var(--muted); display: inline-flex; }
.article { padding-top: calc(var(--nav) + var(--s-8)); }
.article__head, .article__body { max-width: 760px; margin-inline: auto; }
.article__head h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; margin: 0 0 var(--s-4); }
.article__meta { color: var(--muted); margin: var(--s-4) 0 var(--s-7); }
.article__body { font-size: 19px; line-height: 1.65; padding-bottom: var(--s-9); }
.article__body h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: var(--s-7) 0 var(--s-3); }
.article__body h3 { font-size: 22px; margin: var(--s-6) 0 var(--s-2); font-weight: 500; }
.article__body p { margin: 0 0 var(--s-4); }
.article__body ul { margin: 0 0 var(--s-4); padding-left: 1.2em; }
.article__body a { color: var(--action); }
.article__body pre { margin: 0 0 var(--s-4); padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
.tco-field { margin: var(--s-3) 0; } .tco-field label { color: var(--p-inv-ink); display: block; margin-bottom: 4px; } .tco-field input { width: 100%; accent-color: #e07a3a; }
@media (max-width: 1023px) { .feat-grid--3, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .feat-grid--3, .link-grid, .trust-list--cols, .step-list { grid-template-columns: 1fr; } }
main > section.page-hero { padding-bottom: var(--s-7); }
.cmp { table-layout: fixed; } .cmp th:first-child, .cmp td:first-child { width: 46%; }
.post-card em { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 10px; }
main > section.page-hero { padding-bottom: var(--s-5); }
main > section.page-hero + section.auto { padding-top: var(--s-7); }

/* opravy z kontroly: telefon a kontrast */
.step-track > .card:not(.is-active) .panel { opacity: 1; }
.step-track > .card.is-active .panel { box-shadow: inset 0 0 0 2px var(--action); }
.proof dd { font-size: clamp(40px, 3.4vw, 48px); }
@media (max-width: 639px) {
  main > #postup { height: auto; min-height: 0; }
  #postup .step-track, #postup .grid { grid-template-columns: minmax(0, 1fr); }
  #postup .panel { --p-h: auto; height: auto; aspect-ratio: auto; padding: 16px 0; }
  #postup .pm { width: calc(100% - 24px); }
  #poptavka .grid { display: block; }
  #poptavka .contact-card { margin-top: var(--s-6); }
  #poptavka .form { display: block; }
  #poptavka .field, #poptavka .consent, #poptavka .btn-row { margin-bottom: var(--s-4); }
  footer.closing { height: auto; min-height: 0; }
  .close__word--logo { margin-top: var(--s-5); }
}
@media (max-width: 639px) { #poptavka .grid.fill { flex: none; height: auto; min-height: 0; } }

/* kontrast textu a větší čitelnost podstránek */
.dnes__pts li { color: var(--ink); }
.feat-card p, .link-card span, .mod-list span, .step-list p { font-size: 17px; line-height: 1.5; }
.feat-card h3 { font-size: 21px; }
@media (max-width: 639px) { .proof dd { font-size: 28px; } }

/* motiv smyčky za kartou v hero podstránek */
.page-visual { position: relative; }
.page-visual > .pm { position: relative; z-index: 1; }
.loop-deco { position: absolute; inset: 50% auto auto 50%; width: min(118%, 680px); transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.loop-deco path { fill: none; stroke-linecap: round; }
.loop-deco__base { stroke: var(--action); stroke-width: 15; opacity: .2; stroke-dasharray: 1; animation: ld-draw 1.3s cubic-bezier(.45,.05,.2,1) both; }
.loop-deco__pulse { stroke: #E07A3A; stroke-width: 10; stroke-dasharray: .06 .94; opacity: 0; animation: ld-pulse 2.1s 1.2s linear 2 both; }
@keyframes ld-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ld-pulse { 0% { opacity: 1; stroke-dashoffset: 1; } 96% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .loop-deco__base { animation: none; } .loop-deco__pulse { display: none; } }
@media (max-width: 1023px) { .loop-deco { display: none; } }
@media (max-width: 639px) { .feat-grid--3, .link-grid, .trust-list--cols, .step-list { grid-template-columns: minmax(0, 1fr); } }
.link-card { overflow-wrap: anywhere; }
.contact-card a { display: inline-block; padding: 8px 0; }

/* prolinkování */
.mod-link { display: block; color: inherit; text-decoration: none; }
.feat-link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s; }
.footer__col a { line-height: 1.3; }
@media (hover: hover) and (pointer: fine) { .mod-link:hover b { color: var(--action); } .feat-link:hover { background-size: 100% 1px; } }

/* obory na úvodu: seznam + panel podle oboru */
.obory-list { columns: 1; }
.obory-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; color: var(--ink); text-decoration: none; transition: color .15s, padding .18s; }
.obory-list a i { font-style: normal; opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .18s; }
.obory-list a.is-on { color: var(--action); padding-left: 10px; }
.obory-list a.is-on i { opacity: 1; transform: none; }
.sector { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6) var(--s-6) var(--s-5); min-height: 448px; }
.sector__p[hidden] { display: none; }
.sector__p h3 { font: var(--display-weight) clamp(32px, 3.2vw, 46px)/1.08 var(--font-display); letter-spacing: -.03em; margin: 0 0 var(--s-5); }
.sector__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-bottom: var(--s-5); }
.sector__label { margin: 0 0 var(--s-2); font-size: 14px; font-weight: 500; color: var(--muted); }
.is-new .sector__label { color: var(--action); }
.sector__col ul { list-style: none; margin: 0; padding: 0; }
.sector__col li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.35; }
.is-now li { color: var(--muted); }
@media (max-width: 1023px) { .sector { min-height: 0; } }
@media (max-width: 639px) { .sector { display: none; } .obory-list a i { opacity: 1; transform: none; } .obory-list a.is-on { color: var(--ink); padding-left: 0; } }

/* ukázky systému podle oboru */
.sector { background: none; padding: 0; min-height: 0; }
.sector__foot { margin: var(--s-3) 0 0; }
.demo-sec .section-head { margin-bottom: var(--s-5); }
.dm { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 500px; display: flex; flex-direction: column; color: var(--ink); box-shadow: 0 30px 60px -44px rgba(27,42,68,.55); }
.dm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dm-top b { font-weight: 500; font-size: 17px; }
.dm-top span { font-size: 13px; color: var(--muted); }
.dm-body { display: grid; grid-template-columns: 160px minmax(0, 1fr); flex: 1; min-height: 0; }
.dm-tabs { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-right: 1px solid var(--line); background: var(--bg); }
.dm-tabs button { all: unset; cursor: pointer; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.dm-tabs button:focus-visible { outline: 2px solid var(--action); }
.dm-tabs button.is-on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
.dm-tabs em { display: block; height: 2px; margin-top: 7px; background: transparent; overflow: hidden; }
.dm-tabs .is-on em { background: var(--line); }
.dm-tabs u { display: block; height: 100%; background: var(--action); transform: scaleX(0); transform-origin: left; }
.dm-stage { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 12px; }
.dm-box { flex: 1; min-height: 340px; position: relative; }
.dm-cap { margin: 10px 0 0; font-size: 18px; font-weight: 500; padding-right: 56px; }
.dm-pause { right: 10px; bottom: 10px; }
.dm-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; height: 100%; }
.dm-map { width: 100%; height: 100%; max-height: 380px; }
.dm-map text { font: 13px var(--font-text); fill: var(--ink); }
.dm-rt { fill: none; stroke: #5E9C93; stroke-width: 4; stroke-linejoin: round; }
.dm-alt { fill: none; stroke: var(--action); stroke-width: 5; stroke-linejoin: round; }
.dm-van { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.dm-warn rect { fill: #E07A3A; } .dm-warn text { fill: #fff; font-weight: 500; font-size: 14px; }
.dm-bed { fill: var(--surface); stroke: var(--line); }
.dm-list { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.dm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dm-row small { display: block; color: var(--muted); font-size: 13px; }
.dm-row b { font-weight: 500; }
.dm-row i { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dm-row.is-ev i { color: #A0470F; font-weight: 500; } .dm-row i.is-ok { color: var(--action); }
.dm-title { margin: 0 0 8px; font-weight: 500; font-size: 17px; }
.dm-note { margin: 10px 0 0; color: var(--action); font-weight: 500; font-size: 14px; }
.dm-meter { font-size: 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-bottom: 12px; }
.dm-meter b { font-weight: 500; font-variant-numeric: tabular-nums; }
.dm-meter em { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--surface); overflow: hidden; display: block; }
.dm-meter u { display: block; height: 100%; width: 0; background: var(--action); } .dm-meter u.is-warn { background: #E07A3A; }
.dm-gantt { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.dm-ghead, .dm-grow { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; font-size: 14px; }
.dm-ghead > div { display: flex; } .dm-ghead i { flex: 1; font-style: normal; color: var(--muted); font-size: 12px; }
.dm-grow > div { position: relative; height: 44px; background: var(--bg); border-radius: 6px; }
.dm-bar { position: absolute; top: 5px; bottom: 5px; background: var(--ink); color: #fff; border-radius: 5px; font-size: 12.5px; font-weight: 500; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.dm-bar.s-n { background: #5E9C93; }
.dm-now { position: absolute; top: 18px; bottom: 0; width: 2px; background: #E07A3A; }
.dm-board { position: relative; height: 100%; min-height: 340px; }
.dm-col { position: absolute; top: 0; bottom: 0; padding: 0 6px; }
.dm-col p { margin: 0; font-size: 13px; color: var(--muted); padding: 6px 4px; border-bottom: 2px solid var(--line); }
.dm-card { position: absolute; background: var(--bg); border-radius: 8px; padding: 10px 12px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.dm-card b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-card small { color: var(--muted); font-size: 13px; }
.dm-card.is-go { box-shadow: 0 0 0 2px var(--action), 0 12px 24px -14px rgba(27,42,68,.5); z-index: 2; }
.dm-plan { display: grid; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); gap: 6px; align-content: center; }
.dm-tile { aspect-ratio: 1.45; display: grid; place-items: center; border-radius: 6px; font-size: 12.5px; font-weight: 500; }
.s-a { background: #CFE3DF; color: var(--ink); } .s-b { background: #F4D3B8; color: var(--ink); } .s-c { background: var(--ink); color: #fff; }
.dm-legend u { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.dm-agenda { height: 100%; display: flex; flex-direction: column; gap: 6px; }
.dm-ares { display: flex; padding-left: 52px; } .dm-ares b { flex: 1; font-size: 13px; font-weight: 500; }
.dm-abody { position: relative; flex: 1; min-height: 310px; }
.dm-abody > i { position: absolute; left: 0; right: 0; font-style: normal; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 2px; }
.dm-ev { position: absolute; background: var(--ink); color: #fff; border-radius: 6px; padding: 6px 8px; overflow: hidden; transform-origin: center; }
.dm-ev.s-n { background: #5E9C93; }
.dm-ev b { font-size: 12.5px; font-weight: 500; line-height: 1.2; display: block; }
.dm-ledger { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.dm-lrow { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 14.5px; border-radius: 4px; }
.dm-lh { color: var(--muted); font-size: 13px; }
.dm-lrow .st { font-weight: 500; } .st.o { color: var(--action); } .st.w { color: #A0470F; }
.dm-ltot { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; padding: 14px 8px 0; }
.dm-ltot span { color: var(--muted); margin-right: auto; } .dm-ltot b { font: var(--display-weight) 32px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .dm-ltot em { font-style: normal; }
.dm-kpi { height: 100%; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.dm-ks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dm-ks span { display: block; font-size: 13px; color: var(--muted); } .dm-ks b { font: var(--display-weight) clamp(30px, 3vw, 42px)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .dm-ks em { font-style: normal; margin-left: 4px; }
.dm-bars { display: flex; align-items: flex-end; gap: 14px; height: 170px; }
.dm-bars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.dm-bars u { display: block; background: var(--ink); border-radius: 5px 5px 0 0; } .dm-bars u.is-hi { background: var(--action); }
.dm--sm { min-height: 440px; }
.dm--sm .dm-body { grid-template-columns: 124px minmax(0, 1fr); }
.dm--sm .dm-box { min-height: 290px; }
.dm--sm .dm-split { grid-template-columns: minmax(0, 1fr); }
.dm--sm .dm-list:not(.dm-meters):not(.dm-legend) { display: none; }
.dm--sm .dm-legend, .dm--sm .dm-meters { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-start; }
.dm--sm .dm-legend .dm-row, .dm--sm .dm-meter { min-width: 120px; border: 0; padding: 0; margin: 0; }
.dm--sm .dm-title, .dm--sm .dm-note { display: none; }
.dm--sm .dm-grow, .dm--sm .dm-ghead { grid-template-columns: 96px minmax(0, 1fr); }
.dm--sm .dm-now { display: none; }
@media (max-width: 767px) {
  .dm-body { grid-template-columns: minmax(0, 1fr); }
  .dm-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .dm-tabs button { white-space: nowrap; }
  .dm-split { grid-template-columns: minmax(0, 1fr); }
  .dm-list:not(.dm-meters):not(.dm-legend) .dm-row:nth-child(n+3) { display: none; }
  .dm-lrow { grid-template-columns: 1.2fr 1fr 1fr; } .dm-lrow > :nth-child(2) { display: none; }
  .dm-grow, .dm-ghead { grid-template-columns: 90px minmax(0, 1fr); } .dm-now { display: none; }
  .dm-cap { font-size: 16px; }
}
@media (max-width: 639px) { .sector { display: block; } main > #obory { height: auto; min-height: 0; } #obory .grid.fill { flex: none; height: auto; display: block; } .obory-list { margin-bottom: var(--s-5); } }

/* ukázky: kontrast a telefon */
.dm-bar.s-n, .dm-ev.s-n { color: var(--ink); }
@media (max-width: 767px) {
  .dm-gantt { justify-content: flex-start; gap: 6px; height: auto; }
  .dm-grow > div { height: 34px; }
  .dm-bar { font-size: 0; padding: 0; }
  .dm-box { min-height: 0; }
}
.obory-list a.is-on { padding-left: 0; }

/* ukázky ve stylu produktových filmů */
.dm { --dm-h: 620px; min-height: var(--dm-h); background: #101b2e; border: 0; overflow: hidden; box-shadow: 0 40px 80px -46px rgba(27,42,68,.8); display: block; }
.dm-cam { position: absolute; inset: 0; perspective: 1200px; overflow: hidden; }
.dm-app { position: absolute; inset: 18px 18px 18px; display: grid; grid-template-columns: 158px minmax(0,1fr); background: #fff; border-radius: 12px; overflow: hidden; will-change: transform; transform-style: preserve-3d; color: var(--ink); }
.dm-tabs { background: var(--p-inv-bg, #1b2a44); border: 0; padding: 12px 10px; gap: 1px; }
.dm-mark { color: #8fb8af; font-size: 24px; line-height: 1; padding: 2px 10px 10px; }
.dm-tabs button { color: rgba(245,240,232,.72); font-size: 13px; padding: 8px 10px; }
.dm-tabs button.is-on { background: rgba(245,240,232,.13); color: #fff; box-shadow: none; }
.dm-tabs em { margin-top: 5px; } .dm-tabs .is-on em { background: rgba(245,240,232,.18); } .dm-tabs u { background: #E07A3A; }
.dm-main { display: flex; flex-direction: column; min-width: 0; }
.dm-top { padding: 11px 18px; align-items: center; gap: 12px; }
.dm-top > b { margin-right: auto; font-size: 15px; } .dm-top i { font-style: normal; color: var(--muted); font-weight: 400; }
.dm-search { font-size: 13px; color: var(--muted); background: var(--bg); padding: 5px 40px 5px 12px; border-radius: 8px; }
.dm-bell { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #E07A3A; color: #fff; font-size: 12px; font-weight: 600; }
.dm-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #5E9C93; color: #1b2a44; font-size: 12px; font-weight: 600; }
.dm-stage { flex: 1; padding: 16px 18px 118px; display: flex; }
.dm-box { flex: 1; min-height: 0; }
.dm-cursor { position: absolute; left: 0; top: 0; z-index: 30; opacity: 0; pointer-events: none; filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.dm-film { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 34px 24px; pointer-events: none; z-index: 12; background: linear-gradient(transparent, rgba(16,27,46,.94) 62%); }
.dm-step { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: #bcd3cd; }
.dm-cap { margin: 0; padding-right: 60px; color: #fff; font: var(--display-weight) clamp(22px, 2.3vw, 32px)/1.16 var(--font-display); letter-spacing: -.02em; }
.dm-cap mark { color: inherit; background: linear-gradient(#E07A3A, #E07A3A) 0 100% / 100% 3px no-repeat; padding-bottom: 3px; }
.dm-mock { position: absolute; top: 28px; right: 28px; z-index: 13; font-size: 12px; color: var(--muted); background: #fff; display: none; }
.dm-film::after { content: "Ukázka se smyšlenými daty"; position: absolute; right: 80px; bottom: 26px; font-size: 12.5px; color: rgba(245,240,232,.75); }
.dm-pause { z-index: 14; right: 22px; bottom: 18px; background: rgba(245,240,232,.14); color: #fff; border-color: rgba(245,240,232,.3); }
.is-focus { position: relative; z-index: 8; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px #2aa79f, 0 0 34px 6px rgba(42,167,159,.6), 0 0 0 2400px rgba(16,27,46,.42); transition: box-shadow .3s; }
.dm-card.is-focus, .dm-ev.is-focus { position: absolute; }
.dm-ev.is-focus { background: var(--action); }
.dm-rt { stroke-linecap: round; } .dm-map-bg { fill: #f1ece2; stroke: #e2dacb; }
/* automatizace */
.dm-flow { display: flex; align-items: center; height: 100%; gap: 0; }
.dm-node { flex: 1 1 0; min-width: 0; background: var(--bg); border-radius: 10px; padding: 14px 12px; box-shadow: 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s; }
.dm-node em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-bottom: 6px; } .dm-node b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.2; } .dm-node small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.dm-node.is-lit { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px var(--ink), 0 10px 24px -12px rgba(27,42,68,.8); } .dm-node.is-lit em, .dm-node.is-lit small { color: rgba(245,240,232,.75); }
.dm-node.is-end.is-lit { background: var(--action); box-shadow: 0 0 0 2px var(--action); }
.dm-wire { flex: 0 0 22px; height: 3px; background: var(--line); display: block; } .dm-wire u { display: block; height: 100%; background: #E07A3A; transform: scaleX(0); }
/* mobil */
.dm-mob { align-items: center; }
.dm-phone { justify-self: center; width: 216px; height: 368px; background: #121c2f; border-radius: 30px; padding: 9px; box-shadow: 0 24px 40px -18px rgba(16,27,46,.65); }
.dm-screen { position: relative; height: 100%; background: #fff; border-radius: 22px; padding: 22px 14px 14px; display: flex; flex-direction: column; overflow: hidden; }
.dm-ptitle { margin: 0 0 10px; font-weight: 500; font-size: 16px; }
.dm-prow { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--line); } .dm-prow span { color: var(--muted); } .dm-prow b { font-weight: 500; text-align: right; }
.dm-sign { margin: auto 0 8px; width: 100%; height: 88px; border-bottom: 1px dashed var(--line); } .dm-sign path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.dm-scan { position: relative; margin: auto 0 8px; height: 92px; border: 2px solid var(--ink); border-radius: 10px; display: grid; place-items: end center; padding-bottom: 7px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px) 50% 20% / 76% 46px no-repeat; }
.dm-scan i { position: absolute; left: 6px; right: 6px; height: 3px; background: #E07A3A; box-shadow: 0 0 10px 3px rgba(224,122,58,.7); } .dm-scan b { font-size: 11.5px; font-weight: 500; background: #fff; padding: 0 5px; }
.dm-pbtn { display: block; text-align: center; background: var(--action); color: #fff; border-radius: 10px; padding: 11px 6px; font-size: 13.5px; font-weight: 500; }
.dm-ok { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--action); color: #fff; text-align: center; padding: 14px; visibility: hidden; } .dm-ok b { font-weight: 500; font-size: 16px; }
/* AI návrh */
.dm-det { align-items: center; } .dm-det .dm-row i { font-weight: 500; }
.dm-ai { position: relative; background: var(--ink); color: #fff; border-radius: 14px; padding: 20px; min-height: 226px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dm-badge { background: #e7f2ef; color: var(--ink); font-size: 13px; font-weight: 500; padding: 4px 11px; border-radius: 99px; }
.dm-type { margin: 0; font-size: 16px; line-height: 1.42; min-height: 92px; }
.dm-aibtn { background: #fff; color: var(--ink); padding: 8px 15px; border-radius: 9px; font-size: 13.5px; font-weight: 500; }
.dm-aiok { position: absolute; left: 20px; right: 20px; bottom: 14px; margin: 0; background: var(--action); padding: 8px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500; visibility: hidden; }
.dm-ai.is-focus { background: var(--ink); }
/* stěna */
.dm-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: 100%; min-height: 330px; }
.dm-mini { background: #fff; border-radius: 9px; box-shadow: 0 0 0 1px var(--line), 0 10px 22px -14px rgba(27,42,68,.5); overflow: hidden; position: relative; }
.dm-mini__in { position: absolute; left: 0; top: 0; width: 760px; height: 400px; padding: 14px; transform-origin: 0 0; transform: scale(var(--mk, .36)); pointer-events: none; }
.dm--sm { --dm-h: 520px; min-height: 520px; }
.dm--sm .dm-app { grid-template-columns: 112px minmax(0, 1fr); inset: 12px; }
.dm--sm .dm-tabs button { font-size: 12px; padding: 6px 7px; } .dm--sm .dm-search { display: none; }
.dm--sm .dm-stage { padding: 12px 12px 112px; }
.dm--sm .dm-film { padding: 60px 22px 18px; } .dm--sm .dm-cap { font-size: 21px; } .dm--sm .dm-film::after { display: none; }
.dm--sm .dm-node small { display: none; } .dm--sm .dm-node { padding: 10px 8px; } .dm--sm .dm-node b { font-size: 12.5px; } .dm--sm .dm-wire { flex-basis: 10px; }
.dm--sm .dm-mob { grid-template-columns: minmax(0, 1fr); } .dm--sm .dm-mob .dm-list { display: none; } .dm--sm .dm-phone { transform: scale(.82); transform-origin: top center; }
.dm--sm .dm-det { grid-template-columns: minmax(0, 1fr); } .dm--sm .dm-det .dm-list { display: none; }
.dm--sm .dm-mini__in { --mk: .25; }
@media (max-width: 767px) {
  .dm { --dm-h: 640px; min-height: 640px; }
  .dm-app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); inset: 8px; }
  .dm-tabs { flex-direction: row; overflow-x: auto; padding: 6px; } .dm-mark, .dm-search { display: none; } .dm-tabs button { white-space: nowrap; }
  .dm-stage { padding: 10px 10px 120px; }
  .dm-film { padding: 60px 18px 18px; } .dm-film::after { display: none; }
  .dm-cap { font-size: 20px; }
  .dm-flow { flex-direction: column; gap: 0; align-items: stretch; } .dm-node { padding: 8px 12px; } .dm-node em, .dm-node small { display: none; } .dm-wire { flex: 0 0 8px; width: 3px; height: 8px; margin: 0 auto; }
  .dm-mob .dm-list, .dm-det .dm-list { display: none; }
  .dm-phone { transform: scale(.86); transform-origin: top center; }
  .dm-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); } .dm-mini__in { --mk: .22; }
}
.dm-tabs { scrollbar-width: none; } .dm-tabs::-webkit-scrollbar { display: none; }
.dm-film { background: linear-gradient(transparent, rgba(16,27,46,.94) 46%); }

/* dlaždice oborů a modulů */
.link-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.link-card.has-ic { padding: var(--s-5); }
.tile-ic { display: block; width: 30px; height: 30px; margin-bottom: var(--s-4); background: var(--action); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.link-card.has-ic b { font-size: 19px; }
.link-card.has-ic > span:not(.tile-ic) { font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .link-card.has-ic:hover { background: var(--ink); border-color: var(--ink); color: #fff; } .link-card.has-ic:hover .tile-ic { background: #e9b28e; } .link-card.has-ic:hover span:not(.tile-ic) { color: rgba(245,240,232,.8); } }
@media (max-width: 1023px) { .link-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 3D editory a oborové scény */
.dm { --dm-h: 780px; }
.ed { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr); gap: 16px; height: 100%; min-height: 0; }
.ed-view { position: relative; min-height: 0; background: var(--bg); border-radius: 10px; overflow: hidden; }
.ed-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.ed-tip { position: absolute; left: 12px; top: 10px; font-size: 12.5px; color: var(--muted); pointer-events: none; }
.ed-side { display: flex; flex-direction: column; gap: 7px; min-height: 0; overflow: hidden; }
.ed-t { margin: 0; font-weight: 500; font-size: 17px; }
.ed-c { font-size: 13px; display: block; } .ed-c span { display: flex; justify-content: space-between; } .ed-c span b { font-weight: 500; font-variant-numeric: tabular-nums; }
.ed-c input { width: 100%; accent-color: var(--action); height: 16px; margin: 0; }
.ed-c em.fake { display: block; height: 7px; border-radius: 7px; background: var(--surface); overflow: hidden; margin-top: 5px; } .fake u { display: block; height: 100%; width: 0; background: var(--action); }
.ed-rows > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 4px 0; border-bottom: 1px solid var(--line); } .ed-rows span { color: var(--muted); } .ed-rows span small { display: block; font-size: 12px; } .ed-rows b { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; } .ed-rows b.ok { color: var(--action); }
.ed-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 9px; padding: 9px 12px; } .ed-total span { font-size: 13px; opacity: .85; } .ed-total b { font: var(--display-weight) 19px/1.1 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ed-total.is-bad { background: #b4531a; } .ed-total.is-good { background: var(--action); }
.ed-note2 { margin: 2px 0 0; font-size: 13.5px; color: var(--action); font-weight: 500; line-height: 1.35; }
.ed-nest p { margin: 2px 0 4px; font-size: 12.5px; color: var(--muted); } .ed-sheets { display: flex; gap: 6px; } .ed-sheets svg { flex: 1; min-width: 0; background: var(--surface); border-radius: 3px; }
.teeth { align-self: center; } .arch { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; margin-bottom: 12px; }
.tooth { display: flex; flex-direction: column; gap: 3px; align-items: center; font-size: 11.5px; color: var(--muted); } .tooth i { display: block; width: 100%; aspect-ratio: .66; background: var(--surface); border: 1.5px solid var(--line); border-radius: 6px 6px 40% 40%; transition: background .2s; }
.t-imp i { background: var(--ink); border-color: var(--ink); } .t-kor i { background: #d6a54a; border-color: #d6a54a; } .t-vyp i { background: var(--action); border-color: var(--action); } .t-ext i { background: #ddd; border: 1.5px dashed #888; }
.teeth-leg { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); } .teeth-leg span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; } .teeth-leg .t-imp::before { background: var(--ink); } .teeth-leg .t-kor::before { background: #d6a54a; } .teeth-leg .t-vyp::before { background: var(--action); } .teeth-leg .t-ext::before { background: #bbb; }
.sig-car { display: grid; place-items: center; } .sig-car svg { width: 92%; } .car { fill: #dfe7ee; stroke: var(--ink); stroke-width: 3; } .glass { fill: #bcd9e0; stroke: var(--ink); stroke-width: 2; } .wheel { fill: var(--ink); } .hub { fill: #aeb9c4; } .spot circle:first-child { fill: #E07A3A; } .ring { fill: none; stroke: #E07A3A; stroke-width: 2; opacity: .55; } .ed-plate { position: absolute; left: 12px; top: 10px; font-size: 13px; font-weight: 500; }
.sig-dose svg, .sig-plan svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); } .sig-dose text { font-size: 13px; fill: var(--muted); } .axis { fill: none; stroke: var(--line); stroke-width: 1.5; } .vz { fill: none; stroke: var(--action); stroke-width: 4; stroke-linecap: round; } .dot { fill: #E07A3A; stroke: #fff; stroke-width: 3; }
.sig-food { padding: 14px; display: flex; flex-direction: column; } .fbars { flex: 1; display: flex; flex-direction: column; justify-content: space-around; margin-top: 6px; } .fb { display: grid; grid-template-columns: 110px minmax(0,1fr) 54px; gap: 10px; align-items: center; font-size: 14px; } .fb em { display: block; height: 22px; background: #fff; border-radius: 5px; overflow: hidden; } .fb u { display: block; height: 100%; background: var(--action); } .fb b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; } .fb.is-bad u { background: #E07A3A; } .fb.is-bad b { color: #a0470f; }
.rm { fill: #fff; stroke: var(--ink); stroke-width: 5; } .fl { fill: #fff; stroke: var(--ink); stroke-width: 3; } .sig-plan .n { font-size: 15px; font-weight: 500; text-anchor: middle; fill: var(--ink); } .sig-plan .m { font-size: 14px; text-anchor: middle; fill: var(--action); font-weight: 500; } .cl-d { fill: #E07A3A; stroke: #fff; stroke-width: 3; }
.cl-r > div { padding: 3px 0; }
.chan { padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 7px; } .chan-h { display: grid; grid-template-columns: 74px repeat(14, 1fr); font-size: 11px; color: var(--muted); } .chan-h i { font-style: normal; } .chan-r { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; font-size: 13px; } .chan-r > div { position: relative; height: 32px; background: #fff; border-radius: 5px; } .ch-b { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; } .c-b { background: #1b3f8f; } .c-a { background: #e0566a; } .c-w { background: var(--action); } .chan-leg { display: flex; gap: 12px; font-size: 12.5px; margin-top: 4px; } .chan-leg span { background: none !important; } .chan-leg span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; } .chan-leg .c-b::before { background: #1b3f8f; } .chan-leg .c-a::before { background: #e0566a; } .chan-leg .c-w::before { background: var(--action); }
.ch-sp { width: 100%; height: 76px; } .ch-l { fill: none; stroke: #E07A3A; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sig-call { background: var(--ink); color: #fff; padding: 14px; display: flex; flex-direction: column; } .wave { display: flex; align-items: center; gap: 3px; height: 62px; } .wave u { flex: 1; height: 100%; background: #6fc3b8; border-radius: 2px; transform: scaleY(.2); } .tr { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; margin-top: 10px; font-size: 14.5px; overflow: hidden; } .tr p { margin: 0; padding: 6px 10px; border-radius: 9px; background: rgba(245,240,232,.1); max-width: 88%; } .tl-O { align-self: flex-end; background: rgba(95,195,184,.22) !important; } .tl-AI { background: #E07A3A !important; font-weight: 500; align-self: center; }
.sent em { display: block; height: 11px; border-radius: 11px; background: var(--surface); overflow: hidden; } .sent u { display: block; height: 100%; width: 18%; background: #E07A3A; } .sent-l { font-size: 14px; font-weight: 500; }
.sig-rad { display: grid; place-items: center; } .sig-rad svg { height: 96%; } .rs { stroke: var(--bg); stroke-width: 1; } .sa { fill: #8fb8af; } .sw { fill: #E07A3A; } .sb { fill: var(--ink); } .rad-h { stroke: #b4531a; stroke-width: 3; stroke-linecap: round; } .rad-n { font-size: 15px; font-weight: 500; text-anchor: middle; fill: var(--ink); } .rad-s { font-size: 13px; text-anchor: middle; fill: var(--muted); }
.sig-rk { padding: 14px; } .rk { position: relative; height: 270px; margin-top: 8px; } .rk-r { position: absolute; left: 0; right: 0; background: #fff; border-radius: 9px; padding: 8px 12px; display: grid; grid-template-columns: minmax(0,1fr) 40px; column-gap: 8px; height: 58px; box-shadow: 0 0 0 1px var(--line); } .rk-r b { font-weight: 500; font-size: 14.5px; } .rk-r small { grid-column: 1; font-size: 12.5px; color: var(--muted); } .rk-r em { grid-column: 1; height: 5px; border-radius: 5px; background: var(--surface); overflow: hidden; display: block; } .rk-r u { display: block; height: 100%; width: 0; background: var(--action); } .rk-r i { grid-column: 2; grid-row: 1 / 4; align-self: center; font-style: normal; font: var(--display-weight) 22px var(--font-display); text-align: right; } .rk-r.is-win { background: var(--action); color: #fff; } .rk-r.is-win small { color: rgba(255,255,255,.85); }
.dm--sm .ed { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.dm--sm .ed-c, .dm--sm .ed-nest, .dm--sm .ed-t, .dm--sm .ed-rows, .dm--sm .ed-note2 { display: none; }
@media (max-width: 767px) { .dm { --dm-h: 760px; min-height: 760px; } .ed { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(190px, 1fr) auto; } .ed-nest, .ed-rows > div:nth-child(n+4) { display: none; } .ed-c { font-size: 12px; } .fb { grid-template-columns: 84px minmax(0,1fr) 46px; } .arch { gap: 2px; } .tooth span { font-size: 9px; } }
@media (max-width: 767px) { .dm { --dm-h: 880px; min-height: 880px; } }

/* film: plakát, konec, AI scény */
.dm-over { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 32px; background: #101b2e; color: #fff; }
.dm-over h3 { margin: 0; color: #fff; font: var(--display-weight) clamp(38px, 5.4vw, 76px)/1.04 var(--font-display); letter-spacing: -.04em; }
.dm-o-k { margin: 0; font-size: 13px; color: #bcd3cd; } .dm-o-s { margin: 0; color: rgba(245,240,232,.78); font-size: 18px; max-width: 42em; }
.dm-play { all: unset; cursor: pointer; width: 92px; height: 92px; margin-top: 24px; border-radius: 50%; display: grid; place-items: center; background: #E07A3A; color: #fff; transition: transform .18s; } @media (hover: hover) { .dm-play:hover { transform: scale(1.07); } } .dm-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.dm-o-p { margin: 0; color: #fff; font-weight: 500; }
.dm-poster { background: linear-gradient(180deg, rgba(16, 27, 46, .55) 0%, rgba(16, 27, 46, .82) 45%, rgba(16, 27, 46, .95) 100%); backdrop-filter: blur(1.5px); }
.dm-o-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; max-width: 44em; }
.dm-o-list li { padding: 5px 12px; border: 1px solid rgba(245, 240, 232, .28); border-radius: 99px; font-size: 14px; color: rgba(245, 240, 232, .92); background: rgba(16, 27, 46, .4); }
.dm--sm .dm-o-list li { font-size: 13px; padding: 4px 10px; }
.dm-endc .btn { margin-top: 18px; background: #E07A3A; color: #fff; border: 0; min-width: 240px; font-size: 18px; } .dm-re { all: unset; cursor: pointer; margin-top: 8px; color: rgba(245,240,232,.75); text-decoration: underline; font-size: 15px; }
.dm:not(.is-playing) .dm-pause, .dm:not(.is-playing) .dm-film { visibility: hidden; }
.dm-tabs button:disabled { cursor: default; opacity: 1; }
.ed input:disabled { opacity: 1; } .ed-view canvas { cursor: default; pointer-events: none; }
.ai-dark { background: var(--ink); color: #fff; padding: 18px; display: flex; flex-direction: column; } .ai-who { margin: 0 0 8px; font-size: 13px; color: #bcd3cd; } .ai-say { flex: 1; margin: 14px 0 0; font: var(--display-weight) clamp(19px, 2vw, 26px)/1.28 var(--font-display); }
.ai-f > div { transition: background .25s; } .ai-f b:empty::after { content: "…"; color: var(--muted); } .ai-f .is-new b { color: var(--action); }
.ai-done { background: var(--action); visibility: hidden; } .ai-done b { font-size: 16px; white-space: normal; text-align: right; }
.ai-doc { padding: 14px; display: grid; place-items: center; } .paper { position: relative; background: #fff; width: min(100%, 400px); height: 92%; padding: 22px 24px; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(27,42,68,.5); } .pp-t { margin: 0 0 12px; font-weight: 600; font-size: 15px; } .pp-l { margin: 0 0 9px; font-size: 13px; line-height: 1.4; color: #5b6573; } .pp-l.is-on { background: #f7e0c9; color: var(--ink); box-shadow: 0 0 0 3px #f7e0c9; } .scan { position: absolute; left: 0; right: 0; height: 3px; background: #E07A3A; box-shadow: 0 0 12px 4px rgba(224,122,58,.6); }
.ai-chat { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px; max-width: 760px; margin: 0 auto; width: 100%; } .ai-chat .b { padding: 14px 18px; border-radius: 14px; } .b.q { align-self: flex-end; background: var(--ink); color: #fff; font-size: 19px; min-height: 1.5em; } .b.a { background: var(--bg); position: relative; padding-left: 44px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; } .ai-spark { position: absolute; left: 16px; top: 13px; color: #E07A3A; font-size: 19px; } .b.a p { margin: 0; font-size: 18px; line-height: 1.35; min-height: 2.6em; } .ai-bars { width: 100%; display: flex; flex-direction: column; gap: 7px; } .ai-bars > div { display: grid; grid-template-columns: 130px minmax(0,1fr) 92px; gap: 10px; align-items: center; font-size: 14px; } .ai-bars em { display: block; height: 14px; background: #fff; border-radius: 4px; overflow: hidden; } .ai-bars u { display: block; height: 100%; background: var(--ink); } .ai-bars u.hi { background: #E07A3A; } .ai-bars b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; } .ai-act { background: var(--action); color: #fff; padding: 8px 15px; border-radius: 9px; font-size: 14px; font-weight: 500; } .ai-ok { color: var(--action); font-weight: 500; font-size: 15px; margin-top: -32px; }
.ai-agent { height: 100%; background: var(--ink); color: #fff; border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; } .ag-h { display: flex; align-items: center; gap: 12px; } .ag-h b { font: var(--display-weight) 24px var(--font-display); flex: 1; } .moon { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset -7px -2px 0 0 #f4d9a6; } .ag-t { font-style: normal; font: 500 26px var(--font-mono); color: #f4d9a6; } .ag-l { flex: 1; display: flex; flex-direction: column; justify-content: center; } .ag-r { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(245,240,232,.14); font-size: 15px; visibility: hidden; } .ag-r i { font-style: normal; color: rgba(245,240,232,.6); font-variant-numeric: tabular-nums; } .ag-r b { font-weight: 500; color: rgba(245,240,232,.4); } .ag-r.is-ok b { color: #7fd6c8; } .ai-agent .ai-done { align-self: flex-end; min-width: 50%; }
.ai-callv { align-items: center; } .orb { position: relative; width: 72px; height: 72px; margin: 6px 0 12px; border-radius: 50%; background: #E07A3A; flex: none; } .orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #E07A3A; } .ai-callv .tr { width: 100%; }
.ai-tr { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 14.5px; overflow: hidden; } .ai-tr p { margin: 0; padding: 6px 10px; border-radius: 9px; background: rgba(245,240,232,.1); max-width: 88%; } .ai-tr .tl-O { align-self: flex-end; background: rgba(224,122,58,.85); }
.ai-fc svg, .ai-vis svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); } .ai-fc text { font-size: 13px; fill: var(--muted); } .fc-h { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; } .fc-f { fill: none; stroke: #E07A3A; stroke-width: 3.5; stroke-dasharray: 7 6; } .fc-w circle:first-child { fill: #E07A3A; } .fc-w .ring { fill: none; stroke: #E07A3A; stroke-width: 2; opacity: .6; }
.ai-vis { background: #1a2433; } .vb rect { fill: rgba(42,167,159,.16); stroke: #4fd1c5; stroke-width: 2.5; } .vb text { fill: #fff; font-size: 12.5px; font-weight: 500; paint-order: stroke; stroke: #16202f; stroke-width: 3px; } .vb.bad rect { fill: rgba(224,122,58,.2); stroke: #E07A3A; } .vscan { fill: #4fd1c5; opacity: .85; } .ai-cam { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 12.5px; background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 5px; }
.dm--sm .dm-over h3 { font-size: 44px; } .dm--sm .dm-play { width: 76px; height: 76px; } .dm--sm .ai-bars > div { grid-template-columns: 90px minmax(0,1fr) 70px; }

/* úvod: texty vlevo, 3D scéna vpravo */
@media (min-width: 1024px) {
  main > .hero--product .hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5); align-items: stretch; height: 100%; }
  main > .hero--product:has(.hero__stage > :is([data-product], img, picture)) .hero__head { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-5); margin: 0; }
  main > .hero--product:has(.hero__stage > :is([data-product], img, picture)) .hero__head > :first-child { display: block; }
  main > .hero--product:has(.hero__stage > :is([data-product], img, picture)) .hero__head h1 { font-size: clamp(50px, 5.4vw, 84px); line-height: 1.02; margin: 0 0 var(--s-5); }
  main > .hero--product:has(.hero__stage > :is([data-product], img, picture)) .hero__head .hero__lead { margin: 0; max-width: 27em; }
  main > .hero--product:has(.hero__stage > :is([data-product], img, picture)) .hero__head > .btn-row { justify-content: flex-start; flex-wrap: wrap; }
  main > .hero--product .hero__stage:has(> img:not(.is-cutout), > picture) { margin: 0 0 calc(0px - var(--hpadb, 64px)); min-height: 0; }
  main > .hero--product .hero__stage > img:not(.is-cutout) { object-fit: contain; }
}

/* brouček v liště a dialog hlášení problému */
.nav__bug { display: inline-grid; place-items: center; width: var(--btn-h); height: var(--btn-h); flex: none; border: 1px solid var(--line-strong); border-radius: var(--r-btn); background: transparent; color: var(--ink); cursor: pointer; transition: transform 160ms ease-out, background-color 160ms ease; }
.nav__bug:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .nav__bug:hover { background-color: rgba(27, 42, 68, .07); } }
.nav__bug[aria-busy="true"] { cursor: progress; }
.nav__bug[aria-busy="true"] svg { animation: bug-busy 700ms ease-in-out infinite alternate; }
@keyframes bug-busy { to { opacity: .3; } }
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .nav__bug { display: inline-grid; width: 44px; height: 44px; }
  .nav.is-open .nav__actions > .nav__bug { display: none; }
}
@media (max-width: 639px) {
  :root:has(> body > nav.actionbar) .nav:not(.is-open) .nav__actions { display: flex; margin-left: auto; }
  :root:has(> body > nav.actionbar) .nav:not(.is-open) .nav__actions > .btn--primary { display: none; }
  :root:has(> body > nav.actionbar) .nav:not(.is-open) .nav__actions + .nav__toggle { margin-left: 0; }
}
.bug-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: var(--s-5); border: 0; border-radius: 14px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 70px -24px rgba(27, 42, 68, .55); opacity: 1; transform: none; transition: opacity 200ms ease-out, transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
@starting-style { .bug-dlg[open] { opacity: 0; transform: scale(0.97); } }
.bug-dlg::backdrop { background: rgba(27, 42, 68, .45); }
.bug-dlg__form { display: flex; flex-direction: column; gap: var(--s-3); }
.bug-dlg h2 { margin: 0; font-size: 26px; line-height: 1.15; }
.bug-dlg p { margin: 0; }
.bug-dlg__shot { display: block; width: 100%; max-height: 240px; object-fit: contain; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; }
.bug-dlg label { font-weight: 500; }
.bug-dlg textarea { width: 100%; min-height: 104px; padding: 12px 14px; resize: vertical; font: inherit; font-size: 16px; color: inherit; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; }
.bug-dlg__privacy { font-size: 14px; color: var(--muted); }
.bug-dlg__status { font-size: 15px; font-weight: 500; }
.bug-dlg__status:empty { display: none; }
.bug-dlg .btn-row { justify-content: flex-start; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .bug-dlg { transition: opacity 200ms ease-out; transform: none; } .nav__bug[aria-busy="true"] svg { animation: none; opacity: .4; } }

/* úvod filmu: kinetický titulek */
.dm-hook { position: absolute; inset: 0; z-index: 14; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 40px; background: #101b2e; color: #fff; text-align: center; }
.dm-hook__k { margin: 0; font-size: 15px; font-weight: 500; color: #bcd3cd; }
.dm-hook h3 { margin: 0; max-width: 15em; font: var(--display-weight) clamp(38px, 5.6vw, 78px)/1.06 var(--font-display); letter-spacing: -.03em; }
.dm-hook h3 span { display: inline-block; }
.dm-hook mark { color: inherit; background: linear-gradient(#E07A3A, #E07A3A) 0 100% / 100% 5px no-repeat; padding-bottom: 5px; }

/* rám systému ve stylu aplikace: tmavé menu se skupinami, světlý obsah, bílé karty */
.dm-app { grid-template-columns: 196px minmax(0, 1fr); background: #f5f7f8; --app-line: #e1e6e8; }
.dm-tabs { background: #0f1a24; padding: 14px 10px; gap: 1px; overflow: hidden; }
.dm-logo { display: block; height: 19px; width: auto; align-self: flex-start; margin: 3px 8px 13px; filter: brightness(0) invert(1); }
.dm-msearch { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; padding: 6px 9px; font-size: 12.5px; color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .11); border-radius: 8px; }
.dm-msearch kbd { padding: 0 5px; font: inherit; font-size: 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; }
.dm-grp { margin: 11px 8px 4px; padding-left: 7px; border-left: 2px solid rgba(255, 255, 255, .28); font-size: 10.5px; font-weight: 500; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .58); white-space: nowrap; }
.dm-tabs button, .dm-nav { position: relative; display: flex; align-items: center; gap: 9px; padding: 5px 8px; font-size: 13px; color: rgba(255, 255, 255, .86); border: 1px solid transparent; border-radius: 7px; white-space: nowrap; }
.dm-tabs button span { overflow: hidden; text-overflow: ellipsis; }
.dm-tabs button.is-on { background: rgba(10, 113, 111, .42); border-color: rgba(127, 227, 227, .3); box-shadow: inset 3px 0 0 #2fb5ac; color: #fff; font-weight: 500; }
.dm-ic { position: relative; display: block; flex: none; width: 20px; height: 20px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.dm-ic::after, .dm-tool::after { content: ""; position: absolute; inset: 3px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.dm-tabs .is-on .dm-ic { background: rgba(127, 227, 227, .22); }
.dm-tabs em, .dm-tabs .is-on em { position: absolute; left: 8px; right: 8px; bottom: 1px; height: 2px; margin: 0; background: transparent; }
.dm-tabs u { background: #7fe3e3; }
.dm-top { padding: 12px 20px 2px; border-bottom: 0; justify-content: flex-start; gap: 12px; }
.dm-search { flex: 0 1 340px; padding: 7px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 9px; }
.dm-tools { display: flex; gap: 12px; margin-left: auto; color: #47545f; }
.dm-tools .dm-ic { background: none; width: 22px; height: 22px; }
.dm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 8px 20px 10px; }
.dm-head small { display: block; font-size: 12.5px; color: var(--muted); }
.dm-head h4 { margin: 0; font: 600 24px/1.15 var(--font-display); letter-spacing: -.02em; }
.dm-cta { padding: 7px 13px; background: var(--action); color: #fff; font-size: 13px; font-weight: 500; border-radius: 8px; white-space: nowrap; }
.dm-stage { padding: 0 20px 118px; }
.ed-view, .ed-side, .dm-split > .dm-list, .dm-split > .dm-map, .dm-box > :is(.dm-gantt, .dm-board, .dm-agenda, .dm-ledger, .dm-kpi, .dm-flow) { background: #fff; border: 1px solid var(--app-line); border-radius: 14px; }
.ed-side { padding: 14px 16px; } .dm-split > .dm-list { padding: 12px 16px; }
.ed-t { font-weight: 600; } .ed-total { background: var(--action); }
@media (max-width: 760px) { .dm-app { grid-template-columns: minmax(0, 1fr); } .dm-logo, .dm-msearch, .dm-grp, .dm-nav, .dm-tools, .dm-cta, .dm-head small { display: none; } .dm-tabs .dm-ic { display: none; } }
.dm--sm .dm-app { grid-template-columns: minmax(0, 1fr); } .dm--sm :is(.dm-logo, .dm-msearch, .dm-grp, .dm-nav, .dm-tools, .dm-cta) { display: none; }

.dm-tabs button:not(.is-on) u { opacity: 0; }

/* 11. 11.: užitek, evidence, moduly s odkazem, příklady, zkušenosti (zpětná vazba z broučků a meetu) */
.gains { padding-top: var(--s-6); }
.gains__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); counter-reset: g; }
.gains__list li { border-top: 2px solid var(--ink); padding-top: var(--s-3); font-size: 17px; line-height: 1.45; color: var(--muted); }
.gains__list b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.gains__calc { margin: var(--s-6) 0 0; max-width: 46em; padding: var(--s-4) var(--s-5); border-radius: 14px; background: var(--surface); font-size: 17px; line-height: 1.5; }
@media (max-width: 1023px) { .gains__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .gains__list { grid-template-columns: minmax(0, 1fr); } }
.sys-gain { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.sys-gain li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; }
.sys-gain li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 6px; border-left: 2px solid var(--action); border-bottom: 2px solid var(--action); transform: rotate(-45deg); }
.job__box--wide { grid-column: 1 / -1; }
.job__box--wide .job__row i { color: var(--u-muted, var(--muted)); }
#dnes .evid { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); }
#dnes .evid li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
#dnes .evid b { display: block; color: var(--ink); font-size: 17px; font-weight: 500; }
.mod-more { display: none; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.mod-more p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; max-width: 30em; }
.mod-rows li:has(.mod-row.is-active) .mod-row { border-bottom-color: transparent; }
.mod-row.is-active + .mod-more { display: block; }
.ground-inverse .mod-more .link { color: var(--p-inv-ink); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.case { padding: var(--s-5); border-radius: 18px; background: var(--surface); }
.case__k { margin: 0 0 var(--s-2); font-size: 14px; font-weight: 500; color: var(--action); }
.case h3 { margin: 0 0 var(--s-3); font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: -.02em; }
.case p:last-child { margin: 0; line-height: 1.5; color: var(--muted); }
@media (max-width: 1023px) { .cases { grid-template-columns: minmax(0, 1fr); } }
#ceny .price small { font-size: 18px; letter-spacing: 0; color: inherit; opacity: .7; }
#ceny .card--plan { min-height: 0; }
.exp { list-style: none; margin: 0 0 var(--s-7); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.exp li { border-top: 2px solid var(--ink); padding-top: var(--s-3); color: var(--muted); line-height: 1.45; }
.exp b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 20px; font-weight: 500; }
@media (max-width: 767px) { .exp { grid-template-columns: minmax(0, 1fr); } }
.mod-rows:not(:has(.is-active)) .mod-more { display: block; }
/* ceník: ukázkové nabídky jako dokument nabídky */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-items: start; }
.offer { display: flex; flex-direction: column; padding: var(--s-5) var(--s-5) var(--s-4); border: 1px solid var(--line); border-radius: 18px; background: #fffdf9; box-shadow: 0 1px 0 rgba(27, 42, 68, .04), 0 14px 34px -22px rgba(27, 42, 68, .35); }
.offer__head { padding-bottom: var(--s-3); border-bottom: 2px solid var(--ink); }
.offer__no { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.offer__head h3 { margin: 0; font: var(--display-weight) 28px/1.15 var(--font-display); letter-spacing: -.02em; }
.offer__size { margin: 4px 0 0; color: var(--action); font-weight: 500; }
.offer__story { margin: var(--s-3) 0; line-height: 1.5; color: var(--muted); }
.offer__t { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.offer__t td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.offer__t td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.offer__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: var(--s-3); }
.offer__sum b { font: var(--display-weight) 30px/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer__run { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 1023px) { .offers { grid-template-columns: minmax(0, 1fr); } }
.runs { width: 100%; border-collapse: collapse; font-size: 17px; }
.runs th, .runs td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.runs thead th { font-size: 14px; font-weight: 500; color: var(--muted); }
.runs tbody th { font-weight: 500; }
.runs td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; }
@media (max-width: 639px) { .runs thead { display: none; } .runs tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); } .runs th, .runs td { border: 0; padding: 2px 0; } }
/* ultrawide: 3D smyčka u #dnes a karty postupu drží šířku obsahu (hlášení z 3430 px monitoru) */
@media (min-width: 1800px) {
  #dnes .ly-track { left: 50%; right: auto; width: 2000px; transform: translateX(-50%); }
  #postup .step-view { overflow-x: clip; overflow-y: visible; }
}
.dm-poster { justify-content: flex-end; padding-bottom: 28px; background: linear-gradient(180deg, rgba(16, 27, 46, 0) 0%, rgba(16, 27, 46, .15) 22%, rgba(16, 27, 46, .86) 52%, rgba(16, 27, 46, .95) 100%); backdrop-filter: none; }
.dm-poster h3 { text-shadow: 0 2px 18px rgba(16, 27, 46, .6); }

/* vlna ladění 11. 11.: světlo za kurzorem na kartách, plynulý přechod mezi stránkami */
@media (hover: hover) {
  .case, .offer, .feat-card, .card--plan, .contact-card { position: relative; isolation: isolate; }
  :is(.case, .offer, .feat-card, .card--plan, .contact-card)::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 113, 111, .13), transparent 70%); opacity: 0; transition: opacity 240ms ease; pointer-events: none; }
  :is(.case, .offer, .feat-card, .card--plan, .contact-card):hover::after { opacity: 1; }
  .case, .offer { transition: transform 240ms cubic-bezier(.23, 1, .32, 1), box-shadow 240ms ease; }
  .case:hover, .offer:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 160ms ease both vt-out; }
  ::view-transition-new(root) { animation: 260ms cubic-bezier(.23, 1, .32, 1) both vt-in; }
  .nav { view-transition-name: site-nav; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* menší mezery mezi sekcemi domovské stránky + ukazatel scrollu (připomínka 11. 11.) */
main > section.auto:not(.page-hero):not(.sx-intro) { padding-top: 88px; padding-bottom: 72px; }
main > section.auto.gains { padding-top: 40px; }
.hero { position: relative; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; transition: opacity 300ms ease; }
.scroll-cue i, .sx-cue i { position: relative; width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; }
.scroll-cue i::after, .sx-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 3px; background: #e07a3a; animation: cue 1.6s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(12px); opacity: 0; } }
.is-scrolled .scroll-cue { opacity: 0; pointer-events: none; }
.sx-cue { display: none; }
@media (min-width: 1024px) { .sx-cue { display: flex; align-items: center; gap: 12px; margin: var(--s-4) 0 0; font-size: 15px; font-weight: 500; color: var(--action); } .sx-cue i { flex: none; } }
@media (max-width: 1023px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after, .sx-cue i::after { animation: none; } }

/* vějíř karet oborů (11. 11.) */
main > section.auto > .wrap > .fill { flex: none; }
.cf { --cf-w: 540px; margin-top: var(--s-5); }
.cf__stage { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.cf-card { flex: none; width: min(86vw, var(--cf-w)); scroll-snap-align: center; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #1b2a44; color: #f5f0e8; box-shadow: 0 30px 60px -34px rgba(27, 42, 68, .7); }
.cf-card__screen { position: relative; overflow: hidden; background: #f5f7f8; }
.cf .ss-app { width: 732px; grid-template-columns: minmax(0, 1fr); border-radius: 0; box-shadow: none; transform-origin: 0 0; }
.cf .ss-side, .cf .ss-main .dm-tools { display: none; }
.cf-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 20px; }
.cf-card__foot h3 { margin: 0 0 2px; font: var(--display-weight) 26px/1.15 var(--font-display); letter-spacing: -.02em; color: #fff; }
.cf-card__foot p { margin: 0; font-size: 15px; line-height: 1.35; color: rgba(245, 240, 232, .8); }
.cf-card__foot .btn { flex: none; background: #e07a3a; color: #fff; border: 0; white-space: nowrap; }
.cf__nav { display: none; }
.cf-more { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; align-items: center; color: var(--muted); }
.cf-more a { display: block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; transition: border-color 160ms ease, background 160ms ease; }
@media (hover: hover) { .cf-more a:hover { border-color: var(--action); background: rgba(10, 113, 111, .06); } }
@media (max-width: 639px) { .cf-card__foot { flex-direction: column; align-items: flex-start; } }
.cf.is-live .cf__stage { position: relative; display: block; overflow: visible; height: calc(var(--cf-w) * 0.874 + 118px); perspective: 1700px; padding: 0; touch-action: pan-y; }
.cf.is-live .cf-card { position: absolute; left: 50%; top: 0; width: var(--cf-w); margin-left: calc(var(--cf-w) / -2); cursor: pointer; user-select: none; transform: translateX(calc(var(--d) * 56%)) translateZ(calc(var(--far) * -170px)) rotateY(calc(var(--d) * -24deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 620ms cubic-bezier(.23, 1, .32, 1), box-shadow 400ms ease; will-change: transform; }
.cf.is-live .cf-card.is-active { cursor: default; box-shadow: 0 50px 90px -40px rgba(27, 42, 68, .85); }
.cf.is-live .cf-card:not(.is-active) .cf-card__foot .btn { opacity: 0; }
.cf.is-live .cf-card__foot .btn { transition: opacity 300ms ease; }
.cf.is-live .cf__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: var(--s-4); }
.cf__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--surface); }
.cf__tab { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background 200ms ease, color 200ms ease; }
.cf__tab.is-on { background: var(--ink); color: var(--bg); }
.cf__arrow { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; color: var(--ink); transition: transform 160ms ease, border-color 160ms ease; }
.cf__arrow:active { transform: scale(.94); } .cf__tab:focus-visible, .cf__arrow:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
@media (hover: hover) { .cf__arrow:hover { border-color: var(--ink); } }
@media (min-width: 1024px) and (max-width: 1279px) { .cf { --cf-w: 460px; } }
.cf.is-live .cf-card::after { content: ""; position: absolute; inset: 0; background: var(--bg, #f5f0e8); opacity: calc(var(--far) * .42); transition: opacity 400ms ease; pointer-events: none; }
.cf.is-live .cf-card__foot { min-height: 118px; }
.cf { --cf-w: 500px; }

/* vějíř oborů v rukopisu webu: krémové karty s tmavou linkou jako v hero, smyčka za kartami (hlášení 12. 11.) */
.cf-card { background: #f5f0e8; color: var(--ink); border: 2.5px solid #1b2a44; box-shadow: 0 30px 50px -34px rgba(27, 42, 68, .55); }
.cf-card__screen { border-bottom: 2.5px solid #1b2a44; }
.cf-card__foot h3 { color: var(--ink); } .cf-card__foot p { color: var(--muted); }
.cf-card__foot .btn { background: var(--action); color: #fff; }
.cf.is-live .cf-card { transform: translateX(calc(var(--d) * 58%)) translateZ(calc(var(--far) * -210px)) rotateY(calc(var(--d) * -27deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.cf.is-live .cf-card.is-jump { transition: none; }
.cf.is-live .cf-card.is-active { box-shadow: 8px 10px 0 0 #1b2a44, 0 46px 70px -36px rgba(27, 42, 68, .7); animation: cf-float 5s ease-in-out infinite; }
.cf.is-live .cf-card.is-active .cf-card__foot h3::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 6px; border-radius: 4px; background: #e07a3a; }
@keyframes cf-float { 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .cf.is-live .cf-card.is-active { animation: none; } }
#obory { overflow-x: clip; }

/* Logy u kraje obrazovky + okno s dotazem (13. 11.) */
.lp { position: fixed; right: 0; top: 46%; z-index: 40; display: flex; align-items: flex-start; gap: 4px; transform: translateX(calc(100% + 320px)); visibility: hidden; transition: transform 520ms cubic-bezier(.23, 1, .32, 1), visibility 0s linear 520ms; pointer-events: none; }
.lp.is-on { transform: translateX(0); visibility: visible; transition-delay: 0s; }
/* vykukuje zprava: z boku je vidět hlava a rameno, zbytek postavy je za krajem obrazovky */
.lp__btn { all: unset; cursor: pointer; pointer-events: auto; display: block; width: 190px; height: 268px; margin-right: -128px; transform: rotate(-30deg); transform-origin: 60% 100%; transition: transform 320ms cubic-bezier(.23, 1, .32, 1), margin 320ms cubic-bezier(.23, 1, .32, 1); }
.lp__logy, .lp__logy svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lp.is-saying .lp__btn, .lp__btn:focus-visible { margin-right: -84px; transform: rotate(-24deg); }
@media (hover: hover) { .lp__btn:hover { margin-right: -84px; transform: rotate(-24deg); } }
.lp__btn:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 12px; }
.lp__btn:active { transform: rotate(-24deg) scale(.96); }
@media (max-width: 699px) { .lp { top: auto; bottom: 150px; } .lp__btn { width: 130px; height: 184px; margin-right: -78px; } .lp.is-saying .lp__btn, .lp__btn:focus-visible { margin-right: -60px; } }
.lp__say { pointer-events: auto; position: relative; margin: 8px 0 0; max-width: 210px; padding: 12px 34px 12px 14px; border-radius: 16px 16px 4px 16px; background: #fff; border: 2.5px solid #1b2a44; box-shadow: 5px 6px 0 #1b2a44; font-size: 15px; font-weight: 500; line-height: 1.35; color: #1b2a44; animation: lp-pop 300ms cubic-bezier(.23, 1, .32, 1); }
.lp__say button { all: unset; cursor: pointer; position: absolute; right: 4px; top: 2px; width: 28px; height: 28px; display: grid; place-items: center; font-size: 18px; color: var(--muted); }
@keyframes lp-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.lp-dlg { width: min(760px, calc(100vw - 32px)); padding: 0; border: 2.5px solid #1b2a44; border-radius: 22px; background: #f5f0e8; color: #1b2a44; box-shadow: 8px 10px 0 #1b2a44; overflow: visible; }
.lp-dlg[open] { display: grid; grid-template-columns: 240px minmax(0, 1fr); animation: lp-pop 280ms cubic-bezier(.23, 1, .32, 1); }
.lp-dlg::backdrop { background: rgba(27, 42, 68, .55); }
.lp-dlg__logy { align-self: end; height: 340px; padding: 24px 0 0 16px; } .lp-dlg__logy svg { width: 100%; height: 100%; overflow: visible; }
.lp-dlg__form { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 24px 12px; }
.lp-dlg__form h2 { margin: 0; font: var(--display-weight) 30px/1.12 var(--font-display); letter-spacing: -.02em; }
.lp-dlg__form p { margin: 0; color: var(--muted); }
.lp-dlg__form label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; }
.lp-dlg__form input, .lp-dlg__form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid #c9c2b4; border-radius: 10px; background: #fff; color: inherit; resize: vertical; }
.lp-dlg__form input:focus-visible, .lp-dlg__form textarea:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.lp-dlg__form small { color: var(--muted); font-size: 12.5px; } .lp-dlg__form .btn { align-self: flex-start; }
.lp-dlg__err { color: #a0370f !important; font-weight: 500; }
.lp-dlg__x { all: unset; cursor: pointer; position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 26px; border-radius: 50%; }
.lp-dlg__x:focus-visible { outline: 2px solid var(--action); }
@media (max-width: 1023px) { .lp { bottom: 84px; } .lp__btn { width: 76px; height: 110px; margin-right: -26px; } .lp__say { margin-bottom: 66px; max-width: 180px; font-size: 14px; } }
@media (max-width: 639px) { .lp-dlg[open] { grid-template-columns: minmax(0, 1fr); } .lp-dlg__logy { display: none; } .lp-dlg__form { padding: 24px 20px 20px; } }
@media (prefers-reduced-motion: reduce) { .lp, .lp__btn { transition: none; } .lp__say, .lp-dlg[open] { animation: none; } }

/* poptávka: štítky „co řešíte“, co bude následovat, stav po odeslání */
.form--lead > :is(.chips, .hp) { grid-column: 1 / -1; }
.form .field label small, .chips legend small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: var(--t-small); font-weight: 500; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 99px; font-size: 16px; font-weight: 500; line-height: 1.2; transition: background-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.chip input:checked + span { background: var(--ink); color: var(--bg, #f5f0e8); }
.chip input:checked + span::before { content: ""; width: 11px; height: 6px; margin-top: -3px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); }
.chip input:active + span { transform: scale(.97); }
.chip input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
@media (hover: hover) { .chip input:not(:checked):hover + span { background: var(--surface); } }
.chip--att span { border-style: dashed; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.form--lead .btn-row .btn { min-height: 52px; padding-inline: 28px; font-size: 18px; }
.lead-done { padding: var(--s-6); border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); }
.lead-done:focus { outline: none; }
.lead-done h3 { margin: 0 0 var(--s-2); font-size: clamp(28px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.02em; }
.lead-done p { margin: 0 0 var(--s-4); font-size: 18px; line-height: 1.45; max-width: 30em; }
.next { list-style: none; margin: 0 0 var(--s-5); padding: 0; counter-reset: nx; display: grid; gap: var(--s-4); }
.next li { counter-increment: nx; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s-3); align-items: start; }
.next li::before { content: counter(nx); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; font-weight: 600; font-variant-numeric: tabular-nums; }
.next b { font-size: 19px; font-weight: 500; }
.next span { color: var(--muted); font-size: 16px; line-height: 1.45; }
@media (max-width: 639px) { #poptavka .chips, #poptavka .form__note { margin-bottom: var(--s-4); } #poptavka .next { margin-top: var(--s-6); } .form--lead .btn-row .btn { width: 100%; } }

/* kolik stojí přepisování */
.save { margin-top: var(--s-6); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.save__in { padding: var(--s-5) var(--s-6); display: grid; gap: var(--s-4); align-content: center; }
.save__in h3 { margin: 0; font-size: clamp(24px, 2vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.save__f { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--s-3); align-items: baseline; font-size: 17px; }
.save__f output { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.save__f input { grid-column: 1 / -1; width: 100%; height: 28px; margin: 0; accent-color: var(--action); cursor: pointer; }
.save__out { padding: var(--s-5) var(--s-6); background: var(--p-inv-bg); color: var(--p-inv-ink); display: grid; gap: 4px; align-content: center; justify-items: start; }
.save__out small { font-size: 15px; color: var(--p-inv-muted); }
.save__out b { font: 600 clamp(40px, 4.2vw, 64px)/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.save__out span { font-size: 18px; margin-bottom: var(--s-3); }
.save__out p { margin: var(--s-3) 0 0; font-size: 13.5px; line-height: 1.4; color: var(--p-inv-muted); }
@media (max-width: 767px) { .save { grid-template-columns: minmax(0, 1fr); } .save__in, .save__out { padding: var(--s-4); } }
@media (prefers-reduced-motion: reduce) { .chip span { transition: none; } }
/* když je formulář na obrazovce, spodní lišta ani Logy ho nepřekrývají */
html[data-lead-view="1"] .actionbar { transform: translateY(100%) !important; visibility: hidden !important; }
html[data-lead-view="1"] .lp.is-on { transform: translateX(calc(100% + 320px)); visibility: hidden; transition-delay: 0s, 520ms; }
/* skutečná fotka vozu ve filmu autoservisu */
.sig-car svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-car .spot circle:first-child { stroke: #fff; stroke-width: 2.5; }
.sig-car .ring { stroke: #fff; opacity: .9; }
.sig-car .ed-plate { z-index: 1; padding: 4px 10px; border-radius: 99px; background: rgba(17, 24, 39, .78); color: #fff; }
.nav__bug[hidden] { display: none; }
/* přepínač jazyka v hlavičce */
.nav__lang { display: inline-grid; place-items: center; min-width: var(--btn-h); height: var(--btn-h); padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--ink); text-decoration: none; flex: none; transition: background-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.nav__lang:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .nav__lang:hover { background-color: rgba(27, 42, 68, .07); } }
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .nav__langs { display: block; }
  .nav:not(.is-open) .nav__langs > .nav__lang { min-width: 44px; height: 44px; padding: 0 8px; }
  .nav:not(.is-open) .nav__actions { gap: 8px; }
  .nav.is-open .nav__actions > .nav__langs { display: block; align-self: center; }
}
/* nabídka jazyků pod tlačítkem */
.nav__langs { position: relative; flex: none; }
.nav__langs > summary { list-style: none; cursor: pointer; user-select: none; }
.nav__langs > summary::-webkit-details-marker { display: none; }
.nav__langs[open] > summary { background-color: rgba(27, 42, 68, .07); }
.nav__langs-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; display: grid; min-width: 168px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(17, 24, 39, .12); }
.nav__langs-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__langs-menu a:active { background-color: rgba(27, 42, 68, .1); }
@media (hover: hover) and (pointer: fine) { .nav__langs-menu a:hover { background-color: rgba(27, 42, 68, .07); } }
@media (prefers-reduced-motion: no-preference) {
  .nav__langs[open] > .nav__langs-menu { animation: langs-in 160ms cubic-bezier(.23, 1, .32, 1); transform-origin: top right; }
}
@keyframes langs-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
/* na běžných šířkách je obsah skoro u kraje: Logy je menší a vykukuje jen hlavou, aby nepřekrýval text a ceny */
@media (min-width: 700px) and (max-width: 1759px) {
  .lp__btn { width: 128px; height: 180px; margin-right: -88px; }
  .lp.is-saying .lp__btn, .lp__btn:focus-visible { margin-right: -62px; }
  .lp__say { max-width: 176px; padding: 10px 30px 10px 12px; font-size: 14px; }
}
@media (min-width: 700px) and (max-width: 1759px) and (hover: hover) { .lp__btn:hover { margin-right: -62px; } }
.proof { flex-wrap: wrap; }
.proof dd { font-size: clamp(48px, 5.4vw, 88px); white-space: nowrap; }
/* slovenská verze: filmy oborů kreslí skript česky, stránka to přizná */
html[lang="sk"] .dm-o-k::after { content: " · ukážka je v češtine"; }
/* telefon: sekce Dnes a Ceny mají výšku podle obsahu, ne dvě pevné obrazovky s prázdným místem */
@media (max-width: 639px) {
  main > #ceny, main > #dnes { height: auto; min-height: 0; }
  main > #ceny { padding-bottom: var(--s-7); }
  /* Logy na telefonu jen vykukuje hlavou a nemluví: bublina by překrývala text */
  .lp { bottom: 96px; }
  .lp__btn { width: 96px; height: 136px; margin-right: -72px; }
  .lp.is-saying .lp__btn, .lp__btn:focus-visible { margin-right: -72px; }
  .lp__say { display: none; }
}
@media (max-width: 639px) {
  /* telefon: obsahové sekce nezabírají celou obrazovku, když mají jen pár řádků */
  main > section.auto:not(.hero) { height: auto; min-height: 0; }
  main > section.sx-intro { padding-block: var(--s-7) var(--s-5); }
}
/* přechod mezi stránkami: obsah se prolne, hlavička zůstává na místě (prohlížeče bez podpory přejdou běžně) */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out 160ms cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 320ms cubic-bezier(.23, 1, .32, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* Poskládejte si svůj systém: ovládání vlevo, živý náhled systému vpravo */
.bw__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: var(--s-6); align-items: start; }
.bw__form { display: grid; gap: var(--s-5); }
.bw__name { display: grid; gap: 8px; font-size: var(--t-small); font-weight: 500; }
.bw__name input { height: 52px; padding: 0 16px; border: 1px solid var(--ink); border-radius: var(--r-md); background: var(--bg); color: var(--ink); font: 500 19px/1 var(--font-text); }
.bw__name input:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.bw__form .btn { min-height: 52px; padding-inline: 28px; font-size: 18px; }
.bw__stage { position: sticky; top: 96px; min-width: 0; }
.bw-win { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 520px; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: #f5f7f8; box-shadow: 10px 12px 0 var(--ink); color: var(--ink); }
.bw-side { padding: 16px 10px; background: #111c2e; color: #dfe6ee; display: flex; flex-direction: column; gap: 2px; }
.bw-side .dm-logo { height: 17px; margin: 2px 8px 14px; align-self: flex-start; filter: brightness(0) invert(1); }
.bw-side .dm-nav { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; font-size: 14px; animation: bw-in 320ms cubic-bezier(.23, 1, .32, 1) both; }
.bw-side .dm-nav.is-on { background: rgba(127, 227, 227, .14); color: #fff; }
.bw-side [data-bw-menu] { display: flex; flex-direction: column; gap: 2px; }
.bw-side [data-bw-menu] .dm-nav:nth-child(2) { animation-delay: 40ms; } .bw-side [data-bw-menu] .dm-nav:nth-child(3) { animation-delay: 80ms; } .bw-side [data-bw-menu] .dm-nav:nth-child(4) { animation-delay: 120ms; } .bw-side [data-bw-menu] .dm-nav:nth-child(n+5) { animation-delay: 160ms; }
.bw-main { min-width: 0; padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.bw-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bw-search { flex: 0 1 260px; padding: 7px 12px; border: 1px solid #e1e6e8; border-radius: 8px; background: #fff; color: var(--muted); font-size: 13px; }
.bw-user { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--action); color: #fff; font-size: 12.5px; font-weight: 600; }
.bw-head small { color: var(--muted); font-size: 13px; }
.bw-head h3 { margin: 2px 0; font: 600 clamp(24px, 2.2vw, 32px)/1.1 var(--font-display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.bw-head p { margin: 0; color: var(--muted); font-size: 15px; }
.bw-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bw-kpi, .bw-card { background: #fff; border: 1px solid #e1e6e8; border-radius: 12px; padding: 12px 14px; min-width: 0; }
.bw-kpi { animation: bw-in 360ms cubic-bezier(.23, 1, .32, 1) both; }
.bw-kpi:nth-child(2) { animation-delay: 50ms; } .bw-kpi:nth-child(3) { animation-delay: 100ms; } .bw-kpi:nth-child(4) { animation-delay: 150ms; } .bw-kpi:nth-child(n+5) { animation-delay: 200ms; }
.bw-kpi small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-kpi b { display: block; margin: 2px 0; font: 600 28px/1.15 var(--font-display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.bw-kpi span { display: block; font-size: 12.5px; color: var(--action); font-weight: 500; }
.bw-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed #b9c3cc; border-radius: 12px; color: var(--muted); font-size: 15px; }
.bw-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.bw-card h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14.5px; font-weight: 600; }
.bw-card p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.bw-ai { background: #e8f3f2; border-color: #bfdcda; }
.bw-ai .dm-ic { background: var(--action); color: #fff; }
.bw-ai[hidden] { display: none; }
.bw-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #eef1f2; }
.bw-row:first-child { border-top: 0; }
.bw-row b { font-weight: 500; color: var(--muted); white-space: nowrap; }
@keyframes bw-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1023px) { .bw__grid { grid-template-columns: minmax(0, 1fr); } .bw__stage { position: static; } }
@media (max-width: 639px) {
  .bw-win { grid-template-columns: minmax(0, 1fr); min-height: 0; box-shadow: 6px 7px 0 var(--ink); }
  .bw-side { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; gap: 4px; }
  .bw-side .dm-logo { margin: 0 8px 0 4px; }
  .bw-side [data-bw-menu] { flex-direction: row; flex-wrap: wrap; }
  .bw-side .dm-nav { padding: 5px 8px; font-size: 12.5px; }
  .bw-main { padding: 12px; }
  .bw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bw-kpi b { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .bw-kpi, .bw-side .dm-nav { animation: none; } }
.bw-kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bw-kpi small { white-space: normal; overflow: visible; line-height: 1.3; min-height: 2.6em; }
/* stín pod 3D scénou v úvodu nekončí ostrou hranou u kraje plátna */
@media (min-width: 640px) { .hero__stage.ly-stage canvas { -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); } }

/* příklady: klikací karty a stránka příběhu (přišli pro X → našli jsme Y → postavili Z → co se změnilo) */
.case--link { display: flex; flex-direction: column; color: inherit; text-decoration: none; border: 1px solid transparent; transition: border-color 200ms ease, transform 200ms cubic-bezier(.23, 1, .32, 1); }
.case--link p { margin: 0 0 var(--s-4); line-height: 1.5; color: var(--muted); }
.case--link .case__k { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: var(--s-2); color: var(--action); }
.case__k span { color: var(--muted); font-weight: 400; }
.case__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.case--link:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.case--link:active { transform: scale(.99); }
@media (hover: hover) { .case--link:hover { border-color: var(--ink); } }
.cases__all { margin: var(--s-6) 0 0; }
.case-flag { display: inline-block; margin: var(--s-4) 0 0; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 15px; color: var(--muted); }
.case-story { display: grid; gap: var(--s-7); max-width: 1040px; }
.case-step__k { margin: 0 0 var(--s-3); font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--action); }
.case-step__t { margin: 0; max-width: 34em; font: var(--display-weight) clamp(24px, 2.2vw, 32px)/1.3 var(--font-display); letter-spacing: -.02em; }
.case-finds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.case-finds .feat-card { padding: var(--s-5); }
.case-finds .feat-card h3 { font-size: 21px; line-height: 1.25; }
.case-finds .feat-card p { color: var(--muted); line-height: 1.5; }
.case-result { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.case-result li { padding: var(--s-5); border-radius: var(--r-lg); background: var(--p-inv-bg); color: var(--p-inv-ink); font: var(--display-weight) 21px/1.3 var(--font-display); letter-spacing: -.01em; }
@media (max-width: 899px) { .case-finds, .case-result { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .case--link { transition: none; } }
/* konfigurátor na telefonu: shrnutí výběru drží nahoře, celý náhled je pod ovládáním */
.bw__mini { display: none; }
@media (max-width: 1023px) {
  .bw__mini { position: sticky; top: 68px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 14px; background: #111c2e; color: #dfe6ee; font-size: 13px; box-shadow: 4px 5px 0 var(--ink); }
  .bw__mini b { flex-basis: 100%; font-size: 15px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
  .bw__mini span { padding: 3px 9px; border-radius: 99px; background: rgba(127, 227, 227, .16); animation: bw-in 260ms cubic-bezier(.23, 1, .32, 1) both; }
}
@media (prefers-reduced-motion: reduce) { .bw__mini span { animation: none; } }

/* Situace „Dnes / Se systémem“: převzato 1:1 z prototypu kolegy (hlášení 18. 11. 2026), třídy s předponou pw-. Generuje claude_tmp/proto-port.py. */
.pw { --pw-bg: #F5F0E8; --pw-surface: #FFFDF9; --pw-ink: #1B2A44; --pw-muted: #5E6878; --pw-line: #E2D9CB; --pw-teal: #0A716F; --pw-teal-soft: #DCEEEA; --pw-bad: #A33A25; --pw-bad-soft: #F6E1DA; --pw-warn: #85540D; --pw-warn-soft: #F5E8CF; --pw-stage: #1B2A44; --pw-stage-ink: #F5F0E8; --pw-app: #F5F7F8; --pw-avatar: #3D7A71; --pw-mono: var(--font-text); font-size: 16px; line-height: 1.55; }
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw h2 { max-width: 18ch; }
.pw-eyebrow { font: 500 13px/1 var(--font-text); color: var(--pw-teal); letter-spacing: .02em; margin: 0 0 14px; }
.pw-lead { color: var(--pw-muted); max-width: 56ch; margin: 18px 0 0; font-size: 18px; }

.pw-scenes { display: grid; gap: clamp(56px, 9vw, 120px); margin-top: clamp(48px, 7vw, 88px); }
.pw-scene { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.pw-scene:nth-child(even) .pw-copy { order: 2; }
@media (max-width: 820px) {
  .pw-scene { grid-template-columns: minmax(0, 1fr); }
  .pw-scene:nth-child(even) .pw-copy { order: 0; }
}
.pw-copy h3 { font: 500 clamp(22px, 2.6vw, 28px)/1.2 var(--font-text); letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; }
.pw-copy p { margin: 0; color: var(--pw-muted); max-width: 44ch; }
.pw-copy .pw-gain { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; color: var(--pw-ink); font-weight: 500; }
.pw-copy .pw-gain::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--pw-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* ---- stage ---- */
.pw-stage { background: var(--pw-app); border: 2.5px solid var(--pw-ink); border-radius: 22px; padding: 16px 18px 18px; min-width: 0;
  box-shadow: 0 30px 50px -34px rgba(27,42,68,.55); }
.pw-stage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pw-stage-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pw-stage-title .pw-av { width: 28px; height: 28px; background: var(--pw-avatar); color: #fff; font-size: 11px; flex: none; }
.pw-stage-title small { display: block; font: 400 11.5px/1.3 var(--font-text); color: var(--pw-muted); }
.pw-stage-title b { display: block; font: 600 16px/1.25 var(--font-text); color: var(--pw-ink); }
.pw-toggle { display: inline-flex; background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 999px; padding: 3px; }
.pw-toggle button { font: 500 13px/1 var(--font-text); border: 0; background: transparent; color: var(--pw-muted);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.pw-toggle button[aria-pressed="true"] { background: var(--pw-ink); color: var(--pw-bg); }
.pw-toggle button:focus-visible { outline: 2px solid var(--pw-teal); outline-offset: 2px; }
.pw-screen { display: grid; }
.pw-state { grid-area: 1 / 1; min-width: 0; transition: opacity .45s ease, transform .45s ease; }
.pw-state.pw-now { opacity: 1; transform: none; }
.pw-state.pw-sys { opacity: 0; transform: translateY(8px); pointer-events: none; }
.pw-stage.pw-is-sys .pw-state.pw-now { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.pw-stage.pw-is-sys .pw-state.pw-sys { opacity: 1; transform: none; pointer-events: auto; }

.pw-mono { font-family: var(--pw-mono); font-variant-numeric: tabular-nums; }
.pw-pill { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-text); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.pw-pill.pw-bad { background: var(--pw-bad-soft); color: var(--pw-bad); }
.pw-pill.pw-ok { background: var(--pw-teal-soft); color: var(--pw-teal); }
.pw-pill.pw-warn { background: var(--pw-warn-soft); color: var(--pw-warn); }

/* scéna 1: přepisování */
.pw-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .pw-apps { grid-template-columns: minmax(0, 1fr); } }
.pw-app { border: 1px solid var(--pw-line); border-radius: 10px; overflow: hidden; background: var(--pw-surface); }
.pw-app-h { font: 500 11px/1 var(--pw-mono); color: var(--pw-muted); padding: 8px 10px; border-bottom: 1px solid var(--pw-line); display: flex; gap: 6px; align-items: center; }
.pw-app-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--pw-line); display: inline-block; }
.pw-app-b { padding: 10px; display: grid; gap: 6px; font-size: 13px; }
.pw-row { display: flex; justify-content: space-between; gap: 8px; }
.pw-row span:first-child { color: var(--pw-muted); }
.pw-typo { color: var(--pw-bad); text-decoration: underline wavy var(--pw-bad); text-underline-offset: 3px; }
.pw-typing { overflow: hidden; white-space: nowrap; }
.pw-stage.pw-play .pw-state.pw-now .pw-app:nth-child(2) { animation: pw-pop .5s .25s both; }
.pw-stage.pw-play .pw-state.pw-now .pw-app:nth-child(3) { animation: pw-pop .5s .55s both; }
.pw-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--pw-muted); }

.pw-one { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
@media (max-width: 520px) { .pw-one { grid-template-columns: minmax(0, 1fr); } .pw-arrows { transform: rotate(90deg); justify-self: center; } }
.pw-card { border: 1px solid var(--pw-line); border-radius: 10px; padding: 12px; background: var(--pw-surface); display: grid; gap: 6px; font-size: 13px; }
.pw-card h4 { margin: 0 0 4px; font: 500 14px/1.3 var(--font-text); }
.pw-targets { display: grid; gap: 8px; }
.pw-target { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--pw-line); border-radius: 10px; padding: 10px 12px; font-size: 13px; background: var(--pw-surface); }
.pw-stage.pw-play .pw-state.pw-sys .pw-target { animation: pw-pop .45s both; }
.pw-stage.pw-play .pw-state.pw-sys .pw-target:nth-child(2) { animation-delay: .15s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-target:nth-child(3) { animation-delay: .3s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-target:nth-child(4) { animation-delay: .45s; }
.pw-arrows { color: var(--pw-teal); font: 500 22px/1 var(--pw-mono); }

/* scéna 2: dotaz */
.pw-ask { display: inline-block; background: var(--pw-ink); color: var(--pw-bg); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; max-width: 100%; }
.pw-calls { display: grid; gap: 8px; }
.pw-call { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--pw-line); border-radius: 10px; padding: 8px 10px; background: var(--pw-surface); font-size: 13px; }
.pw-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--font-text); background: var(--pw-line); color: var(--pw-ink); }
.pw-call em { font-style: normal; color: var(--pw-muted); }
.pw-stage.pw-play .pw-state.pw-now .pw-call { animation: pw-pop .45s both; }
.pw-stage.pw-play .pw-state.pw-now .pw-call:nth-child(2) { animation-delay: .35s; }
.pw-stage.pw-play .pw-state.pw-now .pw-call:nth-child(3) { animation-delay: .7s; }
.pw-status { border: 1px solid var(--pw-line); border-radius: 12px; padding: 14px; background: var(--pw-surface); display: grid; gap: 12px; }
.pw-status-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.pw-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pw-steps div { height: 8px; border-radius: 4px; background: var(--pw-line); }
.pw-steps .pw-done { background: var(--pw-teal); }
.pw-steps .pw-run { background: linear-gradient(90deg, var(--pw-teal) 60%, var(--pw-line) 60%); }
.pw-steps-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; font: 400 11px/1.2 var(--pw-mono); color: var(--pw-muted); }
.pw-answer { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }

/* scéna 3: týden */
.pw-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pw-day { border: 1px solid var(--pw-line); border-radius: 10px; padding: 8px; min-height: 150px; background: var(--pw-surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pw-day b { font: 500 11px/1 var(--pw-mono); color: var(--pw-muted); }
.pw-ev { font-size: 12px; line-height: 1.3; border-radius: 6px; padding: 6px; background: var(--pw-app); border: 1px solid var(--pw-line); overflow-wrap: anywhere; }
.pw-ev.pw-bad { background: var(--pw-bad-soft); color: var(--pw-bad); border-color: transparent; font-weight: 500; }
.pw-ev.pw-warn { background: var(--pw-warn-soft); color: var(--pw-warn); border-color: transparent; font-weight: 500; }
.pw-ev.pw-ok { background: var(--pw-teal-soft); color: var(--pw-teal); border-color: transparent; font-weight: 500; }
.pw-stage.pw-play .pw-ev.pw-hot { animation: pw-pop .5s .4s both; }
@media (max-width: 520px) { .pw-week { grid-template-columns: minmax(0, 1fr); } .pw-day { min-height: 0; } }

/* scéna 4: dovolená */
.pw-who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.pw-who .pw-av { width: 42px; height: 42px; }
.pw-cust { display: grid; gap: 8px; }
.pw-cline { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; font-size: 13px; padding: 8px 10px; border: 1px solid var(--pw-line); border-radius: 10px; background: var(--pw-surface); }
.pw-cline span:first-child { font-family: var(--pw-mono); color: var(--pw-muted); font-size: 12px; }
.pw-blur span:last-child { filter: blur(3.5px); color: var(--pw-muted); user-select: none; }
.pw-stage.pw-play .pw-state.pw-sys .pw-cline { animation: pw-pop .4s both; }
.pw-stage.pw-play .pw-state.pw-sys .pw-cline:nth-child(2) { animation-delay: .12s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-cline:nth-child(3) { animation-delay: .24s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-cline:nth-child(4) { animation-delay: .36s; }

/* část 2: data */
.pw-part2 { margin-top: clamp(80px, 11vw, 140px); }
.pw-fine { font-size: 12.5px; color: var(--pw-muted); margin-top: 14px; }
.pw-tbl { display: grid; gap: 6px; }
.pw-tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 64px; gap: 10px; align-items: center; background: var(--pw-surface);
  border: 1px solid var(--pw-line); border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.pw-tr.pw-h { background: transparent; border-color: transparent; padding-block: 0; font: 500 11px/1.2 var(--pw-mono); color: var(--pw-muted); }
.pw-tr .pw-num { text-align: right; font-family: var(--pw-mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.pw-tr .pw-q { color: var(--pw-muted); font-family: var(--pw-mono); }
.pw-tr small { display: block; color: var(--pw-muted); font-size: 11.5px; }
.pw-bar { height: 8px; border-radius: 4px; background: var(--pw-line); position: relative; overflow: hidden; }
.pw-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--pw-teal); width: var(--w); transform-origin: left; }
.pw-bar.pw-neg i { background: var(--pw-bad); }
.pw-stage.pw-play .pw-state.pw-sys .pw-bar i { animation: pw-grow .8s both; }
.pw-stage.pw-play .pw-state.pw-sys .pw-tr:nth-child(3) .pw-bar i { animation-delay: .1s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-tr:nth-child(4) .pw-bar i { animation-delay: .2s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-tr:nth-child(5) .pw-bar i { animation-delay: .3s; }
.pw-num.pw-bad { color: var(--pw-bad); } .pw-num.pw-ok { color: var(--pw-teal); }
.pw-split { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--pw-line); }
.pw-split .pw-w { background: var(--pw-teal); } .pw-split .pw-r { background: var(--pw-warn); opacity: .7; }
.pw-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--pw-muted); margin-top: 10px; }
.pw-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.pw-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
@media (max-width: 520px) { .pw-kpis { grid-template-columns: minmax(0, 1fr); } }
.pw-kpi { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 10px; padding: 10px 12px; }
.pw-kpi small { display: block; font-size: 11.5px; color: var(--pw-muted); }
.pw-kpi b { font: 500 20px/1.2 var(--pw-mono); font-variant-numeric: tabular-nums; }
.pw-verdict { margin-top: 12px; background: var(--pw-teal-soft); color: var(--pw-teal); border-radius: 10px; padding: 12px 14px; font-weight: 500; font-size: 14px; }
.pw-guess { display: grid; gap: 8px; }
.pw-bubble { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 13.5px; max-width: 90%; }
.pw-bubble em { font-style: normal; color: var(--pw-muted); display: block; font-size: 11.5px; margin-bottom: 2px; }
.pw-stage.pw-play .pw-state.pw-now .pw-bubble { animation: pw-pop .45s both; }
.pw-stage.pw-play .pw-state.pw-now .pw-bubble:nth-child(2) { animation-delay: .35s; }
.pw-stage.pw-play .pw-state.pw-now .pw-bubble:nth-child(3) { animation-delay: .7s; }
.pw-ai { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 12px; padding: 14px; display: grid; gap: 12px; }
.pw-ai-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.pw-ai-h .pw-dot { width: 22px; height: 22px; border-radius: 6px; background: var(--pw-ink); color: var(--pw-bg); display: grid; place-items: center; font: 600 11px/1 var(--pw-mono); }
.pw-tip { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: center; border-top: 1px solid var(--pw-line); padding-top: 10px; font-size: 13px; }
.pw-tip b { display: block; font-weight: 500; color: var(--pw-ink); margin-bottom: 2px; }
.pw-tip span { color: var(--pw-muted); }
.pw-tip svg { width: 96px; height: 34px; }
.pw-tip .pw-pill { margin-top: 6px; }
@media (max-width: 520px) { .pw-tip { grid-template-columns: minmax(0, 1fr); } }
.pw-stage.pw-play .pw-state.pw-sys .pw-tip { animation: pw-pop .45s both; }
.pw-stage.pw-play .pw-state.pw-sys .pw-tip:nth-child(3) { animation-delay: .2s; }
.pw-stage.pw-play .pw-state.pw-sys .pw-tip:nth-child(4) { animation-delay: .4s; }
.pw-spark { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-spark.pw-up { stroke: var(--pw-teal); } .pw-spark.pw-down { stroke: var(--pw-bad); }
.pw-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.pw-file { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 10px; padding: 10px; font-size: 12.5px; }
.pw-file b { display: block; font: 500 12px/1.3 var(--pw-mono); margin-bottom: 4px; }
.pw-file span { color: var(--pw-muted); }
@keyframes pw-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pw-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

/* závěr */
.pw-close { margin-top: clamp(64px, 9vw, 120px); background: var(--pw-stage); color: var(--pw-stage-ink); border-radius: 16px; padding: clamp(24px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
@media (max-width: 720px) { .pw-close { grid-template-columns: minmax(0, 1fr); } }
.pw-close h3 { margin: 0 0 8px; font: 500 clamp(22px, 3vw, 30px)/1.15 var(--font-text); letter-spacing: -.01em; text-wrap: balance; }
.pw-close p { margin: 0; opacity: .78; max-width: 52ch; }

@media (prefers-reduced-motion: reduce) {
  .pw-state { transition: none; }
  .pw-stage.pw-play * { animation: none !important; }
}
main > section.auto#data { padding-top: 24px; }
.pw .pw-part2 { margin-top: 0; }
.pw .pw-close .btn { justify-self: start; }

/* postup jako bodová cesta: scroll přesouvá pozornost na jeden krok, karty leží na sobě */
.road { display: none; }
.step-txt small { display: none; }
@media (min-width: 1024px) {
  main > #postup.pinned { --h: 2.6; }
  #postup.is-road .road { --road: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0 0 var(--s-6); padding: 0; }
  #postup.is-road .road::before, #postup.is-road .road::after { content: ""; position: absolute; left: 19px; top: 18px; width: 75%; height: 3px; border-radius: 3px; background: var(--line); }
  #postup.is-road .road::after { background: var(--action); transform: scaleX(var(--road)); transform-origin: left; transition: transform 500ms cubic-bezier(.23, 1, .32, 1); }
  .road button { all: unset; position: relative; z-index: 1; cursor: pointer; display: grid; gap: 10px; justify-items: start; }
  .road button i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); font: 600 15px/1 var(--font-text); color: var(--muted); transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, transform 300ms cubic-bezier(.23, 1, .32, 1), box-shadow 300ms ease; }
  .road button b { font-size: 17px; font-weight: 500; color: var(--muted); transition: color 250ms ease; }
  .road button.is-done i { background: var(--action); border-color: var(--action); color: #fff; }
  .road button.is-on i { border-color: var(--action); color: var(--action); transform: scale(1.14); box-shadow: 0 0 0 7px rgba(10, 113, 111, .14); }
  .road button.is-on b, .road button.is-done b { color: var(--ink); }
  #postup.is-road .step-view { flex: 1; min-height: 0; display: grid; }
  #postup.is-road .step-track { display: grid; grid-template-columns: minmax(0, 1fr); width: auto; gap: 0; }
  #postup.is-road .step-track > .card { grid-area: 1 / 1; width: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; opacity: 0; visibility: hidden; transform: translateY(28px); transition: opacity 300ms ease-out, transform 450ms cubic-bezier(.23, 1, .32, 1), visibility 0s 300ms; }
  #postup.is-road .step-track > .card.is-past { transform: translateY(-28px); }
  #postup.is-road .step-track > .card.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 120ms, 120ms, 0s; }
  #postup.is-road .step-txt small { display: block; margin-bottom: var(--s-3); font-size: 15px; font-weight: 500; color: var(--action); }
  #postup.is-road .step-txt h3 { margin: 0 0 var(--s-3); font: var(--display-weight) clamp(36px, 3.8vw, 60px)/1.05 var(--font-display); letter-spacing: -.03em; }
  #postup.is-road .step-txt p { margin: 0; max-width: 20em; font-size: 21px; line-height: 1.45; color: var(--muted); }
  #postup.is-road .card > .panel { margin: 0; --p-h: clamp(280px, calc(100svh - 440px), 460px); height: var(--p-h); box-shadow: none; }
  #postup.is-road .pm { width: min(100% - 56px, 480px); font-size: 17px; padding: 26px 30px; }
  #postup.is-road .pm__t { font-size: 22px; margin-bottom: 12px; } #postup.is-road .pm__row { padding: 12px 0; }
}
/* omezený pohyb na počítači: žádné připnutí, čtyři kroky vedle sebe */
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  main > #postup.pinned { --h: 1; height: auto; padding: 88px 0 72px; }
  main > #postup.pinned > .wrap { position: static; height: auto; padding-block: 0; }
  #postup .step-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; }
  #postup .step-track > .card { width: auto; grid-column: auto; }
  #postup .panel { --p-h: 300px; }
  #postup .pm { width: calc(100% - 24px); padding: 16px; }
}

/* patička: na nízkém okně roste s obsahem, logo už nepřekrývá odkazy (hlášení 18. 11.) */
@media (min-width: 640px) {
  footer.closing { height: auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
  footer.closing > .wrap { flex: 1 0 auto; height: auto; grid-template-rows: auto auto; align-content: space-between; }
  .closing__cta { min-height: auto; }
}
/* hlavička 1024–1199: položky se vešly jen přes sebe (hlášení 18. 11.) */
@media (min-width: 1024px) and (max-width: 1359px) { .nav--centre .nav__bar { grid-template-columns: auto minmax(0, 1fr) auto; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__bar { gap: var(--s-4); }
  .nav__actions { gap: var(--s-2); }
  .nav__actions .btn { padding-inline: var(--s-4); }
  .nav__link { padding: 0 6px; }
}
/* ceník: moduly po skupinách */
.runs .runs__group th { padding-top: 28px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted); border-bottom-color: var(--line-strong); }
.runs--mods + .btn-row { margin-top: var(--s-5); }
@media (max-width: 639px) { .runs .runs__group { padding-bottom: 4px; } }
/* čtyři balíčky provozu vedle sebe: „od“ nad cenou, období pod ní, částka se nezalamuje */
#ceny .card--plan .price { display: grid; gap: 2px; font-size: clamp(30px, 2.7vw, 40px); }
#ceny .card--plan .price b { font-weight: inherit; white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1199px) { #ceny .card--plan.span-3 { grid-column: span 6; } }
.grecaptcha-badge { visibility: hidden; } /* místo odznaku je u formuláře textová poznámka s odkazy */
/* kdo článek vydává */
.article__about { display: grid; gap: 6px; margin-top: var(--s-6); padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; line-height: 1.5; }
.article__about b { font-weight: 600; }
.article__about span { color: var(--muted); }
.article__about .link { justify-self: start; }
/* odkazy na sociální sítě v tmavé patičce */
.footer--dark .socials a { color: inherit; border-color: rgba(245, 240, 232, .28); transition: background-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.footer--dark .socials a:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .footer--dark .socials a:hover { background-color: rgba(245, 240, 232, .12); border-color: rgba(245, 240, 232, .5); } }
.footer .footer__legal .socials a { width: 44px; height: 44px; }
.footer .footer__legal .socials svg { width: 20px; height: 20px; }
/* úvodní stránka: nejnovější videa */
.yt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.yt-card { display: grid; gap: 12px; color: var(--ink); text-decoration: none; }
.yt-card__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--line); }
.yt-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms cubic-bezier(.23, 1, .32, 1); }
.yt-card__img::after { content: ""; position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 113, 111, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.yt-card b { font-size: 17px; font-weight: 500; line-height: 1.35; }
.yt-card:active .yt-card__img img { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .yt-card:hover .yt-card__img img { transform: scale(1.03); } .yt-card:hover b { text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 1023px) { .yt-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } .yt-card b { font-size: 15px; } }
.section-head p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* článek z videa: přehrávač, stav k datu */
.yt-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 var(--s-5); border-radius: 16px; overflow: hidden; background: #1b2a44; }
.yt-embed button, .yt-embed iframe, .yt-embed img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; object-fit: cover; }
.yt-embed button { cursor: pointer; background: none; }
.yt-embed button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(10, 113, 111, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 38px no-repeat; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.yt-embed button:active::after { transform: scale(.95); }
.article__state { padding: 14px 18px; border-radius: 12px; background: rgba(27, 42, 68, .05); font-size: 16px; line-height: 1.5; }
.article__body a { color: var(--action); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
/* přihlášení k odběru novinek */
.nl { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-5) var(--s-6); align-items: start; margin-top: var(--s-6); padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.nl__copy { display: grid; gap: 6px; }
.nl__copy b { font-size: 20px; font-weight: 600; }
.nl__copy span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.nl__form { display: grid; gap: 10px; grid-template-columns: 1fr; }
.nl__form > * { grid-column: 1 / -1; }
.nl__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.nl__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.nl__check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--action); }
.nl .lead-done { grid-column: 1 / -1; }
@media (max-width: 899px) { .nl { grid-template-columns: 1fr; padding: 22px; } .nl__row { grid-template-columns: 1fr; } }
.article__body .nl { grid-template-columns: 1fr; margin: var(--s-6) 0; }
.article__body a.btn--primary { color: var(--action-ink); text-decoration: none; }
.nl > *, .nl__form > * { min-width: 0; } .nl .lead-done .btn { white-space: normal; text-align: center; }
/* nadpisy v dlouhém textu článku se neanimují: odhalení při rolování je občas nechalo vybledlé a posunuté přes text */
.article__body h2, .article__body h3, .article__body p, .article__body li { opacity: 1 !important; transform: none !important; visibility: visible !important; }
/* výpočet z kalkulačky e-mailem: formulář v tmavém souhrnu kalkulačky */
.tco-mail { display: grid; gap: 10px; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .16); }
.tco-mail > * { min-width: 0; }
.tco-mail__t { margin: 0; color: var(--p-inv-ink); font-weight: 500; }
.tco-mail label, .tco-mail .nl__check span { color: var(--p-inv-muted); }
.tco-mail a { color: var(--p-inv-ink); }
.tco-mail input[type=email] { background: #fff; color: #1b2a44; }
.tco-mail .btn--secondary { background: transparent; color: var(--p-inv-ink); border: 1px solid rgba(255, 255, 255, .5); }
.tco-mail .field__error { color: #ffb4a8; }
.cfg-sum .lead-done .btn { white-space: normal; }
.tco-mail { grid-template-columns: 1fr; }
.tco-mail > * { grid-column: 1 / -1; }
.cfg-sum .lead-done { color: var(--ink); padding: var(--s-4); margin-top: var(--s-4); }
.cfg-sum .lead-done h3 { color: var(--ink) !important; font-size: 24px; }
.cfg-sum .lead-done p { color: var(--muted) !important; font-size: 16px; }
/* recenze klientů (úvodní stránka); bez strukturovaných dat Review: Google vlastní recenze na webu firmy nezobrazuje a hodnocení by bylo klamavé */
.reviews { list-style: none; margin: 0; padding: 0 0 var(--s-2); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--s-5)) / 2.25); column-gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.reviews::-webkit-scrollbar { display: none; }
.reviews > .review { scroll-snap-align: start; }
.reviews:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); }
.reviews-nav { display: flex; gap: 8px; flex: none; }
.reviews-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background-color .16s ease, color .16s ease, transform .16s ease-out; }
.reviews-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.reviews-btn:active:not(:disabled) { transform: scale(.96); }
.reviews-btn:disabled { opacity: .3; cursor: default; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-4); padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 18px; line-height: 1.5; }
.review__who { margin: 0; font-size: 15px; color: var(--muted); }
.review__who b { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 899px) { .reviews { grid-auto-columns: 86%; } .reviews-nav { display: none; } }
.nl--cta { grid-template-columns: 1fr; }
.nl--cta .btn-row { margin: 0; }
.article__body .nl--cta a.btn--secondary { text-decoration: none; }
/* časté dotazy ve dvou sloupcích přes celou šířku (30. 11. 2026, jeden úzký sloupec byl moc dlouhý) */
.faq--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-7); align-items: stretch; align-content: start; }
.faq--2 > .faq__item { align-content: start; }
.faq--2 > .faq__item:nth-child(2) { padding-top: 0; }
@media (max-width: 899px) { .faq--2 { grid-template-columns: 1fr; } .faq--2 > .faq__item:nth-child(2) { padding-top: var(--s-4); } }
/* lišta o měření (system.js consentBar): decentní, dole vlevo, nezakrývá Logyho vpravo */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 440px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); box-shadow: 0 12px 32px -18px rgba(27, 42, 68, .5); font-size: 14px; line-height: 1.45; }
.consent p { margin: 0 0 10px; }
.consent a { color: inherit; }
.consent__row { display: flex; gap: 8px; }
.consent__b { flex: 1; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px/1 var(--font-text); cursor: pointer; }
.consent__b:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 599px) { .consent { left: 8px; right: 8px; bottom: 8px; max-width: none; } }
.consent { display: block; }
.consent p { max-width: none; }
.consent__row { width: 100%; }
.consent__opts { display: grid; gap: 8px; margin: 0 0 12px; }
.consent__opts[hidden] { display: none; }
.consent__opts label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.consent__opts input { margin-top: 3px; accent-color: var(--action); }
/* „Zavoláme vám“ (tools/build/callback.py) */
.callback { display: grid; gap: 8px; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.callback > * { min-width: 0; grid-column: 1 / -1; }
.callback__t { margin: 0; font-weight: 600; }
.callback__note { margin: 0; font-size: 14px; color: var(--muted); }
.callback-wrap { max-width: 560px; margin-top: var(--s-5); }
.article__body .callback a.btn--primary { color: var(--action-ink); text-decoration: none; }
.tips span { font-size: 14px; }

.section-head.reviews-head { max-width: none; }
