#automatizace {
  --sky: #0a2137; --ink: #f2f9fd; --navy: #d0f2ff; --glyph: #07385f;
  --muted-ink: #c1d8e6; --plate: #cceffb; --bloom: #a3e7f6; --aqua: #71d8eb;
  --wire: #75a9bd; --quiet-wire: #618399; --paper: #15374d; --rule: #36576a; --red: #ce202f;
  font: 400 15px/1.42  Geist, Arial, sans-serif; color: var(--ink);
  container-type: inline-size; background: var(--sky); text-align: left; isolation: isolate;
}
#automatizace *, #automatizace *::before, #automatizace *::after { box-sizing: border-box; }
#automatizace [hidden] { display: none !important; }
#automatizace :where(h2,h3,p) { margin: 0; }
#automatizace button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
#automatizace button:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
#automatizace .com-wrap { max-width: 1360px; margin-inline: auto; padding-block: 65px 51px; }
@media (max-width: 680px) { #automatizace .com-wrap { padding-block: 50px 42px; } }
#automatizace .com-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted-ink); font-size: 11px; font-weight: 680; letter-spacing: .095em; text-transform: uppercase; }
#automatizace .com-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--aqua); }
#automatizace h2 { margin: 10px 0 8px; padding: 0; font: 670 41px/1.08 Geist,Arial,sans-serif; letter-spacing: -.048em; color: var(--ink); text-wrap: balance; }
#automatizace .com-title-accent { color: #ff5a68; }
#automatizace .com-title-blue { color: #73d9ef; }
#automatizace .com-intro { font: inherit; font-size: clamp(15px,2.3cqw,20px); letter-spacing: -.018em; color: var(--muted-ink); }
#automatizace .com-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 14px; }
#automatizace .com-play, #automatizace .com-scenario button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 7px 12px; font-size: 13px; font-weight: 620; line-height: 1.2; }
#automatizace .com-play { color: #fff; background: var(--red); border: 0; border-radius: 8px; }
#automatizace .com-play:hover { background: #ae1b2a; }
#automatizace .com-play svg, #automatizace .com-scenario svg { width: 16px; height: 16px; stroke-width: 1.8; flex: none; }
#automatizace .com-scenario { display: inline-flex; align-items: stretch; border: 1px solid var(--quiet-wire); border-radius: 4px; background: transparent; }
#automatizace .com-scenario button { border: 0; background: transparent; color: var(--navy); border-radius: 3px; min-height: 37px; }
#automatizace .com-scenario button[aria-pressed=true] { background: var(--navy); color: var(--sky); }
#automatizace .com-hint { margin-left: auto; font: 400 21px/1.4 "Segoe Print","Comic Sans MS",cursive; color: var(--muted-ink); transform: translateY(-9px) rotate(-3deg); }
#automatizace .com-board { --disc: 55px; position: relative; width: 100%; }
#automatizace .com-network { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#automatizace .com-edge { fill: none; stroke: var(--wire); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
#automatizace .com-edge[data-family=stock], #automatizace .com-edge[data-family=side] { stroke-dasharray: 3 4; }
#automatizace .com-edge:is([data-family=stock],[data-family=direct],[data-family=b2b],[data-family=b2c])[data-off=false] { stroke: var(--aqua); }
#automatizace .com-edge[data-off=true] { stroke: var(--quiet-wire); stroke-dasharray: 2 5; opacity: .61; }
#automatizace .com-edge.is-done:not([data-off=true]) { stroke: var(--aqua); }
#automatizace .com-node { position: absolute; z-index: 1; margin: 0; padding: 0; border: 0; background: transparent; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: var(--ink); font: inherit; border-radius: 5px; text-align: center; }
#automatizace .com-plate { position: relative; width: var(--disc); height: var(--disc); flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--plate); color: var(--glyph); box-shadow: 0 3px 5px -1px rgba(7,56,95,.18); transition: background .25s, transform .25s; }
#automatizace .com-plate > svg.com-icon { display: block; width: calc(var(--disc) * .50) !important; height: calc(var(--disc) * .50) !important; stroke-width: 1.65; flex-shrink: 0; }
#automatizace .com-node[data-branch=idle] .com-plate { background: color-mix(in srgb,var(--plate) 72%,var(--sky)); }
#automatizace .com-node[data-current=true] .com-plate { background: var(--bloom); outline: 2px solid var(--aqua); outline-offset: 2px; }
#automatizace .com-node[data-current=true] .com-title, #automatizace .com-node[aria-expanded=true] .com-title { font-weight: 720; }
#automatizace .com-node[data-arrive=true] .com-plate::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--aqua); pointer-events: none; animation: com-arrival .75s ease-out both; }
#automatizace .com-title { margin-top: 4px; font-size: clamp(11.5px,1.55cqw,13px); line-height: 1.23; font-weight: 580; letter-spacing: -.018em; color: var(--ink); }
#automatizace .com-title span { display: block; }
#automatizace .com-node[data-id=cezar] .com-title { font-weight: 730; }
#automatizace .com-section { position: absolute; left: 0; font-size: 11px; font-weight: 660; letter-spacing: .068em; color: var(--muted-ink); text-transform: uppercase; pointer-events: none; }
#automatizace .com-section::before { content: ""; display: inline-block; width: 15px; height: 1.5px; margin: 0 6px 3px 0; background: var(--aqua); }
#automatizace .com-stock-note { position: absolute; transform: translateX(-50%) rotate(-4deg); text-align: center; pointer-events: none; color: var(--muted-ink); font: 400 13px/1.3 "Segoe Print","Comic Sans MS",cursive; }
#automatizace .com-stock-note span { display: block; white-space: nowrap; }
#automatizace .com-order { position: absolute; display: flex; align-items: flex-start; gap: 10px; padding: 11px 0 8px 12px; border-left: 2px solid var(--aqua); }
#automatizace .com-order > svg { width: 20px; height: 20px; margin-top: 1px; color: var(--aqua); flex: none; }
#automatizace .com-order-key { display: block; margin-bottom: 3px; color: var(--muted-ink); font-size: 11px; font-weight: 630; letter-spacing: .035em; }
#automatizace .com-order-state { font-size: 14px; line-height: 1.32; font-weight: 640; text-wrap: pretty; }
#automatizace .com-tally { display: block; margin-top: 3px; color: var(--muted-ink); font-size: 12px; }
#automatizace .com-overlay { position: absolute; z-index: 6; display: grid; gap: 6px; max-width: calc(100% - 8px); width: 274px; padding: 15px 17px; border: 1px solid var(--rule); border-top: 3px solid var(--aqua); border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 8px 26px rgba(7,56,95,.18); }
#automatizace .com-overlay h3 { padding-right: 26px; font: 680 17px/1.17 Geist,Arial,sans-serif; letter-spacing: -.025em; color: var(--ink); }
#automatizace .com-overlay p { font-size: 13px; line-height: 1.44; color: var(--muted-ink); }
#automatizace .com-mod { display: flex; align-items: flex-start; gap: 6px; border-top: 1px solid var(--rule); padding-top: 7px; font-size: 11.5px; font-weight: 620; color: var(--navy); }
#automatizace .com-mod svg { width: 15px; height: 15px; flex: none; }
#automatizace .com-close { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: none; border-radius: 3px; background: transparent; color: var(--navy); }
#automatizace .com-close svg { width: 16px; height: 16px; }
#automatizace #com-head path { stroke: var(--wire); }
#automatizace .com-tail { fill: none; stroke: var(--aqua); stroke-width: 2.9; stroke-linecap: round; }
#automatizace .com-packet { fill: var(--aqua); stroke: var(--sky); stroke-width: 1.7; }
#automatizace .com-parcel-disc { fill: var(--paper); stroke: var(--aqua); stroke-width: 1.4; }
#automatizace .com-parcel-mark { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#automatizace .com-glow { fill: var(--aqua); opacity: .16; }
#automatizace .com-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes com-arrival { from { transform: scale(1); opacity: .72; } to { transform: scale(1.25); opacity: 0; } }
@media (hover:hover) { #automatizace .com-node:hover .com-plate { background: var(--bloom); transform: translateY(-2px); } }
@media (pointer:coarse) { #automatizace .com-scenario button, #automatizace .com-play { min-height: 44px; } #automatizace .com-close { width: 44px; height: 44px; } }
@container (max-width: 650px) { #automatizace .com-hint { flex-basis: 100%; margin: 0; transform: translateY(-5px); font-size: 18px; } }
@container (max-width: 440px) { #automatizace .com-toolbar { margin: 13px 0 10px; gap: 8px; } #automatizace .com-play, #automatizace .com-scenario button { padding-inline: 8px; font-size: 12px; } }
html.motion-paused #automatizace *, html.motion-paused #automatizace *::after { animation-play-state: paused !important; transition: none !important; }
#automatizace .com-play:disabled { opacity: .8; cursor: default; }
#automatizace cezar-order-map { display: block; }
#automatizace { scroll-margin-top: 12px; }
#automatizace .com-toolbar .com-play > span { display: inline-flex; align-items: center; }
#automatizace .com-plate > svg { stroke: currentColor; }
#automatizace .com-node { cursor: pointer; }
#automatizace .com-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 24px; margin-top: 24px; }
#automatizace .com-summary h3 { margin-bottom: 6px; font-size: 16px; color: var(--ink); }
#automatizace .com-summary p { font-size: 14px; color: var(--muted-ink); }
#automatizace.cezar-order-section { scroll-margin-top: 90px; }
#automatizace[data-placement=embedded] .com-wrap { width: 100%; max-width: none; margin-inline: 0; padding: 30px 0 26px; }
#automatizace.cezar-order-section .com-wrap { box-sizing: border-box; }
#automatizace.cezar-order-section .com-order { margin: 0; }
#automatizace.cezar-order-section .com-heading #com-title { color: var(--ink); }
#automatizace.cezar-order-section .com-heading .com-title-accent { color: #ff5a68; }
#automatizace.cezar-order-section .com-heading .com-title-blue { color: #73d9ef; }
#automatizace.cezar-order-section .com-play { text-decoration: none; }
#jak-to-funguje:has(+ .cezar-order-section) .process-overview { gap: 0; }
#internet .online-grid:has(> .cezar-order-section) { display: block; }
#internet .online-grid:has(> .cezar-order-section) > div:first-child { max-width: 780px; }
#internet .online-grid:has(> .cezar-order-section) > .online-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
@media (max-width: 680px) { #internet .online-grid:has(> .cezar-order-section) > .online-links { grid-template-columns: 1fr; } }

/* Match the homepage customer guide heading sizes. */
#automatizace cezar-order-map:not([data-flow=purchase]) #com-title {
  --com-heading-size: clamp(31px, 3.2vw, 45px);
  --cezar-chapter-heading-size: var(--com-heading-size);
  --cezar-mobile-chapter-heading: var(--com-heading-size);
  font-size: var(--com-heading-size);
}
@layer cezar-chapter-headings {
  #automatizace cezar-order-map:not([data-flow=purchase]) #com-title {
    font-weight: 670 !important;
    line-height: 1.08 !important;
  }
}
@media (max-width: 1190px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) #com-title { --com-heading-size: 36px; }
}
@media (max-width: 680px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) #com-title { --com-heading-size: 34px; }
}
@media (max-width: 390px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) #com-title { --com-heading-size: clamp(26px, 8.7vw, 34px); }
}

/* Sales order map controls */
@container (min-width: 1024px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) > .com-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 24px;
    align-items: start;
  }

  #automatizace cezar-order-map:not([data-flow=purchase]) .com-toolbar {
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 6px;
    margin: 28px 0 0;
  }

  #automatizace cezar-order-map:not([data-flow=purchase]) .com-play {
    white-space: nowrap;
  }

  #automatizace cezar-order-map:not([data-flow=purchase]) .com-hint {
    grid-column: 1 / -1;
    justify-self: end;
    margin: 0;
    transform: rotate(-3deg);
    transform-origin: right center;
  }
}

/* Sales order map icon size */
#automatizace cezar-order-map:not([data-flow=purchase]) .com-plate {
  scale: .92;
}

/* Sales order map spacing and order card */
#automatizace cezar-order-map:not([data-flow=purchase]) > .com-wrap {
  padding-bottom: 30px;
}

@container (max-width: 680px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) > .com-wrap {
    padding-bottom: 23px;
  }
}

#automatizace cezar-order-map:not([data-flow=purchase]) .com-toolbar {
  --com-touch-control-gap: clamp(6px, 2cqw, 12px);
  column-gap: 122px;
}

#automatizace cezar-order-map:not([data-flow=purchase]) .com-play {
  padding-left: 15px;
  padding-right: 14px;
}

#automatizace cezar-order-map:not([data-flow=purchase]) .com-hint {
  translate: 0 30px;
}

#automatizace cezar-order-map:not([data-flow=purchase]) .com-order {
  max-width: 344px;
  padding-right: 12px;
  padding-left: 14px;
  border-left: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 67%, var(--sky));
  box-shadow: inset 0 0 0 1px #46677d;
  --com-order-shift: 13px;
  translate: 0 var(--com-order-shift);
}

@media (max-width: 960px) and (pointer: coarse) {
  #automatizace cezar-order-map:not([data-flow=purchase]) .com-toolbar {
    column-gap: var(--com-touch-control-gap);
  }
}

@container (max-width: 680px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) .com-toolbar {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, max-content);
    justify-content: start;
    column-gap: var(--com-touch-control-gap);
    padding-bottom: 10px;
  }

  #automatizace cezar-order-map:not([data-flow=purchase]) .com-hint {
    grid-column: 1 / -1;
    margin: 0;
    transform: translateY(-5px);
    font-size: 18px;
  }

  #automatizace cezar-order-map:not([data-flow=purchase]) :is(.com-scenario button, .com-play [data-control=label]) {
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }
}

@container (max-width: 440px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) .com-toolbar {
    row-gap: 16px;
  }
}

@container (max-width: 300px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) .com-toolbar {
    padding-bottom: 20px;
  }
}

@container (max-width: 440px) {
  #automatizace cezar-order-map:not([data-flow=purchase]) > .com-wrap {
    padding-bottom: 27px;
  }

  #automatizace cezar-order-map:not([data-flow=purchase]) .com-order {
    padding-block: 8px 5px;
    --com-order-shift: 6px;
  }
}

/* Shop status */
#automatizace .com-flow { position: relative; grid-column: 1 / -1; }
#automatizace .com-flow > .com-board { grid-column: 1; min-width: 0; }
#automatizace .com-shop-status { display: none; }
#automatizace .com-shop-wires { display: none; }
#automatizace :is(.com-shop-status, .com-shop-status-compact) { text-align: center; }
#automatizace :is(.com-shop-status, .com-shop-status-compact) :is(h3, h4) { color: #73d9ef; }
#automatizace :is(.com-shop-status, .com-shop-status-compact) dl { margin: 0; }
#automatizace .com-shop-status-compact dl { inline-size: fit-content; max-inline-size: 100%; margin-inline: auto; }
#automatizace :is(.com-shop-status, .com-shop-status-compact) dt { color: #c1d8e6; font-weight: 400; }
#automatizace :is(.com-shop-status, .com-shop-status-compact) dd { margin: 0; font-size: 14px; font-weight: 650; color: #e9f8ff; }
#automatizace .com-shop-status-compact { margin-top: 9px; padding-top: 7px; border-top: 1px solid #65859c; }
#automatizace .com-shop-status-compact dt { font-size: 11px; }
#automatizace .com-shop-status-compact h4 { margin: 0 0 3px; font-size: 13px; font-weight: 650; }
#automatizace .com-shop-status-compact dl > div { display: grid; grid-template-columns: 66px minmax(0,1fr); align-items: baseline; gap: 4px; }
#automatizace .com-shop-status-compact dd { font-size: 11px; }
#automatizace .com-flow .com-order > div { min-width: 0; flex: 1; }
#automatizace .com-shop-update {
  position: absolute; top: -23px; left: 50%; transform: translateX(-50%); padding: 1px 4px; max-width: 118px;
  color: #b8f2ff; background: #193e54; border: 1px solid #5a9baa; border-radius: 4px;
  font-size: 9px; font-weight: 650; line-height: 1.4; white-space: nowrap; pointer-events: none;
}
@container (min-width: 850px) {
  #automatizace .com-flow {
    display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) clamp(104px,9.8vw,126px); gap: 23px;
  }
  #automatizace :is(.com-shop-status-compact, .com-shop-update) { display: none; }
  #automatizace .com-shop-status {
    position: relative; display: grid; grid-template-rows: auto 1fr; gap: 10px; grid-column: 2;
    min-height: 234px; align-self: center; inset-block-start: -50px; padding: 14px 12px;
    color: #edf8fe; background: #1c3e58; border: 1px solid #62869b; border-radius: 7px;
  }
  #automatizace .com-shop-status dt { font-size: 13px; }
  #automatizace .com-shop-status h3 { margin-inline: -3px; font-size: 15px; line-height: 1.23; font-weight: 680; letter-spacing: -.018em; text-wrap: balance; }
  #automatizace .com-shop-status h3 span { white-space: nowrap; }
  #automatizace .com-shop-status dd { font-size: 12px; }
  #automatizace .com-shop-status [role="status"] { display: grid; }
  #automatizace .com-shop-status dl {
    display: grid; align-content: space-evenly; gap: 12px;
  }
  #automatizace .com-shop-wires { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  #automatizace .com-shop-wires path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  #automatizace .com-shop-wires .com-shop-link { display: none; }
  #automatizace .com-shop-wires .com-shop-transfer {
    stroke: #9cefff; stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0;
  }
}
