.guide-carousel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 15px;
  margin: 0 0 18px;
  background: #10192a;
  color: white;
}
.guide-slide { position: relative; min-height: 280px; display: flex; align-items: center; }
.guide-slide[hidden], .carousel-controls[hidden], .copy-prompt[hidden] { display: none; }
.guide-slide > img {
  position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover;
  margin: 0; border: 0; border-radius: 0;
}
.guide-slide::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #08101ddc 0%, #0a121db3 40%, transparent 78%);
}
.slide-copy { width: min(62%, 580px); padding: 34px 34px 60px; }
.slide-copy h2 { margin: 0; padding: 0; border: 0; font-size: clamp(24px,3.1vw,35px); line-height: 1.2; }
.slide-copy p { color: #f4f6ff; margin: 12px 0 18px; font-size: 15px; line-height: 1.5; }
.slide-copy a {
  display: inline-block; color: #112237; background: #f8fbff; border-radius: 6px; padding: 7px 13px;
  text-decoration: none; font-weight: 650; font-size: 14px; word-break: normal;
}
.carousel-controls {
  position: absolute; bottom: 11px; right: 13px; display: flex; align-items: center; gap: 5px;
  padding: 3px 5px; border-radius: 7px; background: #111824db; font-size: 12px;
}
.carousel-controls button { color: white; background: transparent; border: 0; padding: 4px 7px; border-radius: 4px; font: inherit; font-size: 14px; cursor: pointer; }
.carousel-controls button:hover { background: #39445c; }
.guide-carousel :focus-visible, .copy-prompt:focus-visible { outline: 3px solid #71b5ff; outline-offset: 2px; }
.download-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 9px; margin: 14px 0 20px; }
.download-list a { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #f7faff; text-decoration: none; word-break: normal; }
.download-list a:hover { border-color: var(--accent); }
.download-list span { display: block; color: #475569; font-size: 13px; line-height: 1.55; margin-top: 4px; }
.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); }
.table-scroll table { min-width: 660px; width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.table-scroll td, .table-scroll th { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.table-scroll thead { background: #eaf0fa; }
.table-scroll th[scope="row"] { width: 17%; }
.table-scroll tbody tr:nth-child(even) { background: #f7f9fc; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.prompt-template { white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-prompt { border: 1px solid #b9cbe9; background: #f7faff; color: #18478f; font: inherit; font-size: 14px; border-radius: 6px; padding: 4px 12px; cursor: pointer; }
.copy-feedback { font-size: 13px; margin-left: 6px; }
#codex-auth, #downloads, #codex-compare, #personalization { scroll-margin-top: 18px; }
@media(max-width:600px) {
  .guide-slide { min-height: 250px; }
  .guide-slide > img { object-position: 65% center; }
  .guide-slide::before { background: linear-gradient(90deg,#09111deb 3%,#0d1425b8 56%,#10182820); }
  .slide-copy { width: 83%; padding: 23px 17px 53px; }
  .guide-nav { gap: 6px; }
  .guide-nav a { padding: 4px 9px; font-size: 14px; }
}
