/* Undo sepay.vn theme defaults that leak into the /agents content (the mockup rendered without theme.min.css).
   :where() keeps specificity at element level, so the page's own rules still win. */
:where(.ag-page #main) dt{font-weight:400}
:where(.ag-page #main) code{color:inherit}
:where(.ag-page #main) pre{overflow:visible}
:where(.ag-page #main, .ag-page .ag-sub) *::before,
:where(.ag-page #main, .ag-page .ag-sub) *::after{box-sizing:content-box}

/* The site header sits absolutely over the page and turns fixed after the first screen.
   Reserve its height above the content, and park the sticky sub-nav under it while it is shown.
   agents-site.js keeps --ag-header-h equal to the real header height; these are the defaults. */
:root{--ag-header-h:66px}
@media (min-width:992px){:root{--ag-header-h:124px}}
@media (min-width:1200px){:root{--ag-header-h:74px}}
.ag-page #content{padding-top:var(--ag-header-h)}
.ag-page .ag-sub{transition:top .2s}
.ag-page #header.navbar-scrolled:not(.navbar-moved-up) ~ #content .ag-sub{top:var(--ag-header-h)}
/* Sticky FAQ heading: sit below the sticky sub-nav (57px), and below the site header too while it is shown */
.ag-page .faq-grid .sh{top:81px;transition:top .2s}
.ag-page #header.navbar-scrolled:not(.navbar-moved-up) ~ #content .faq-grid .sh{top:calc(var(--ag-header-h) + 81px)}
/* Anchor jumps land below both the fixed site header and the sub-nav (this file only loads on /agents) */
html{scroll-padding-top:calc(var(--ag-header-h) + 72px)}

/* Tweaks requested after hand-off */
/* Breathing room between the answer table and the follow-up question */
.ag-a .ag-tb+p{margin-top:12px}
/* Thin, low-contrast horizontal scrollbar on the dark command cells (developer tab) */
.ag-pipe code::-webkit-scrollbar{height:7px}
.ag-pipe code::-webkit-scrollbar-track{background:transparent;margin:0 8px}
.ag-pipe code::-webkit-scrollbar-thumb{background:rgba(219,228,245,.22);background-clip:padding-box;border:2px solid transparent;border-bottom-width:3px;border-radius:6px}
.ag-pipe code:hover::-webkit-scrollbar-thumb{background-color:rgba(219,228,245,.42)}
@supports not selector(::-webkit-scrollbar){
  .ag-pipe code{scrollbar-width:thin;scrollbar-color:rgba(219,228,245,.3) transparent}
}
/* /agents/skills: keep the intro of the "5 lỗi" section on one line wherever the column fits it */
@media (min-width:992px){
  #loi-hay-gap .sh{max-width:none}
  #loi-hay-gap .sh p{white-space:nowrap}
}
/* Center the number, title and both columns of each "5 lỗi" card vertically (multi-column layouts only) */
@media (min-width:721px){
  .ag-fix li{align-items:center}
}
/* claude-cli.png is 96x60; keep its aspect ratio inside the square 20x20 / 16x16 logo slots */
.ag-page img[alt="Logo Claude Code"]{object-fit:contain}
