.tut-app {
  display: flex;
  height: 100%;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.tut-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.tut-sidebar {
  background: #282A35;
  overflow-y: auto;
  padding: 4px 0;
}

.tut-snav {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 11px 16px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}

.tut-snav:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.tut-snav.active {
  background: #04AA6D;
  color: #fff;
  border-left-color: #059862;
}

.tut-sicon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tut-snav.active .tut-sicon {
  background: rgba(255, 255, 255, 0.2);
}

.tut-sinfo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.tut-stitle {
  font-size: 14px;
  font-weight: 500;
}

.tut-sdesc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tut-snav.active .tut-sdesc {
  color: rgba(255, 255, 255, 0.7);
}

.tut-main {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  padding: 40px 48px;
}

.tut-content {
  max-width: 100%;
}

.tut-topic-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #04AA6D;
}

.tut-topic-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #282A35;
  margin-bottom: 8px;
}

.tut-topic-header p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.tut-badge {
  font-size: 12px;
  color: #fff;
  background: #04AA6D;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  font-weight: 500;
}

.tut-article {
  border: 1px solid #e7e9eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}

.tut-article:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tut-article.expanded {
  border-color: #04AA6D;
  box-shadow: 0 2px 12px rgba(4, 170, 109, 0.12);
}

.tut-aheader {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #282A35;
  transition: background 0.1s;
  font-family: inherit;
}

.tut-aheader:hover {
  background: #f9f9f9;
}

.tut-anum {
  width: 28px;
  height: 24px;
  font-size: 11px;
  font-weight: 700;
  color: #04AA6D;
  background: rgba(4, 170, 109, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tut-atitle {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: #282A35;
}

.tut-chevron {
  font-size: 16px;
  color: #04AA6D;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.tut-article.expanded .tut-chevron {
  transform: rotate(180deg);
}

.t-abody {
  padding: 0 24px 24px;
  border-top: 1px solid #e7e9eb;
  padding-top: 20px;
}

.t-abody p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 14px;
}

.t-points {
  margin: 14px 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.t-points li {
  margin-bottom: 4px;
}

.t-code-block {
  background: #1e1e2e;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid #2d2d3f;
}

.t-code-label {
  padding: 6px 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.t-code-block pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
}

.t-code-block code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #d4d4d8;
  white-space: pre;
}

.try-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 16px 16px;
  padding: 9px 26px;
  background: #04AA6D;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.try-btn:hover {
  background: #059862;
}

.try-btn:active {
  transform: scale(0.97);
}

.tut-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6c757d;
  background: #fff;
}

.tut-empty h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #282A35;
}

.tut-empty p {
  font-size: 15px;
  color: #6c757d;
}

@media (max-width: 768px) {
  .tut-layout {
    flex-direction: column;
  }

  .tut-sidebar {
    width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-height: 120px;
  }

  .tut-snav {
    width: auto;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 14px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .tut-snav.active {
    border-left: none;
    border-bottom-color: #04AA6D;
  }

  .tut-sdesc {
    display: none;
  }

  .tut-main {
    padding: 24px 16px;
  }

  .tut-topic-header h2 {
    font-size: 24px;
  }

  .tut-atitle {
    font-size: 15px;
  }

  .t-abody p {
    font-size: 14px;
  }

  .t-code-block code {
    font-size: 13px;
  }
}
/*$vite$:1*/