:root {
  --kto-ink: #111c31;
  --kto-copy: #52627d;
  --kto-muted: #70809a;
  --kto-line: #cfd9e4;
  --kto-line-strong: #91a1b5;
  --kto-paper: #ffffff;
  --kto-bench: #f3f6fa;
  --kto-steel: #dce4ec;
  --kto-red: #d63846;
  --kto-red-bright: #ff4654;
  --kto-brass: #b58a35;
  --kto-focus: #175cd3;
}

body[data-city-pilot="katowice-transfer-bench-v1"] {
  background: var(--kto-paper) !important;
  color: var(--kto-ink);
  overflow-x: hidden;
}

body[data-city-pilot="katowice-transfer-bench-v1"] main {
  background: var(--kto-paper);
  isolation: isolate;
  overflow: clip;
}

body[data-city-pilot="katowice-transfer-bench-v1"] main :where(h1, h2, h3, p, span, strong, small, dt, dd) {
  overflow-wrap: break-word;
}

body[data-city-pilot="katowice-transfer-bench-v1"] main :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--kto-focus) !important;
  outline-offset: 4px;
}

body[data-city-pilot="katowice-transfer-bench-v1"] main section[id],
body[data-city-pilot="katowice-transfer-bench-v1"] #contact,
body[data-city-pilot="katowice-transfer-bench-v1"] footer {
  scroll-margin-top: 6.5rem;
}

.kto-shell {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.kto-state-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding-block: 0.65rem;
  border-block: 1px solid var(--kto-line);
  color: var(--kto-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, transparent 0 68%, rgba(214, 56, 70, 0.08) 68% 100%);
}

.kto-state-line strong {
  color: var(--kto-red);
  font-size: inherit;
}

.kto-hero {
  padding: 5.55rem 0 0;
  background: var(--kto-paper);
  border-bottom: 1px solid var(--kto-line);
}

.kto-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4.5rem);
  min-height: 430px;
  padding-top: 0.8rem;
}

.kto-hero__copy {
  padding-block: 0.65rem;
}

.kto-kicker,
.kto-section-head > p,
.kto-mechanism__head > p,
.kto-stack__layout > div > p {
  margin: 0 0 0.8rem;
  color: var(--kto-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kto-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--kto-ink);
  font-size: clamp(2.35rem, 3.7vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1.01;
}

.kto-hero h1 em {
  color: var(--kto-red);
  font-style: normal;
}

.kto-hero__copy > p:not(.kto-kicker) {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--kto-copy);
  font-size: 1.02rem;
  line-height: 1.65;
}

.kto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.kto-hero__actions a,
.kto-section-head > a {
  display: inline-flex;
  min-width: 44px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--kto-line-strong);
  color: var(--kto-ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.kto-hero__actions a:first-child {
  border-color: var(--kto-red);
  background: var(--kto-red);
  color: #fff;
}

.kto-hero__actions a:hover,
.kto-section-head > a:hover {
  border-color: var(--kto-red);
  color: var(--kto-red);
}

.kto-hero__actions a:first-child:hover {
  background: #aa2634;
  color: #fff;
}

.kto-hero__copy > small {
  display: block;
  margin-top: 0.7rem;
  color: var(--kto-muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.5;
}

.kto-hero__visual {
  min-width: 0;
  margin: 0;
  padding: 0.65rem 0 0.35rem;
  border-left: 1px solid var(--kto-line);
}

.kto-hero__visual picture,
.kto-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.kto-hero__visual img {
  max-height: 470px;
  object-fit: contain;
}

.kto-hero__visual figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  margin-top: 0.4rem;
  padding: 0.75rem 0.35rem;
  border-top: 1px solid var(--kto-line);
  color: var(--kto-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.kto-hero__visual figcaption strong {
  color: var(--kto-ink);
  font-size: 0.74rem;
}

.kto-decision {
  padding: 3.35rem 0;
  background: var(--kto-paper);
  border-bottom: 1px solid var(--kto-line);
}

.kto-decision__layout,
.kto-process__layout,
.kto-faq__layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.kto-section-head h2,
.kto-mechanism__head h2,
.kto-stack__layout h2 {
  margin: 0;
  color: var(--kto-ink);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.06;
}

.kto-section-head > span,
.kto-mechanism__head > span,
.kto-stack__layout > div > span {
  display: block;
  margin-top: 1rem;
  color: var(--kto-copy);
  font-size: 0.94rem;
  line-height: 1.65;
}

.kto-tolerance-sheet {
  margin: 0;
  border-top: 2px solid var(--kto-ink);
}

.kto-tolerance-sheet > div {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr);
  min-height: 82px;
  border-bottom: 1px solid var(--kto-line);
}

.kto-tolerance-sheet dt,
.kto-tolerance-sheet dd {
  margin: 0;
  padding: 0.85rem 1rem;
}

.kto-tolerance-sheet dt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--kto-line);
}

.kto-tolerance-sheet dt small {
  color: var(--kto-red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kto-tolerance-sheet dt strong {
  margin-top: 0.25rem;
  color: var(--kto-ink);
  font-size: 1.05rem;
}

.kto-tolerance-sheet dd {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kto-tolerance-sheet dd p,
.kto-tolerance-sheet__result dd {
  margin: 0;
  color: var(--kto-copy);
  font-size: 0.91rem;
  line-height: 1.5;
}

.kto-tolerance-sheet dd span {
  margin-top: 0.35rem;
  color: var(--kto-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.kto-tolerance-sheet__result {
  border-bottom: 0 !important;
  background: #fff0f2;
  box-shadow: inset 5px 0 0 var(--kto-red);
}

.kto-tolerance-sheet__result dt {
  color: var(--kto-red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kto-mechanism {
  padding: 1.3rem 0;
  background: var(--kto-bench);
  border-bottom: 1px solid var(--kto-line);
}

.kto-mechanism__head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 1.15rem;
}

.kto-mechanism__head > p {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.kto-mechanism__head > span {
  margin: 0;
}

.kto-routing {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--kto-ink);
}

.kto-routing li {
  display: grid;
  grid-template-columns: 9rem minmax(170px, 0.72fr) minmax(240px, 1.18fr) minmax(150px, 0.68fr);
  align-items: center;
  gap: 1rem;
  min-height: 70px;
  border-bottom: 1px solid var(--kto-line);
}

.kto-routing li:nth-child(2) { margin-left: 2.5rem; }
.kto-routing li:nth-child(3) { margin-left: 5rem; }

.kto-routing li > span {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline: 0.85rem;
  border-right: 1px solid var(--kto-line);
  color: var(--kto-red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kto-routing li strong {
  color: var(--kto-ink);
  font-size: 0.87rem;
  line-height: 1.35;
}

.kto-routing li p {
  margin: 0;
  padding: 0.55rem 0.8rem 0.55rem 0;
  color: var(--kto-copy);
  font-size: 0.79rem;
  line-height: 1.45;
}

.kto-routing li small {
  display: flex;
  align-self: stretch;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-left: 1px solid var(--kto-line);
  color: var(--kto-ink);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.4;
}

.kto-source-boundary {
  display: grid;
  grid-template-columns: 0.72fr 1.15fr 0.85fr;
  gap: 1.25rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--kto-line-strong);
}

.kto-source-boundary p,
.kto-source-boundary h3 {
  margin: 0;
}

.kto-source-boundary > div:first-child p {
  color: var(--kto-red);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kto-source-boundary h3 {
  margin-top: 0.45rem;
  color: var(--kto-ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.kto-source-boundary > div:nth-child(2) p,
.kto-source-boundary > div:nth-child(2) strong {
  color: var(--kto-copy);
  font-size: 0.72rem;
  line-height: 1.5;
}

.kto-source-boundary > div:nth-child(2) strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--kto-ink);
}

.kto-source-boundary nav {
  display: flex;
  flex-direction: column;
}

.kto-source-boundary nav a {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--kto-line);
  color: var(--kto-ink);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.kto-source-boundary nav a:hover { color: var(--kto-red); }

body[data-city-pilot="katowice-transfer-bench-v1"] #kalkulator {
  background: #f8fafb !important;
  border-color: var(--kto-line) !important;
  scroll-margin-top: 6.5rem;
}

body[data-city-pilot="katowice-transfer-bench-v1"] #kalkulator > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"] #kalkulator .calc-btn,
body[data-city-pilot="katowice-transfer-bench-v1"] #kalkulator label,
body[data-city-pilot="katowice-transfer-bench-v1"] #kalkulator a,
body[data-city-pilot="katowice-transfer-bench-v1"] #kalkulator button {
  min-height: 44px;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice {
  display: block !important;
  flex-direction: column !important;
  grid-template-columns: minmax(0, 1fr) !important;
  overflow: visible !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:not([hidden]) {
  width: 100% !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child {
  border-top-width: 1px !important;
  border-left-width: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(#calc-tiers-katowice, #calc-addons-katowice) {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(.kto-hero, .kto-decision, .kto-mechanism, #kalkulator, .kto-process, .kto-stack, .kto-faq, #contact),
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(.kto-hero, .kto-decision, .kto-mechanism, #kalkulator, .kto-process, .kto-stack, .kto-faq, #contact) * {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero__layout,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-decision__layout,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-mechanism__head,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-process__layout,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq__layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-shell,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(.kto-decision__layout, .kto-mechanism__head, .kto-process__layout) > * {
  min-width: 0;
  max-width: 100%;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(.kto-section-head h2, .kto-mechanism__head h2) {
  font-size: 42px !important;
  line-height: 1.08 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(.kto-section-head > span, .kto-mechanism__head > span) {
  font-size: 20px !important;
  line-height: 1.55 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-tolerance-sheet > div,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-source-boundary {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-tolerance-sheet dt {
  min-height: 0;
  padding: 16px !important;
  border-right: 0;
  border-bottom: 1px solid var(--kto-line);
  font-size: 18px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-tolerance-sheet dd {
  padding: 16px !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-process__ledger li {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 16px 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-process__ledger li > span {
  grid-row: 1 / 3;
  font-size: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-process__ledger li > strong {
  grid-column: 2;
  width: 100%;
  font-size: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-process__ledger h3 {
  font-size: 22px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-process__ledger p {
  font-size: 18px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero h1 {
  max-width: 18ch;
  font-size: 54px !important;
  line-height: 0.98 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero__copy > p:not(.kto-kicker) {
  max-width: 42em;
  font-size: 22px !important;
  line-height: 1.55 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero__visual {
  width: min(100%, 760px);
  margin-inline: auto;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container {
  padding-inline: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container > .text-center {
  margin-bottom: 32px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container > .text-center > .inline-flex {
  max-width: 100%;
  padding: 8px 14px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.08em !important;
  white-space: normal !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container > .text-center > h2 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: 44px !important;
  line-height: 1.04 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container > .text-center > h2 + p {
  max-width: 44em;
  padding-inline: 0 !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice {
  padding: 4px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:nth-child(2),
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child > div {
  padding: 20px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice h3 {
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.07em !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice .w-8.h-8 {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-tiers-katowice .calc-btn {
  padding: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-tiers-katowice .calc-btn > .relative > .flex > div:first-child {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-tiers-katowice .calc-btn > .relative > div:nth-child(2) {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-tiers-katowice .calc-btn > .relative > div:nth-child(3) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline !important;
  gap: 4px 8px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-tiers-katowice .calc-btn > .relative > div:nth-child(3) > span {
  flex: 0 0 auto;
  font-size: 16px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-tiers-katowice .calc-btn > .relative > div:nth-child(3) > span:nth-child(2) {
  font-size: 30px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:first-child {
  margin: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:nth-child(2) > div:first-child {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:nth-child(2) > div:first-child > span:first-child {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:nth-child(2) > div:first-child > span:last-child,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:nth-child(2) > span {
  font-size: 16px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-context-katowice {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .sticky {
  position: static !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .sticky > .flex-1 {
  flex: none !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .sticky > div:last-child {
  margin-top: 28px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .bg-white.border.rounded-xl > p,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .bg-slate-50 p {
  font-size: 16px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-total-katowice {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  overflow: visible;
  color: var(--kto-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 40px !important;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
  text-align: left;
  text-overflow: clip;
  vertical-align: baseline;
  white-space: nowrap !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-total-katowice + span,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-total-katowice ~ span {
  align-self: baseline;
  font-size: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .bg-white.border.rounded-xl > div.flex.items-end {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child .bg-white.border.rounded-xl > div.flex.items-end > span {
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-summary-katowice > li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 4px !important;
  align-items: start !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-summary-katowice > li > span {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child ul:not(#calc-summary-katowice) li {
  align-items: flex-start !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-cta-katowice {
  padding: 16px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.04em !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout ul {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout h2,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq .kto-section-head h2 {
  font-size: 42px !important;
  line-height: 1.08 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout li {
  min-height: 0;
  padding: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout li strong {
  font-size: 22px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout li small {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq summary {
  grid-template-columns: 32px minmax(0, 1fr) 24px !important;
  gap: 12px !important;
  padding: 16px 4px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq summary > span {
  font-size: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq summary strong {
  font-size: 20px !important;
  line-height: 1.4 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq details > div {
  padding: 0 28px 20px 48px !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .container > .grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 2rem !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm > .relative.group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm > .relative.group > div.absolute {
  display: none !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm > .relative.group > label {
  position: static !important;
  order: -1;
  inset: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  transform: none !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm > .relative.group > input:not([type="hidden"]) {
  min-height: 64px !important;
  padding: 0.75rem 0.875rem !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm label[for="contactConsent"] {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 0.5rem !important;
  align-items: start !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm label[for="contactConsent"] > span:first-of-type {
  width: 44px !important;
  height: 44px !important;
  margin-top: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm label[for="contactConsent"] > span:last-child {
  min-width: 0;
  font-size: 0.6875rem !important;
  line-height: 1.45 !important;
  overflow-wrap: normal;
  word-break: normal;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm button[type="submit"] > .relative {
  display: block !important;
  padding: 0.75rem !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm #btnText {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contactForm #btnText + div {
  display: none !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container {
  padding-inline: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact {
  padding-inline: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact h2 {
  font-size: 48px !important;
  line-height: 1.02 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact h2 + p {
  font-size: 22px !important;
  line-height: 1.55 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000 {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000 > div + div {
  border-top: 1px solid var(--kto-line) !important;
  border-left: 0 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000 > div {
  padding: 16px !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000 h3 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000 p,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:first-child > .flex.items-center .italic {
  font-size: 18px !important;
  line-height: 1.5 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:nth-child(2) > div:nth-child(3) h3 {
  font-size: 32px !important;
  line-height: 1.15 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:nth-child(2) > div:nth-child(3) h3 + p {
  font-size: 20px !important;
  line-height: 1.5 !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact form,
body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact form * {
  max-width: 100%;
}

.kto-process {
  padding: 3.35rem 0;
  background: var(--kto-paper);
  border-bottom: 1px solid var(--kto-line);
}

.kto-process__ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--kto-ink);
}

.kto-process__ledger li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(10rem, 0.58fr);
  align-items: center;
  gap: 1rem;
  min-height: 86px;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--kto-line);
}

.kto-process__ledger li > span {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--kto-line);
  color: var(--kto-red);
  font-size: 0.72rem;
  font-weight: 850;
}

.kto-process__ledger small {
  color: var(--kto-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kto-process__ledger h3 {
  margin: 0.15rem 0 0;
  color: var(--kto-ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.kto-process__ledger p {
  margin: 0.25rem 0 0;
  color: var(--kto-copy);
  font-size: 0.77rem;
  line-height: 1.45;
}

.kto-process__ledger li > strong {
  padding: 0.55rem 0.75rem;
  border-left: 3px solid var(--kto-red);
  background: #fff2f3;
  color: var(--kto-ink);
  font-size: 0.7rem;
  line-height: 1.4;
}

.kto-stack {
  padding: 2.7rem 0;
  background: var(--kto-bench);
  border-bottom: 1px solid var(--kto-line);
}

.kto-stack__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.kto-stack__layout h2 { font-size: clamp(1.9rem, 3vw, 2.45rem); }

.kto-stack__layout ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--kto-ink);
  list-style: none;
}

.kto-stack__layout li {
  min-height: 84px;
  padding: 0.9rem;
  border-right: 1px solid var(--kto-line);
  border-bottom: 1px solid var(--kto-line);
}

.kto-stack__layout li:nth-child(3n) { border-right: 0; }

.kto-stack__layout li strong,
.kto-stack__layout li small {
  display: block;
}

.kto-stack__layout li strong {
  color: var(--kto-ink);
  font-size: 0.92rem;
}

.kto-stack__layout li small {
  margin-top: 0.3rem;
  color: var(--kto-muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.kto-faq {
  padding: 3.35rem 0;
  background: var(--kto-paper);
  border-bottom: 1px solid var(--kto-line);
}

.kto-section-head > a {
  margin-top: 1.1rem;
  padding-inline: 0.85rem;
}

.kto-faq__list {
  border-top: 2px solid var(--kto-ink);
}

.kto-faq details {
  border-bottom: 1px solid var(--kto-line);
}

.kto-faq summary {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 1.6rem;
  align-items: center;
  gap: 0.8rem;
  min-height: 62px;
  padding: 0.75rem 0.35rem;
  cursor: pointer;
  list-style: none;
}

.kto-faq summary::-webkit-details-marker { display: none; }
.kto-faq summary > span { color: var(--kto-red); font-size: 0.69rem; font-weight: 850; }
.kto-faq summary strong { color: var(--kto-ink); font-size: 0.86rem; line-height: 1.4; }
.kto-faq summary i { position: relative; width: 20px; height: 20px; }
.kto-faq summary i::before,
.kto-faq summary i::after { content: ""; position: absolute; inset: 9px 2px auto; height: 2px; background: var(--kto-red); }
.kto-faq summary i::after { transform: rotate(90deg); transition: transform 160ms ease; }
.kto-faq details[open] summary i::after { transform: rotate(0); }
.kto-faq details > div { padding: 0 2.8rem 1rem 3.55rem; color: var(--kto-copy); font-size: 0.81rem; line-height: 1.58; }

.kto-editorial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: min(1220px, calc(100% - 48px));
  min-height: 72px;
  margin-inline: auto;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--kto-line);
}

.kto-editorial > div { display: flex; flex-direction: column; gap: 0.2rem; }
.kto-editorial strong { color: var(--kto-ink); font-size: 0.75rem; }
.kto-editorial span { color: var(--kto-muted); font-size: 0.68rem; line-height: 1.4; }
.kto-editorial nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 0.6rem; }
.kto-editorial a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding-inline: 0.45rem; color: var(--kto-ink); font-size: 0.69rem; font-weight: 800; text-decoration: none; }
.kto-editorial a:hover { color: var(--kto-red); }

body[data-city-pilot="katowice-transfer-bench-v1"] #contact {
  padding-block: 1rem !important;
  background: #f7fafb !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"] #contact :where(a, button, input, select, textarea) {
  min-height: 44px;
}

body[data-city-pilot="katowice-transfer-bench-v1"] :where(#navbar, #mobile-menu) a,
body[data-city-pilot="katowice-transfer-bench-v1"] :where(#navbar, #mobile-menu) button {
  min-width: 44px;
  min-height: 44px;
}

body[data-city-pilot="katowice-transfer-bench-v1"] footer {
  overflow-x: clip;
}

body[data-city-pilot="katowice-transfer-bench-v1"] footer .container {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  padding-inline: clamp(12px, 4vw, 24px) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"] footer :where(h2, h3, p, a, li, span) {
  overflow-wrap: break-word;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] footer :where(h2, h3, p, a, li, span) {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] footer #footer-container > .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] footer #footer-container > .grid > div:first-child {
  grid-column: 1 / -1;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] footer #footer-container > .grid > div:first-child > .flex {
  flex-wrap: nowrap !important;
}

body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] footer a[href^="mailto:"] {
  display: inline-block;
  max-width: 100%;
  font-size: 18px !important;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .kto-shell,
  .kto-editorial { width: min(calc(100% - 36px), 820px); }

  .kto-hero { padding-top: 6.15rem; }
  .kto-hero__layout { grid-template-columns: 1fr; gap: 1rem; min-height: 0; }
  .kto-hero h1 { max-width: 15ch; }
  .kto-hero__visual { max-width: 760px; margin-inline: auto; }
  .kto-hero__visual { border-left: 0; border-top: 1px solid var(--kto-line); }
  .kto-hero__visual img { max-height: none; }

  .kto-decision__layout,
  .kto-process__layout,
  .kto-faq__layout,
  .kto-stack__layout { grid-template-columns: 1fr; gap: 1.5rem; }

  .kto-mechanism__head { grid-template-columns: 1fr; gap: 0.75rem; }
  .kto-mechanism__head > p { margin-bottom: 0; }
  .kto-routing li,
  .kto-routing li:nth-child(2),
  .kto-routing li:nth-child(3) {
    grid-template-columns: 8rem minmax(0, 1fr);
    margin-left: 0;
  }
  .kto-routing li > span { grid-row: 1 / 4; }
  .kto-routing li p,
  .kto-routing li small { grid-column: 2; }
  .kto-routing li small { min-height: 42px; border-left: 0; border-top: 1px solid var(--kto-line); padding-left: 0; }
  .kto-source-boundary { grid-template-columns: 0.8fr 1.2fr; }
  .kto-source-boundary nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .kto-source-boundary nav a { border: 1px solid var(--kto-line); padding: 0.55rem; }
}

@media (min-width: 480px) {
  body[data-city-pilot="katowice-transfer-bench-v1"] footer #footer-container > .grid > div:first-child > .flex {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"] footer #footer-container > .grid > div:first-child > .flex > span {
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

@media (max-width: 760px) {
  .kto-shell,
  .kto-editorial { width: min(calc(100% - 28px), 560px); }

  .kto-state-line { align-items: flex-start; flex-direction: column; gap: 0.25rem; font-size: 0.62rem; }
  .kto-hero { padding-top: 6rem; }
  .kto-hero__layout { padding-top: 0.35rem; }
  .kto-hero h1 { font-size: clamp(2rem, 10.4vw, 2.9rem); }
  .kto-hero__copy > p:not(.kto-kicker) { font-size: 1rem; }
  .kto-hero__actions { flex-direction: column; }
  .kto-hero__actions a { width: 100%; }
  .kto-hero__visual figcaption { grid-template-columns: 1fr; gap: 0.25rem; }

  .kto-decision,
  .kto-process,
  .kto-faq { padding-block: 2.75rem; }
  .kto-mechanism { padding-block: 2.6rem; }

  .kto-tolerance-sheet > div { grid-template-columns: 1fr; }
  .kto-tolerance-sheet dt { min-height: 64px; border-right: 0; border-bottom: 1px solid var(--kto-line); }
  .kto-tolerance-sheet dd { padding-top: 0.7rem; padding-bottom: 0.9rem; }

  .kto-routing li,
  .kto-routing li:nth-child(2),
  .kto-routing li:nth-child(3) { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0.75rem 0; }
  .kto-routing li > span { grid-row: auto; min-height: 34px; padding: 0; border-right: 0; }
  .kto-routing li strong { font-size: 0.95rem; }
  .kto-routing li p { padding: 0.35rem 0 0; font-size: 0.86rem; }
  .kto-routing li p,
  .kto-routing li small { grid-column: auto; }
  .kto-routing li small { min-height: 0; margin-top: 0.55rem; padding: 0.55rem 0 0; border-top: 1px solid var(--kto-line); }

  .kto-source-boundary { grid-template-columns: 1fr; }
  .kto-source-boundary nav { grid-column: auto; grid-template-columns: 1fr; }

  .kto-process__ledger li { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.75rem; }
  .kto-process__ledger li > strong { grid-column: 2; width: 100%; }
  .kto-process__ledger li > span { grid-row: 1 / 3; }
  .kto-process__ledger h3 { font-size: 1rem; }
  .kto-process__ledger p { font-size: 0.84rem; }

  .kto-stack__layout ul { grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100%; }
  .kto-stack__layout li,
  .kto-stack__layout li:nth-child(2n),
  .kto-stack__layout li:nth-child(3n) { min-width: 0; border-right: 0; }

  html body[data-city-pilot="katowice-transfer-bench-v1"] .kto-stack > .kto-shell.kto-stack__layout {
    box-sizing: border-box;
    width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    margin-inline: auto !important;
  }

  html body[data-city-pilot="katowice-transfer-bench-v1"] .kto-stack > .kto-shell.kto-stack__layout > * {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .kto-faq summary { grid-template-columns: 2rem minmax(0, 1fr) 1.4rem; }
  .kto-faq summary strong { font-size: 0.92rem; }
  .kto-faq details > div { padding-left: 2.7rem; padding-right: 0.5rem; font-size: 0.88rem; }

  .kto-editorial { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .kto-editorial nav { justify-content: flex-start; }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] :where(#calc-tiers-katowice, #calc-addons-katowice) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero h1 {
    max-width: none;
    font-size: 42px !important;
    line-height: 1 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero {
    padding-top: 96px !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-hero__copy > p:not(.kto-kicker) {
    font-size: 20px !important;
    line-height: 1.5 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container {
    padding-inline: 12px !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #kalkulator > .container > .text-center > h2 {
    font-size: 40px !important;
    line-height: 1.04 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:nth-child(2),
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-form-katowice > div:last-child > div {
    padding: 16px !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:nth-child(2) > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #calc-addons-katowice > label > div:nth-child(2) > div:first-child > span {
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout ul {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout li,
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout li:nth-child(2n),
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout li:nth-child(3n) {
    border-right: 0 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-section-head h2,
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-mechanism__head h2,
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-stack__layout h2 {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq summary {
    grid-template-columns: 28px minmax(0, 1fr) 22px !important;
    gap: 10px !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] .kto-faq details > div {
    padding: 0 12px 18px 38px !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000,
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:nth-child(2) > .mt-12 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .perspective-1000 > div + div {
    border-top: 1px solid var(--kto-line) !important;
    border-left: 0 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:first-child > div:first-child {
    display: flex !important;
    width: 100%;
    align-items: flex-start !important;
    border-radius: 16px !important;
    letter-spacing: 0.05em !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:first-child > div:first-child > span:last-child {
    min-width: 0;
    font-size: 0.625rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:first-child > .flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact > .container > .grid > div:nth-child(2) > div:nth-child(3) {
    padding: 16px !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact h2 {
    font-size: 42px !important;
    line-height: 1.02 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact h2 + p {
    font-size: 20px !important;
    line-height: 1.5 !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact form + *,
  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact form ~ * {
    min-width: 0;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .zakopane-contact-selection {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .zakopane-contact-selection strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] #contact .zakopane-contact-selection > button {
    width: 100%;
  }

  body[data-city-pilot="katowice-transfer-bench-v1"][data-kto-text-expanded] footer #footer-container > .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

}

@media (min-width: 800px) and (max-width: 1023px) and (max-height: 600px) {
  .kto-hero { padding-top: 4.8rem; }
  .kto-hero__layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 1.75rem;
    min-height: 300px;
  }
  .kto-hero h1 { max-width: 16ch; font-size: clamp(2rem, 4.2vw, 2.45rem); }
  .kto-hero__copy > p:not(.kto-kicker) { font-size: 0.9rem; line-height: 1.5; }
  .kto-hero__visual { border-top: 0; border-left: 1px solid var(--kto-line); }
  .kto-hero__visual img { max-height: 310px; }
  .kto-hero__visual figcaption { font-size: 0.65rem; }
}

@media (max-width: 380px) {
  .kto-shell,
  .kto-editorial { width: calc(100% - 22px); }
  .kto-section-head h2,
  .kto-mechanism__head h2,
  .kto-stack__layout h2 { font-size: 1.85rem; }
  .kto-process__ledger li > strong { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-city-pilot="katowice-transfer-bench-v1"] *,
  body[data-city-pilot="katowice-transfer-bench-v1"] *::before,
  body[data-city-pilot="katowice-transfer-bench-v1"] *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

@media print {
  .kto-hero { padding-top: 1rem; }
  .kto-hero__actions,
  .kto-section-head > a { display: none !important; }
}
