.tk {
  color: var(--ink);
  background: var(--bg);
}
.tk-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 26px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.tk-header strong {
  font-family: Manrope, Arial, sans-serif;
  font-size: 22px;
}
.tk-header strong span {
  color: var(--green);
}
.tk-caption {
  color: var(--muted);
  font-size: 13px;
}
.tk-nav {
  padding: 10px 20px;
  margin: 0;
  gap: 6px;
}
.tk .tk-nav button {
  font-size: 14px;
}
.tk-body {
  padding: 26px;
  min-height: 390px;
}
.tk-body h3 {
  font-size: 24px;
  margin: 0 0 22px;
}
.tk-home {
  padding: 22px 0;
}
.tk-home h3 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  margin: 24px 0;
}
.tk-home h3 span {
  color: #7c837b;
}
.tk-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tk .module {
  border-radius: 4px;
}
.tk .module p {
  font-size: 14px;
}
.tk .module strong {
  overflow-wrap: anywhere;
}
.tk-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
}
.tk-status:empty {
  display: none;
}
.tk-status {
  padding: 0 26px 22px;
}
.tk-status .status {
  margin: 0;
}
.tk-script-list {
  display: grid;
  gap: 10px;
}
.tk-script-list .module strong {
  font-size: 15px;
}
.tk-log {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.tk input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.tk .asset h4 {
  margin-top: 12px;
}
.tk .asset p {
  font-size: 14px;
  margin: 10px 0;
}
.tk button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .tk-body {
    padding: 18px;
  }
  .tk-header {
    padding: 18px;
  }
  .tk-nav {
    padding: 8px;
  }
  .tk-cards {
    grid-template-columns: 1fr;
  }
  .tk-connection {
    align-items: flex-start;
    flex-direction: column;
  }
  .tk-home {
    padding: 5px 0;
  }
}
@container (max-width:500px) {
  .tk-cards {
    grid-template-columns: 1fr;
  }
}

.redion-preview-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  flex-wrap: wrap;
}
.redion-preview-tools a {
  font-size: 14px;
  color: var(--green);
  text-decoration: underline;
}
.redion-frame {
  display: block;
  width: 100%;
  height: 825px;
  border: 0;
  background: var(--bg);
}
.cell-button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}
