.portalHeroGrid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:24px;align-items:stretch}
.portalHeroCard{padding:28px}
.portalIntro{margin-top:14px;max-width:900px}
.portalTiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.portalTile{display:flex;flex-direction:column;gap:10px;padding:18px;text-decoration:none;color:inherit;transition:transform .15s ease, box-shadow .15s ease,border-color .15s ease}
.portalTile:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.12);border-color:#cbd5e1}
.portalTile .mono{font-size:12px;opacity:.75}
.portalTile h3{margin:0;font-size:20px;line-height:1.25}
.portalTile p{margin:0;color:#475569}
.portalSectionHead{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.portalSectionHead .p{max-width:860px;margin:0}
.portalList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.portalArticleCard{padding:18px}
.portalArticleCard h3{margin:0 0 10px 0;font-size:20px;line-height:1.3}
.portalArticleCard p{margin:0;color:#475569}
.portalMeta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.portalTag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#334155;font-size:13px;line-height:1}
.portalLayout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}
.portalSidebar{position:sticky;top:96px;padding:18px}
.portalSidebar h3{margin:0 0 12px 0;font-size:18px}
.portalNavGroup{display:flex;flex-direction:column;gap:6px}
.portalNavGroup + .portalNavGroup{margin-top:18px;padding-top:18px;border-top:1px solid #e2e8f0}
.portalNavLink{display:block;padding:10px 12px;border-radius:12px;color:#334155;text-decoration:none;transition:background .15s ease,color .15s ease}
.portalNavLink:hover{background:#f8fafc;color:#0f172a}
.portalNavLink.is-active{background:#eff6ff;color:#1d4ed8;font-weight:600}
.portalContent{padding:24px}
.portalContent .h1{margin-top:0}
.portalLead{font-size:18px;line-height:1.65;color:#334155;margin:0 0 20px 0}
.portalContent h2{margin:28px 0 12px 0;font-size:28px;line-height:1.25}
.portalContent h3{margin:22px 0 10px 0;font-size:22px;line-height:1.3}
.portalContent p{margin:0 0 14px 0;color:#334155;line-height:1.72}
.portalContent ul{margin:0 0 16px 22px;color:#334155;line-height:1.72}
.portalContent li+li{margin-top:8px}
.portalNote{padding:16px 18px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;margin:18px 0}
.portalIndex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 8px}
.portalIndex a{display:block;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;text-decoration:none;color:#0f172a;background:#fff}
.portalIndex a:hover{border-color:#cbd5e1;background:#f8fafc}
.portalBreadcrumbs{margin-bottom:14px}
.portalSubtle{color:#64748b}
@media (max-width:1100px){.portalHeroGrid,.portalLayout,.portalTiles,.portalList,.portalIndex{grid-template-columns:1fr}.portalSidebar{position:static}}

/* === TECHNICAL PORTAL PATCH V2 START === */
.portal-main{
  position: relative;
  padding-top: 34px;
  padding-bottom: 56px;
}

.portal-shell{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.portal-layout{
  display: grid;
  gap: 24px;
}

.portal-layout--hero{
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.95fr);
  align-items: start;
}

.portal-layout--content{
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
}

.portal-panel{
  background: #fff;
  border: 1px solid #d9e2f2;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(16, 42, 84, 0.05);
}

.portal-panel--hero{
  padding: 28px 30px 30px;
}

.portal-panel--compact{
  padding: 26px 28px 24px;
}

.portal-panel--sidebar{
  padding: 22px 22px 20px;
}

.portal-panel--sticky{
  position: sticky;
  top: 108px;
}

.portal-breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #6b7f9d;
  margin-bottom: 18px;
}

.portal-breadcrumbs a{
  color: #3d5f92;
  text-decoration: none;
}

.portal-breadcrumbs span::before{
  content: "/";
  margin-right: 8px;
  color: #9aaccc;
}

.portal-kicker,
.portal-side-title{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d8e5ff;
  color: #2b5fdd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.portal-side-title{
  margin-bottom: 16px;
}

.portal-side-title--sub{
  margin-top: 20px;
}

.portal-title{
  margin: 18px 0 14px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #173962;
}

.portal-title--section{
  font-size: clamp(34px, 4vw, 50px);
}

.portal-lead{
  max-width: 860px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #5d7699;
}

.portal-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.portal-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

.portal-btn--primary{
  background: linear-gradient(180deg, #3d7bff 0%, #2c62e8 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(44, 98, 232, 0.18);
}

.portal-btn--secondary{
  background: #f5f9ff;
  color: #2b5fdd;
  border: 1px solid #d9e6ff;
}

.portal-btn:hover{
  transform: translateY(-1px);
}

.portal-side-nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-side-nav a{
  display: block;
  padding: 12px 12px 12px 14px;
  border-radius: 14px;
  color: #4b607f;
  text-decoration: none;
  line-height: 1.35;
  transition: .18s ease;
}

.portal-side-nav a:hover{
  background: #f5f9ff;
  color: #214fbd;
}

.portal-side-nav a.is-active{
  background: #eef4ff;
  color: #214fbd;
  font-weight: 700;
}

.portal-section{
  margin-top: 28px;
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid #d9e2f2;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(16, 42, 84, 0.05);
}

.portal-section--tight{
  margin-top: 22px;
}

.portal-section-head h2{
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  color: #173962;
}

.portal-section-head p{
  margin: 0;
  max-width: 920px;
  font-size: 17px;
  line-height: 1.65;
  color: #61799a;
}

.portal-card-grid{
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.portal-card-grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-card{
  display: block;
  min-height: 210px;
  padding: 20px 18px 18px;
  background: #fbfdff;
  border: 1px solid #dde6f4;
  border-radius: 22px;
  text-decoration: none;
  transition: .18s ease;
}

.portal-card:hover{
  transform: translateY(-2px);
  border-color: #c7d8f7;
  box-shadow: 0 8px 22px rgba(27, 73, 148, 0.08);
}

.portal-card-num{
  display: inline-block;
  margin-bottom: 14px;
  color: #7e92b0;
  font-size: 14px;
  font-weight: 700;
}

.portal-card h3{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
  color: #173962;
}

.portal-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #61799a;
}

.portal-feature-grid{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.portal-feature,
.portal-article-card{
  padding: 18px 18px 16px;
  background: #fbfdff;
  border: 1px solid #dde6f4;
  border-radius: 22px;
}

.portal-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.portal-tags span{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f0f4ff;
  color: #5f7192;
  font-size: 13px;
  font-weight: 700;
}

.portal-feature h3,
.portal-article-card h3{
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.22;
}

.portal-feature h3 a,
.portal-article-card h3 a{
  color: #214fbd;
  text-decoration: none;
}

.portal-feature p,
.portal-article-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #61799a;
}

.portal-article-list{
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 1180px){
  .portal-layout--hero,
  .portal-layout--content{
    grid-template-columns: 1fr;
  }

  .portal-panel--sticky{
    position: static;
  }

  .portal-card-grid--3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-feature-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px){
  .portal-shell{
    padding: 0 16px;
  }

  .portal-panel--hero,
  .portal-panel--compact,
  .portal-panel--sidebar,
  .portal-section{
    padding-left: 18px;
    padding-right: 18px;
  }

  .portal-title{
    font-size: 38px;
  }

  .portal-title--section{
    font-size: 32px;
  }

  .portal-lead{
    font-size: 17px;
  }

  .portal-card-grid--3{
    grid-template-columns: 1fr;
  }

  .portal-card{
    min-height: auto;
  }
}
/* === TECHNICAL PORTAL PATCH V2 END === */

/* === TECHNICAL PORTAL ARTICLE PATCH V3 START === */
.portal-title--article{
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  margin-bottom: 16px;
}

.portal-lead--article{
  max-width: 980px;
  font-size: 17px;
  line-height: 1.72;
}

.portal-article{
  max-width: 100%;
}

.portal-article-section{
  margin-top: 34px;
  padding-top: 10px;
  scroll-margin-top: 120px;
}

.portal-article-section h2{
  margin: 0 0 14px;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.12;
  color: #173962;
}

.portal-article-section h3{
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  color: #173962;
}

.portal-article-section p{
  margin: 0 0 14px;
  max-width: 920px;
  font-size: 17px;
  line-height: 1.78;
  color: #5d7699;
}

.portal-note{
  margin-top: 22px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid #dde6f4;
  background: #f9fbff;
  color: #5e7697;
  font-size: 16px;
  line-height: 1.68;
}

.portal-note--soft{
  background: #f5f9ff;
}

.portal-anchor-nav{
  margin-top: 32px;
}

.portal-anchor-nav h2{
  margin: 0 0 16px;
  font-size: clamp(26px, 2.6vw, 38px);
  color: #173962;
}

.portal-anchor-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-anchor-grid a{
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid #dde6f4;
  background: #fbfdff;
  color: #3f5f90;
  text-decoration: none;
  line-height: 1.35;
  transition: .18s ease;
}

.portal-anchor-grid a:hover{
  border-color: #c8d8f7;
  color: #214fbd;
  background: #f7faff;
}

.portal-mini-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.portal-mini-card{
  padding: 16px 16px 14px;
  background: #fbfdff;
  border: 1px solid #dde6f4;
  border-radius: 18px;
}

.portal-mini-card p{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.portal-check-list{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.portal-check-list li{
  position: relative;
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.72;
  color: #5d7699;
}

.portal-check-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2b5fdd;
}

.portal-related-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.portal-related-card{
  display: block;
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid #dde6f4;
  background: #fbfdff;
  text-decoration: none;
  transition: .18s ease;
}

.portal-related-card:hover{
  transform: translateY(-2px);
  border-color: #c8d8f7;
  box-shadow: 0 8px 22px rgba(27, 73, 148, 0.08);
}

.portal-related-card h3{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  color: #214fbd;
}

.portal-related-card p{
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: #61799a;
}

@media (max-width: 980px){
  .portal-anchor-grid,
  .portal-mini-grid,
  .portal-related-grid{
    grid-template-columns: 1fr;
  }
}
/* === TECHNICAL PORTAL ARTICLE PATCH V3 END === */

/* === TECH PORTAL HEADER+TABLE PATCH START === */

.topbar{
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #d9e2f2;
  backdrop-filter: blur(10px);
}

.topbar-inner{
  max-width: 1280px;
  margin: 0 auto;
  min-height: 86px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brandPicture{
  display: inline-flex;
  align-items: center;
  max-width: 320px;
}

.brandWordmark{
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.topbar-nav{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar-nav a{
  color: #173962;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.topbar-nav a:hover{
  color: #2b5fdd;
}

.topbar-nav a:last-child{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3d7bff 0%, #2c62e8 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(44, 98, 232, .18);
}

.fc-nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d9e2f2;
  background: #fff;
  border-radius: 12px;
  padding: 0;
}

.fc-nav-toggle span,
.fc-nav-toggle span::before,
.fc-nav-toggle span::after{
  display: block;
  width: 18px;
  height: 2px;
  background: #173962;
  border-radius: 999px;
  position: relative;
  margin: 0 auto;
  content: "";
}

.fc-nav-toggle span::before{
  position: absolute;
  top: -6px;
  left: 0;
}

.fc-nav-toggle span::after{
  position: absolute;
  top: 6px;
  left: 0;
}

.portal-table-wrap{
  width: 100%;
  overflow-x: auto;
  margin-top: 14px;
  border: 1px solid #dde6f4;
  border-radius: 18px;
  background: #fbfdff;
}

.portal-table{
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
  color: #27466f;
}

.portal-table thead th{
  background: #f3f7ff;
  color: #173962;
  font-weight: 800;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #dbe5f5;
}

.portal-table tbody td{
  vertical-align: top;
  padding: 13px 16px;
  border-bottom: 1px solid #e7eef9;
}

.portal-table tbody tr:last-child td{
  border-bottom: 0;
}

.portal-table tbody td:first-child{
  width: 16%;
  font-weight: 700;
  color: #173962;
}

.portal-table tbody td:nth-child(2){
  width: 36%;
}

.portal-table tbody td:nth-child(3){
  width: 48%;
}

@media (max-width: 980px){
  .topbar-inner{
    min-height: 72px;
    padding: 0 16px;
  }

  .brandPicture{
    max-width: 220px;
  }

  .brandWordmark{
    max-width: 220px;
  }

  .topbar-nav{
    gap: 16px;
  }
}

@media (max-width: 760px){
  .fc-nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar-nav{
    display: none;
  }

  .brandPicture{
    max-width: 180px;
  }

  .brandWordmark{
    max-width: 180px;
  }
}

/* === TECH PORTAL HEADER+TABLE PATCH END === */

/* === PORTAL SIDEBAR STICKY FIX START === */
.portal-panel--sticky{
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.portal-panel--sticky::-webkit-scrollbar{
  width: 8px;
}

.portal-panel--sticky::-webkit-scrollbar-thumb{
  background: #cfdcf1;
  border-radius: 999px;
}

.portal-panel--sticky::-webkit-scrollbar-track{
  background: transparent;
}

.portal-panel--sidebar{
  align-self: start;
}

.portal-side-title{
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.portal-side-title--sub{
  margin-top: 18px;
}

.portal-side-nav{
  padding-bottom: 4px;
}

@media (max-width: 1180px){
  .portal-panel--sticky{
    position: static;
    max-height: none;
    overflow: visible;
  }

  .portal-side-title{
    position: static;
  }
}
/* === PORTAL SIDEBAR STICKY FIX END === */
