/* NeroPay Docs modern UI refresh */
:root{
  --np-ink:#0b0d12;
  --np-ink-soft:#2b313b;
  --np-muted:#697281;
  --np-muted-2:#8a94a6;
  --np-line:#e8ebf0;
  --np-line-dark:#d9dee7;
  --np-bg:#f7f8fb;
  --np-card:#ffffff;
  --np-yellow:#ffcf22;
  --np-yellow-soft:#fff4bd;
  --np-yellow-faint:#fffaf0;
  --np-radius:28px;
  --np-radius-sm:18px;
  --np-shadow:0 18px 60px rgba(15,23,42,.08);
  --np-shadow-soft:0 10px 30px rgba(15,23,42,.06);
  --np-header-h:76px;
}

html{scroll-behavior:smooth;}
body.np-docs-body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(circle at top left,rgba(255,207,34,.16),transparent 34rem),
    linear-gradient(180deg,#fff 0%,var(--np-bg) 42%,#fff 100%);
  color:var(--np-ink);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-rendering:optimizeLegibility;
}
body.np-docs-body a{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;}

/* Header */
.np-site-header{background:rgba(255,255,255,.84)!important;border-bottom:1px solid rgba(226,232,240,.86)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
.np-navbar{min-height:var(--np-header-h);padding:.7rem 0!important;background:transparent!important;}
.np-brand{display:flex;align-items:center;gap:.75rem;margin-right:1.25rem;}
.np-brand img{height:36px;width:auto;display:block;}
.np-desktop-nav{gap:1rem;}
.np-header-search{position:relative;display:flex;align-items:center;width:min(450px,34vw);margin-left:auto;margin-right:1.1rem;z-index:65;}
.np-header-search .search-icon{position:absolute;left:16px;color:#7b8494;font-size:1rem;z-index:2;}
.docs-search-input{height:44px!important;width:100%!important;border:1px solid var(--np-line)!important;border-radius:999px!important;background:rgba(255,255,255,.94)!important;padding-left:44px!important;padding-right:48px!important;box-shadow:0 1px 0 rgba(15,23,42,.03)!important;font-size:.95rem;}
.docs-search-input:focus{border-color:rgba(255,207,34,.95)!important;box-shadow:0 0 0 4px rgba(255,207,34,.18)!important;}
.np-search-kbd{position:absolute;right:13px;top:50%;transform:translateY(-50%);min-width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--np-line);border-radius:8px;background:#f8fafc;color:#8791a1;font-size:.78rem;font-weight:700;}
.np-header-links{align-items:center;gap:.15rem;white-space:nowrap;}
.np-header-links .nav-link{position:relative;border-radius:999px;padding:.55rem .78rem!important;color:#1d4f91!important;font-size:.93rem;font-weight:750;}
.np-header-links .nav-link:hover,.np-header-links .nav-link.active{background:#f3f7ff;color:#0b5ed7!important;}
.np-header-links .nav-link.active:after{content:"";position:absolute;left:50%;bottom:4px;width:18px;height:3px;border-radius:999px;background:var(--np-yellow);transform:translateX(-50%);}
.np-menu-toggle{width:44px;height:44px;border:1px solid var(--np-line)!important;border-radius:14px!important;background:#fff!important;padding:0!important;display:inline-flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;box-shadow:var(--np-shadow-soft);}
.np-menu-toggle span{display:block;width:18px;height:2px;border-radius:999px;background:#111;}
.np-menu-toggle:focus{box-shadow:0 0 0 4px rgba(255,207,34,.22)!important;}

/* Search dropdown */
.search-overlay{position:fixed;inset:0;background:rgba(10,14,22,.38)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;opacity:0;pointer-events:none;transition:opacity .18s ease;z-index:45;}
.search-overlay.show{opacity:1;pointer-events:auto;}
.docs-search-form.search-open{z-index:120;}
.search-dropdown{position:absolute;top:calc(100% + 12px);left:0;right:0;display:none;max-height:420px;overflow:auto;border:1px solid rgba(226,232,240,.92)!important;border-radius:22px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 26px 80px rgba(15,23,42,.2)!important;z-index:130;}
.docs-search-form.search-open .search-dropdown{display:block!important;}
.search-item{display:block;padding:15px 17px;border-bottom:1px solid #eef1f5;text-decoration:none;}
.search-item:last-child{border-bottom:0;}
.search-item:hover{background:var(--np-yellow-faint);}
.search-item-category{font-size:.72rem;color:#8a8f98;text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px;font-weight:800;}
.search-item-title{font-weight:800;color:#111;margin-bottom:4px;}
.search-item-excerpt{font-size:.9rem;color:var(--np-muted);line-height:1.45;}
.search-empty{padding:16px 18px;color:var(--np-muted);font-size:.95rem;}
.search-error{color:#b42318;}
.modern-scroll{scrollbar-width:thin;scrollbar-color:#c3cad6 transparent;}
.modern-scroll::-webkit-scrollbar{width:10px;height:10px;}
.modern-scroll::-webkit-scrollbar-track{background:transparent;}
.modern-scroll::-webkit-scrollbar-thumb{background:#c3cad6;border-radius:999px;border:2px solid transparent;background-clip:content-box;}

/* Mobile menu */
.np-mobile-menu{border-top-right-radius:28px;border-bottom-right-radius:28px;border-right:1px solid var(--np-line);}
.np-mobile-menu .offcanvas-header{padding:1.35rem 1.35rem 1rem;}
.np-mobile-menu .offcanvas-body{padding:0 1.2rem 1.4rem;}
.np-mobile-search{position:relative;}
.np-mobile-search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#7b8494;}
.np-mobile-search input{height:48px;border-radius:16px;border:1px solid var(--np-line);padding-left:42px;}
.np-mobile-section-title{margin:.8rem .25rem .5rem;color:var(--np-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.74rem;font-weight:900;}
.np-mobile-list{gap:.35rem;}
.np-mobile-list .list-group-item{display:flex;align-items:center;gap:.7rem;border:0!important;border-radius:15px!important;padding:.78rem .9rem;color:var(--np-ink);font-weight:700;}
.np-mobile-list .list-group-item i{width:21px;color:#111;}
.np-mobile-list .list-group-item.active,.np-mobile-list .list-group-item:hover{background:var(--np-yellow-soft)!important;color:#111!important;}

/* Common */
.np-home-main,.np-section{width:min(1600px,calc(100% - 32px));margin-inline:auto;}
.np-home-main{padding:34px 0 58px;}
.np-eyebrow,.eyebrow{display:inline-flex!important;align-items:center;gap:.45rem;width:max-content;padding:.45rem .75rem;border-radius:999px;background:linear-gradient(135deg,#fff2a6,#fff9d8);color:#684d00;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;box-shadow:inset 0 0 0 1px rgba(255,207,34,.32);}
.np-mini-label{display:block;color:#8c6a00;text-transform:uppercase;letter-spacing:.08em;font-weight:900;font-size:.74rem;margin-bottom:.35rem;}
.np-btn-primary{display:inline-flex;align-items:center;gap:.5rem;border:0!important;background:linear-gradient(135deg,var(--np-yellow),#ffd949)!important;color:#111!important;font-weight:900!important;border-radius:15px!important;box-shadow:0 14px 28px rgba(255,207,34,.28)!important;}
.np-btn-primary:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(255,207,34,.34)!important;}
.np-btn-soft{display:inline-flex;align-items:center;gap:.5rem;border-color:#111!important;color:#111!important;font-weight:800!important;border-radius:15px!important;background:#fff!important;}
.np-btn-soft:hover{background:#111!important;color:#fff!important;transform:translateY(-1px);}
.np-text-link{display:inline-flex;align-items:center;gap:.35rem;color:#111;text-decoration:none;font-weight:850;}
.np-text-link:hover{color:#8a6800;}
.np-section{margin-top:42px;}
.np-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:18px;}
.np-section-heading h2{margin:0;font-weight:900;letter-spacing:-.035em;font-size:clamp(1.45rem,2vw,2.25rem);}
.np-section-heading.compact{margin-bottom:14px;}
.np-section-heading.compact h2{font-size:1.35rem;}

/* Home */
.np-hero-section{position:relative;overflow:hidden;border:1px solid rgba(226,232,240,.95);border-radius:34px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,250,240,.9));box-shadow:var(--np-shadow);padding:clamp(26px,4vw,58px);}
.np-hero-section:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,207,34,.12) 0 1px,transparent 1px 100%),linear-gradient(180deg,rgba(255,207,34,.10) 0 1px,transparent 1px 100%);background-size:42px 42px;mask-image:linear-gradient(90deg,#000,transparent 68%);opacity:.45;pointer-events:none;}
.np-hero-glow{position:absolute;border-radius:999px;filter:blur(10px);opacity:.64;pointer-events:none;}
.np-hero-glow-one{width:240px;height:240px;background:rgba(255,207,34,.28);right:8%;top:10%;}
.np-hero-glow-two{width:180px;height:180px;background:rgba(26,115,232,.11);right:28%;bottom:6%;}
.np-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.65fr);gap:clamp(22px,4vw,52px);align-items:center;z-index:1;}
.np-hero-copy h1{max-width:900px;margin:.95rem 0 1rem;font-weight:900;letter-spacing:-.065em;line-height:.98;font-size:clamp(2.45rem,5.6vw,5.85rem);}
.np-hero-lead{max-width:820px;color:var(--np-muted);font-size:clamp(1.02rem,1.3vw,1.24rem);line-height:1.65;margin-bottom:1.45rem;}
.np-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.55rem;}
.np-hero-stats{display:flex;flex-wrap:wrap;gap:.75rem;}
.np-hero-stats div{min-width:128px;border:1px solid rgba(226,232,240,.95);border-radius:18px;background:rgba(255,255,255,.74);padding:.88rem 1rem;box-shadow:0 8px 28px rgba(15,23,42,.04);}
.np-hero-stats strong{display:block;font-size:1.28rem;font-weight:950;letter-spacing:-.03em;}
.np-hero-stats span{display:block;color:var(--np-muted);font-size:.82rem;font-weight:700;}
.np-hero-panel{border:1px solid rgba(226,232,240,.92);border-radius:30px;background:rgba(255,255,255,.9);box-shadow:0 26px 70px rgba(15,23,42,.12);padding:1.35rem;backdrop-filter:blur(14px);}
.np-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem;}
.np-panel-head h2{font-size:1.45rem;font-weight:900;letter-spacing:-.035em;margin:0;}
.np-live-pill{display:inline-flex;align-items:center;gap:.4rem;border:1px solid rgba(24,160,88,.18);background:#ecfdf3;color:#067647;border-radius:999px;padding:.38rem .65rem;font-size:.78rem;font-weight:900;}
.np-live-pill span{width:7px;height:7px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 5px rgba(18,183,106,.12);}
.np-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;}
.np-quick-card{display:flex;flex-direction:column;gap:.2rem;min-height:130px;text-decoration:none;color:#111;border:1px solid var(--np-line);border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcff);padding:1rem;}
.np-quick-card:hover{transform:translateY(-3px);border-color:#f2d34b;box-shadow:var(--np-shadow-soft);}
.np-quick-card i{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:var(--np-yellow-soft);font-size:1.15rem;margin-bottom:.45rem;}
.np-quick-card span{font-weight:900;}
.np-quick-card small{color:var(--np-muted);font-weight:650;}
.np-hero-note{display:flex;gap:.85rem;align-items:flex-start;margin-top:.95rem;border:1px solid #fee7a5;background:#fff9e8;border-radius:20px;padding:.95rem;}
.np-hero-note i{font-size:1.25rem;color:#8a6800;}
.np-hero-note strong{display:block;font-weight:900;}
.np-hero-note span{display:block;color:#745f2a;font-size:.9rem;line-height:1.4;}

.np-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.np-doc-card{position:relative;display:flex;text-decoration:none;color:#111;border:1px solid var(--np-line);border-radius:26px;background:rgba(255,255,255,.92);box-shadow:0 1px 0 rgba(15,23,42,.03);overflow:hidden;}
.np-doc-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(255,207,34,.13),transparent 42%);opacity:0;transition:opacity .18s ease;pointer-events:none;}
.np-doc-card:hover{transform:translateY(-3px);border-color:#f1d456;box-shadow:var(--np-shadow);color:#111;}
.np-doc-card:hover:before{opacity:1;}
.np-category-card{min-height:226px;padding:1.25rem;gap:1rem;}
.np-api-highlight{background:linear-gradient(135deg,#111 0%,#272a31 100%);border-color:#111;color:#fff;}
.np-api-highlight h3,.np-api-highlight p,.np-api-highlight .np-card-kicker{color:#fff!important;}
.np-api-highlight .np-card-icon{background:rgba(255,207,34,.95);color:#111;}
.np-card-icon{flex:0 0 auto;width:48px;height:48px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:var(--np-yellow-soft);color:#111;font-size:1.25rem;box-shadow:inset 0 0 0 1px rgba(255,207,34,.35);}
.np-card-icon-sm{width:42px;height:42px;border-radius:15px;font-size:1.05rem;}
.np-card-content{position:relative;min-width:0;padding-right:18px;z-index:1;}
.np-card-kicker{font-size:.76rem;color:#8a6800;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-bottom:.35rem;}
.np-category-card h3,.np-article-card h2{font-size:1.18rem;font-weight:900;letter-spacing:-.028em;margin:0 0 .45rem;color:inherit;}
.np-category-card p,.np-article-card p{color:var(--np-muted);line-height:1.55;margin:0;}
.np-card-arrow{position:absolute;right:18px;top:18px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f8fafc;color:#111;opacity:0;transform:translate(6px,-6px);z-index:1;}
.np-doc-card:hover .np-card-arrow{opacity:1;transform:translate(0,0);}
.np-api-highlight .np-card-arrow{background:rgba(255,255,255,.1);color:#fff;}
.np-updated-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.np-updated-card{display:flex;flex-direction:column;min-height:190px;border:1px solid var(--np-line);border-radius:24px;background:#fff;padding:1.1rem;text-decoration:none;color:#111;box-shadow:0 1px 0 rgba(15,23,42,.03);}
.np-updated-card:hover{border-color:#f1d456;box-shadow:var(--np-shadow-soft);transform:translateY(-2px);}
.np-updated-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#8a6800;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-bottom:.9rem;}
.np-updated-card h3{font-size:1rem;line-height:1.34;font-weight:900;letter-spacing:-.02em;margin:0 0 .55rem;}
.np-updated-card p{color:var(--np-muted);font-size:.9rem;line-height:1.5;margin:0 0 auto;}
.np-updated-card small{display:block;margin-top:.9rem;color:var(--np-muted-2);font-weight:700;}

/* Docs shell */
.docs-shell.np-docs-layout{display:grid;grid-template-columns:minmax(245px,300px) minmax(0,1fr) minmax(220px,270px);gap:26px;width:min(1760px,calc(100% - 32px));margin-inline:auto;padding:26px 0 58px;}
.docs-shell-no-toc.np-docs-layout{grid-template-columns:minmax(245px,300px) minmax(0,1fr);}
.np-doc-sidebar,.np-docs-toc{min-width:0;}
.sidebar-sticky,.toc-sticky{position:sticky;top:calc(var(--np-header-h) + 24px);}
.np-sidebar-card,.np-toc-card{border:1px solid var(--np-line);border-radius:26px;background:rgba(255,255,255,.92);box-shadow:var(--np-shadow-soft);padding:1rem;max-height:calc(100vh - var(--np-header-h) - 46px);overflow:auto;}
.np-toc-card{padding:1.05rem;}
.np-sidebar-brand{display:flex;gap:.85rem;align-items:flex-start;margin-bottom:.95rem;}
.np-sidebar-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:15px;background:var(--np-yellow-soft);font-size:1.1rem;color:#111;flex:0 0 auto;}
.sidebar-title,.toc-title{font-weight:950;letter-spacing:-.025em;color:#111;margin-bottom:.2rem;}
.sidebar-description{color:var(--np-muted);font-size:.88rem;line-height:1.45;margin:0;}
.np-sidebar-count{display:flex;align-items:center;gap:.35rem;border:1px solid var(--np-line);border-radius:16px;background:#f8fafc;padding:.75rem .85rem;color:var(--np-muted);font-size:.9rem;margin-bottom:.85rem;}
.np-sidebar-count strong{color:#111;font-size:1.1rem;}
.docs-nav{display:flex;flex-direction:column;gap:.18rem;}
.docs-nav .nav-link,.docs-nav .nav-sublink{display:block;border-radius:14px;color:#252b36;text-decoration:none;padding:.72rem .82rem;line-height:1.35;font-weight:700;}
.docs-nav .nav-sublink{font-size:.9rem;color:#5d6675;padding:.62rem .78rem;}
.docs-nav .nav-link:hover,.docs-nav .nav-sublink:hover{background:#fff8d6;color:#111;}
.docs-nav .nav-link.active,.docs-nav .nav-sublink.active{background:linear-gradient(135deg,var(--np-yellow-soft),#fff7d2);color:#111;font-weight:950;box-shadow:inset 3px 0 0 var(--np-yellow);}
.nav-submenu{padding-left:.55rem;margin:.1rem 0 .35rem;border-left:1px solid var(--np-line);}
.docs-main,.np-docs-main{min-width:0;}
.docs-content-wrap{max-width:980px;margin-inline:auto;}
.docs-content-wrap-wide{max-width:none;}

/* Category */
.np-category-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:1.3rem;align-items:end;border:1px solid var(--np-line);border-radius:30px;background:linear-gradient(135deg,#fff 0%,#fffaf0 100%);box-shadow:var(--np-shadow-soft);padding:clamp(1.2rem,3vw,2rem);margin-bottom:1.2rem;}
.np-category-hero h1{margin:.85rem 0 .55rem;font-size:clamp(2rem,4vw,3.9rem);font-weight:950;letter-spacing:-.06em;line-height:1;}
.np-category-hero p{max-width:760px;color:var(--np-muted);font-size:1.05rem;line-height:1.65;margin:0;}
.np-category-tools{display:flex;flex-direction:column;gap:.75rem;}
.np-category-search{position:relative;}
.np-category-search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#7d8797;}
.np-category-search input{width:100%;height:50px;border:1px solid var(--np-line);border-radius:17px;background:#fff;padding:0 14px 0 42px;font-weight:700;outline:none;}
.np-category-search input:focus{border-color:var(--np-yellow);box-shadow:0 0 0 4px rgba(255,207,34,.18);}
.np-category-total{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--np-line);border-radius:17px;background:#fff;padding:.9rem 1rem;}
.np-category-total strong{font-size:1.55rem;font-weight:950;}
.np-category-total span{color:var(--np-muted);font-weight:800;}
.np-mobile-section-strip{display:none;gap:.55rem;overflow:auto;margin:0 0 1rem;padding-bottom:.25rem;}
.np-mobile-section-strip a{white-space:nowrap;border:1px solid var(--np-line);background:#fff;border-radius:999px;padding:.62rem .9rem;text-decoration:none;color:#111;font-weight:800;font-size:.9rem;}
.np-mobile-section-strip a:hover{background:var(--np-yellow-soft);border-color:#efd250;}
.np-article-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.np-article-card{display:flex;flex-direction:column;min-height:235px;padding:1.18rem;}
.np-article-card-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem;}
.np-updated-date{font-size:.78rem;color:var(--np-muted);font-weight:800;}
.np-article-card h2{font-size:1.17rem;line-height:1.28;margin-bottom:.55rem;}
.np-article-card p{font-size:.94rem;margin-bottom:1rem;}
.np-card-footer-link{margin-top:auto;color:#111;font-weight:900;display:flex;align-items:center;gap:.4rem;}
.np-empty-filter{border:1px dashed var(--np-line-dark);border-radius:26px;background:#fff;padding:2.2rem;text-align:center;color:var(--np-muted);}
.np-empty-filter i{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:var(--np-yellow-soft);color:#111;font-size:1.4rem;margin-bottom:.8rem;}
.np-empty-filter h3{font-size:1.25rem;font-weight:950;color:#111;margin-bottom:.35rem;}

/* Article */
.np-article-wrap{max-width:980px;}
.np-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;color:var(--np-muted);font-size:.92rem;font-weight:800;margin-bottom:1rem;}
.np-breadcrumb a{color:#4e596a;text-decoration:none;}
.np-breadcrumb a:hover{color:#111;}
.np-breadcrumb i{font-size:.72rem;color:#a0a7b3;}
.np-article-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:1.3rem;align-items:start;border:1px solid var(--np-line);border-radius:32px;background:linear-gradient(135deg,#fff 0%,#fffaf0 100%);box-shadow:var(--np-shadow-soft);padding:clamp(1.25rem,3vw,2.15rem);margin-bottom:1.1rem;}
.np-article-hero h1{margin:.85rem 0 .65rem;font-weight:950;letter-spacing:-.055em;line-height:1.03;font-size:clamp(2.05rem,4.8vw,4.6rem);}
.np-article-hero p{max-width:760px;color:var(--np-muted);font-size:1.06rem;line-height:1.65;margin:0;}
.np-article-hero > :first-child{min-width:0;}
.np-article-hero h1{overflow-wrap:anywhere;word-break:break-word;}
.np-article-meta-card{display:flex;flex-direction:column;gap:.7rem;border:1px solid rgba(226,232,240,.95);border-radius:24px;background:rgba(255,255,255,.86);padding:1rem;align-self:start;height:auto;}
.np-article-meta-card div{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--np-line);padding-bottom:.7rem;}
.np-article-meta-card div:last-of-type{border-bottom:0;padding-bottom:0;}
.np-article-meta-card span{color:var(--np-muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;}
.np-article-meta-card strong{text-align:right;font-weight:950;color:#111;}
.np-copy-link-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;height:42px;border:0;border-radius:15px;background:#111;color:#fff;font-weight:900;}
.np-copy-link-btn:hover{background:#252525;}
.np-mobile-toc-card{display:none;border:1px solid var(--np-line);border-radius:20px;background:#fff;margin-bottom:1rem;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.04);}
.np-mobile-toc-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;border:0;background:#fff;padding:1rem;color:#111;font-weight:950;}
.np-mobile-toc-links{display:flex;flex-direction:column;padding:.15rem .8rem .85rem;}
.np-mobile-toc-links .toc-link{padding:.6rem .75rem;border-radius:13px;text-decoration:none;color:#4f5968;font-weight:800;}
.np-mobile-toc-links .toc-link:hover,.np-mobile-toc-links .toc-link.active{background:var(--np-yellow-soft);color:#111;}
.np-article-content{border:1px solid var(--np-line);border-radius:30px;background:#fff;box-shadow:var(--np-shadow-soft);padding:clamp(1.25rem,3vw,2.35rem);font-size:1.05rem;line-height:1.8;color:#1f2530;}
.np-article-content > *:first-child{margin-top:0!important;}
.np-article-content > *:last-child{margin-bottom:0!important;}
.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6{font-weight:950;color:#111;letter-spacing:-.035em;scroll-margin-top:calc(var(--np-header-h) + 28px);margin-top:1.35em;margin-bottom:.55em;line-height:1.18;}
.article-content h2{font-size:1.75rem;border-top:1px solid var(--np-line);padding-top:1.1rem;}
.article-content h3{font-size:1.35rem;}
.article-content p{margin-bottom:1rem;}
.article-content a{color:#0b5ed7;font-weight:800;text-underline-offset:3px;}
.article-content ul,.article-content ol{padding-left:1.25rem;margin-bottom:1rem;}
.article-content li{margin-bottom:.35rem;}
.article-content blockquote{margin:1.2rem 0;border-left:4px solid var(--np-yellow);background:var(--np-yellow-faint);border-radius:0 18px 18px 0;padding:1rem 1.1rem;color:#3b3320;}
.article-content img,.article-content video,.article-content iframe{max-width:100%;height:auto;border-radius:20px;border:1px solid var(--np-line);box-shadow:0 14px 38px rgba(15,23,42,.09);}
.article-content table{width:100%;display:block;overflow:auto;border-collapse:separate;border-spacing:0;margin:1.2rem 0;border:1px solid var(--np-line);border-radius:20px;background:#fff;}
.article-content table th{background:#f8fafc;font-weight:950;}
.article-content table td,.article-content table th{border-bottom:1px solid var(--np-line);border-right:1px solid var(--np-line);padding:14px 16px;vertical-align:top;}
.article-content table tr:last-child td{border-bottom:0;}
.article-content table td:last-child,.article-content table th:last-child{border-right:0;}
.article-content code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;}
.article-content :not(pre)>code,.inline-code{background:#fff7cc;border:1px solid #f3e18b;color:#564200;padding:.13rem .42rem;border-radius:.5rem;font-size:.92em;}
.article-content pre,.np-code{position:relative;background:#0b1020!important;color:#f8fafc!important;border:1px solid rgba(255,255,255,.09);padding:3.2rem 1rem 1rem!important;border-radius:22px!important;overflow:auto;white-space:pre-wrap;word-break:break-word;box-shadow:0 16px 44px rgba(15,23,42,.2);}
.copy-btn{position:absolute;top:10px;right:10px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:11px;padding:6px 10px;font-size:.82rem;font-weight:900;}
.code-lang{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;justify-content:center;padding:.3rem .62rem;border-radius:999px;background:rgba(255,207,34,.95);color:#111;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
.np-toc-card .toc-title{margin-bottom:.75rem;}
.toc-nav{max-height:calc(100vh - var(--np-header-h) - 130px);overflow:auto;padding-right:4px;}
.toc-link{display:block;padding:.45rem .2rem;color:#667085;font-size:.92rem;line-height:1.35;text-decoration:none;border-left:2px solid transparent;}
.toc-link.depth-2{padding-left:.75rem}.toc-link.depth-3{padding-left:1.35rem}.toc-link.depth-4,.toc-link.depth-5,.toc-link.depth-6{padding-left:1.9rem}
.toc-link:hover{color:#111;}
.toc-link.active{color:#111;font-weight:950;border-left-color:var(--np-yellow);background:linear-gradient(90deg,rgba(255,207,34,.14),transparent);}
.np-article-pagination{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:1rem;}
.np-page-card{display:flex;flex-direction:column;gap:.35rem;min-height:96px;border:1px solid var(--np-line);border-radius:22px;background:#fff;padding:1rem;text-decoration:none;color:#111;box-shadow:0 1px 0 rgba(15,23,42,.03);}
.np-page-card.next{text-align:right;align-items:flex-end;}
.np-page-card:hover{border-color:#f1d456;box-shadow:var(--np-shadow-soft);transform:translateY(-2px);}
.np-page-card span{color:var(--np-muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;}
.np-page-card strong{font-weight:950;line-height:1.3;}
.np-page-card.disabled{visibility:hidden;}
.np-related-section{margin-top:2rem;}
.np-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.np-related-card{display:flex;gap:.75rem;align-items:flex-start;border:1px solid var(--np-line);border-radius:20px;background:#fff;padding:1rem;text-decoration:none;color:#111;font-weight:900;line-height:1.35;}
.np-related-card i{width:34px;height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--np-yellow-soft);}
.np-related-card:hover{border-color:#f1d456;box-shadow:var(--np-shadow-soft);transform:translateY(-2px);}

/* Footer compatibility */
.site-footer{position:static!important;margin-top:auto;background:rgba(255,255,255,.9)!important;border-top:1px solid var(--np-line)!important;}
.badge,.text-bg-light,.text-bg-warning{color:#111!important;}

/* Responsive */
@media (max-width:1500px){
  .np-category-grid,.np-updated-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .np-article-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .np-article-hero{grid-template-columns:1fr;}
  .np-article-hero h1{font-size:clamp(2rem,4.2vw,3.6rem);}
}
@media (max-width:1250px){
  .np-header-search{width:min(360px,30vw);}
  .np-header-links .nav-link{font-size:.88rem;padding:.52rem .58rem!important;}
  .docs-shell.np-docs-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr);}
  .np-docs-toc{display:none;}
  .np-mobile-toc-card{display:block;}
}
@media (max-width:991.98px){
  :root{--np-header-h:68px;}
  .np-navbar{min-height:var(--np-header-h);}
  .np-brand img{height:32px;}
  .np-home-main,.np-section,.docs-shell.np-docs-layout{width:min(100% - 24px,760px);}
  .np-home-main{padding:22px 0 44px;}
  .np-hero-grid{grid-template-columns:1fr;}
  .np-hero-copy h1{font-size:clamp(2.25rem,10vw,4.2rem);}
  .np-hero-panel{padding:1rem;}
  .np-category-grid,.np-updated-grid,.np-article-card-grid,.np-related-grid{grid-template-columns:1fr;}
  .docs-shell.np-docs-layout,.docs-shell-no-toc.np-docs-layout{display:block;padding:18px 0 44px;}
  .np-doc-sidebar{display:none;}
  .docs-content-wrap{max-width:none;}
  .np-category-hero,.np-article-hero{grid-template-columns:1fr;border-radius:26px;}
  .np-category-hero h1,.np-article-hero h1{font-size:clamp(2rem,10vw,3.35rem);}
  .np-mobile-section-strip{display:flex;}
  .np-article-content{border-radius:24px;padding:1.2rem;}
  .article-content h2{font-size:1.45rem;}
  .np-article-pagination{grid-template-columns:1fr;}
  .np-page-card.next{text-align:left;align-items:flex-start;}
}
@media (max-width:575.98px){
  .np-home-main,.np-section,.docs-shell.np-docs-layout{width:min(100% - 18px,540px);}
  .np-hero-section{border-radius:24px;padding:20px;}
  .np-hero-actions .btn{width:100%;justify-content:center;}
  .np-hero-stats{display:grid;grid-template-columns:1fr;}
  .np-quick-grid{grid-template-columns:1fr;}
  .np-section-heading{align-items:flex-start;flex-direction:column;}
  .np-category-card{min-height:auto;}
  .np-doc-card{border-radius:22px;}
  .np-category-card{padding:1rem;}
  .np-card-icon{width:44px;height:44px;border-radius:16px;}
  .np-category-tools{gap:.6rem;}
  .np-article-meta-card div{align-items:flex-start;flex-direction:column;gap:.25rem;}
  .np-article-meta-card strong{text-align:left;}
  .np-breadcrumb{font-size:.86rem;}
}


/* Changelog filter sticky panel */
@media (min-width: 992px){
  .np-changelog-filter-column{
    position: sticky;
    top: calc(var(--np-header-h, 76px) + 22px);
    align-self: flex-start;
    z-index: 8;
  }

  .np-changelog-filter-sticky{
    position: static !important;
    top: auto !important;
  }

  .np-changelog-filter-sticky > .np-card{
    max-height: calc(100vh - var(--np-header-h, 76px) - 44px);
    overflow: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 991.98px){
  .np-changelog-filter-column,
  .np-changelog-filter-sticky{
    position: static !important;
    top: auto !important;
  }
}
