.km-section {
  padding-block: clamp(48px, 6vw, 92px);
  background: #f5f6f7;
  color: var(--ink, #111820);
  scroll-margin-top: 24px;
}
.km-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .68fr);
  align-items: end;
  gap: 16px 40px;
  margin-bottom: 24px;
}
.km-head h2 { margin: 5px 0 0; }
.km-head > p, .km-material p { color: #47535e; }
.km-console {
  overflow: hidden;
  border: 1px solid #35414c;
  border-radius: 12px;
  background: #182028;
  color: #f5f6f7;
}
.km-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(14px, 2.1vw, 27px);
  border-bottom: 1px solid #45505b;
  background: #202a33;
}
.km-choice {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 14px;
  min-height: 44px;
  border: 1px solid #6b7782;
  border-radius: 6px;
  color: #e5ebee;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.km-choice:hover { background: #35414c; color: white; }
.km-choice[aria-selected="true"] {
  border-color: #ff8345;
  background: #ffe2ce;
  color: #302013;
}
.km-panel { padding: clamp(20px, 3vw, 38px); }
.km-panel + .km-panel { border-top: 1px solid #45505b; }
.km-panel[hidden] { display: none; }
.km-console[data-ready] .km-panel { border-top: 0; }
.km-panel:focus-visible, .km-choice:focus-visible { outline: 3px solid #ffb287; outline-offset: -4px; }
.km-panel-heading > p {
  color: #ffb287;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
}
.km-panel-heading p span { color: #a7b0b7; margin-inline: 3px; }
.km-panel-heading h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.75vw, 2.55rem);
  line-height: 1.08;
  text-wrap: balance;
}
.km-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 23px 0 0;
  padding: 0;
}
.km-route li { position: relative; padding: 20px 22px 0 0; }
.km-route li:last-child { padding-right: 0; }
.km-route li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #ffac7c;
  border-radius: 50%;
}
.km-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: -1px;
  top: 4px;
  height: 1px;
  background: #687581;
}
.km-route strong { display: block; color: #fff; line-height: 1.25; }
.km-route p { margin: 6px 0 0; color: #c5ced5; font-size: .94rem; line-height: 1.5; }
.km-guide { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #ffc8a9; font-size: .9rem; font-weight: 650; text-underline-offset: 4px; }
.km-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 12px clamp(20px, 3vw, 38px);
  border-top: 1px solid #45505b;
}
.km-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: 4px; }
.km-contact { color: #ffc8a9; gap: 8px; }
.km-list { color: #dde4e9; font-size: .88rem; }
.km-material {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px clamp(16px, 2.5vw, 34px);
  padding: 22px 0 0;
}
.km-material h3 { font-size: 1.4rem; line-height: 1.1; }
.km-material p { font-size: .93rem; line-height: 1.5; }
.km-material a { width: fit-content; }
@media (max-width: 720px) {
  .km-head, .km-material { grid-template-columns: 1fr; }
  .km-choices { gap: 6px; }
  .km-choice { flex: 1 1 27%; padding: 7px; }
  .km-route { grid-template-columns: 1fr; margin-top: 20px; }
  .km-route li, .km-route li:last-child { padding: 0 0 16px 22px; }
  .km-route li:last-child { padding-bottom: 0; }
  .km-route li::before { top: 5px; }
  .km-route li:not(:last-child)::after { left: 5px; right: auto; top: 14px; bottom: -5px; width: 1px; height: auto; }
  .km-route p { margin-top: 4px; }
  .km-material a { display: inline-flex; align-items: center; min-height: 44px; }
}
