:root {
  --tg-brand: #10a667;
  --tg-brand-deep: #087a4b;
  --tg-ink: #18212f;
  --tg-muted: #697386;
  --tg-line: #e7ebef;
  --tg-surface: #ffffff;
  --tg-canvas: #f4f7f6;
  --tg-radius: 14px;
  --tg-shadow: 0 12px 36px rgba(24, 33, 47, .07);
  --tg-wrap: 1200px;
}

html { scroll-behavior: smooth; }
body.techgg { background: var(--tg-canvas); color: var(--tg-ink); font-family: "IBM Plex Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
body.techgg *, body.techgg *::before, body.techgg *::after { box-sizing: border-box; }
body.techgg img { max-width: 100%; height: auto; }
body.techgg .wp, body.techgg .dz_btm_layer { width: min(var(--tg-wrap), calc(100% - 40px)); }
body.techgg .dz_layer_top { background: rgba(22, 24, 23, .97) !important; border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
body.techgg .dz_btm_layer { height: 60px; min-height: 60px; }
body.techgg .dzlogo { width: 154px; height: 42px; }
body.techgg .dzlogo img { max-width: 154px; max-height: 42px; }
body.techgg .dz_layer_nav ul li a { font-size: 15px; font-weight: 650; color: rgba(255,255,255,.76); }
body.techgg .dz_layer_nav ul li.a a, body.techgg .dz_layer_nav ul li a:hover { color: #fff; }
body.techgg .header-notice .notice-icon .dzicon, body.techgg .dz_layer_dl, body.techgg .dz_layer_dl a { color: rgba(255,255,255,.82); }
body.techgg .dz_layer_nav ul li a::after { background: var(--tg-brand); }
body.techgg .dz_footc { margin-top: 56px; background: #16211c; }
body.techgg .dz_footc_bottom { padding-left: 0; padding-right: 0; }

/* Portal shell */
body.techgg .container { width: min(var(--tg-wrap), calc(100% - 40px)); margin-left: auto; margin-right: auto; }
body.techgg .portal-home-layout, body.techgg .row { min-width: 0; }
body.techgg .portal-home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
body.techgg .portal-home-sidebar { min-width: 0; }
body.techgg .main-mid, body.techgg .main-left, body.techgg .area { min-width: 0; }
body.techgg .main-mid, body.techgg .portal-home-sidebar > * { border-radius: var(--tg-radius); }
body.techgg .tagbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 10px; padding-top: 18px; border-top: 1px solid var(--tg-line); color: var(--tg-muted); }
body.techgg .tagbox a { display: inline-flex; padding: 6px 11px; border: 1px solid #d8eee4; border-radius: 999px; background: #f0faf5; color: var(--tg-brand-deep); }
body.techgg .tagbox a:hover { color: #fff; background: var(--tg-brand); border-color: var(--tg-brand); }
body.techgg .ff-work-article-labels { display: grid; gap: 12px; margin: 28px 0 10px; padding-top: 18px; border-top: 1px solid var(--tg-line); }
body.techgg .ff-work-label-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.techgg .ff-work-label-title { min-width: 72px; color: var(--tg-muted); font-size: 13px; font-weight: 700; }
body.techgg .ff-work-label-group a,
body.techgg .ff-work-label-group span { display: inline-flex; padding: 6px 11px; border: 1px solid #d8eee4; border-radius: 999px; background: #f0faf5; color: var(--tg-brand-deep); font-size: 12px; line-height: 1.2; }
body.techgg .ff-work-label-group a:hover { border-color: var(--tg-brand); background: var(--tg-brand); color: #fff; }
body.techgg .ff-work-label-group.is-content span { border-color: #e2e6ea; background: #f5f6f7; color: #5f6875; }

/* Portal article and category layouts */
body.techgg #ct.ct2.inside_box { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; width: min(var(--tg-wrap), calc(100% - 40px)); }
body.techgg #ct.ct2.inside_box::before, body.techgg #ct.ct2.inside_box::after { display: none; }
body.techgg #ct.ct2.inside_box > .mn, body.techgg #ct.ct2.inside_box > .sd { float: none; width: auto; min-width: 0; margin: 0; }
body.techgg #ct.ct2.inside_box > .mn { padding: 0; background: var(--tg-surface); border-radius: var(--tg-radius); box-shadow: var(--tg-shadow); overflow: hidden; }
body.techgg #ct.ct2.inside_box > .sd { display: block; }
body.techgg .middle_info { padding: clamp(20px, 4vw, 52px); }
body.techgg .article-content { font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
body.techgg .article-content p { margin: 1.15em 0; }
body.techgg .tg-side-card, body.techgg #ct.ct2 .sd .box-moder, body.techgg #ct.ct2 .sd > .area { margin: 0 0 18px; padding: 20px; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); box-shadow: var(--tg-shadow); }
body.techgg .tg-side-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--tg-line); font-size: 16px; font-weight: 750; }
body.techgg .tg-work-list { margin: 0; padding: 0; list-style: none; }
body.techgg .tg-work-list li + li { border-top: 1px dashed var(--tg-line); }
body.techgg .tg-work-list a { display: block; padding: 11px 0; color: var(--tg-ink); line-height: 1.55; }
body.techgg .tg-work-list a:hover { color: var(--tg-brand); }
body.techgg .tg-author-card { text-align: center; }
body.techgg .tg-author-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }

/* X5 portal administration */
body.techgg.pg_portalcp #ct, body.techgg.pg_portalcp .ct2_a { width: min(1160px, calc(100% - 40px)); margin: 28px auto; }
body.techgg.pg_portalcp .mn, body.techgg.pg_portalcp .appl { border-radius: var(--tg-radius); border-color: var(--tg-line); background: #fff; box-shadow: var(--tg-shadow); }
body.techgg.pg_portalcp .tb a, body.techgg.pg_portalcp .pn { border-radius: 8px; }

/* Space/member center: retain X5 DOM, replace fragile floats. */
body.techgg[id^="nv_home"] #ct, body.techgg.pg_space #ct, body.techgg.pg_spacecp #ct { width: min(1160px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
body.techgg.pg_space .ct2_a, body.techgg.pg_spacecp .ct2_a { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
body.techgg.pg_space .ct2_a > .appl, body.techgg.pg_space .ct2_a > .mn, body.techgg.pg_spacecp .ct2_a > .appl, body.techgg.pg_spacecp .ct2_a > .mn { float: none; width: auto; min-width: 0; margin: 0; }
body.techgg .appl, body.techgg .mn { border-color: var(--tg-line); }

@media (max-width: 900px) {
  body.techgg .wp, body.techgg .dz_btm_layer, body.techgg .container, body.techgg #ct.ct2.inside_box,
  body.techgg.pg_portalcp #ct, body.techgg.pg_portalcp .ct2_a,
  body.techgg[id^="nv_home"] #ct, body.techgg.pg_space #ct, body.techgg.pg_spacecp #ct { width: min(100% - 24px, var(--tg-wrap)); }
  body.techgg .dz_btm_layer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
  body.techgg .dz_layer_nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  body.techgg .dz_layer_nav::-webkit-scrollbar { display: none; }
  body.techgg .dz_layer_nav ul { display: flex; width: max-content; }
  body.techgg .portal-home-layout, body.techgg #ct.ct2.inside_box,
  body.techgg.pg_space .ct2_a, body.techgg.pg_spacecp .ct2_a { grid-template-columns: 1fr; }
  body.techgg #ct.ct2.inside_box > .sd { width: min(100%, 560px); margin: 0 auto; }
  body.techgg .portal-main-left, body.techgg .portal-main-right { float: none !important; width: 100% !important; }
}

@media (max-width: 600px) {
  body.techgg .wp, body.techgg .container, body.techgg #ct.ct2.inside_box { width: 100%; }
  body.techgg #wp { padding-left: 0; padding-right: 0; }
  body.techgg .middle_info { padding: 18px 14px; }
  body.techgg #ct.ct2.inside_box > .mn { border-radius: 0; }
  body.techgg #ct.ct2.inside_box > .sd { width: calc(100% - 24px); }
  body.techgg .article-content { font-size: 16px; line-height: 1.78; }
  body.techgg .dz_footc_bottom { width: calc(100% - 24px); }
}

/* Compact TechGG brand footer */
body.techgg .dz_footc {
  margin-top: 48px;
  padding: 0;
  color: rgba(255, 255, 255, .58);
  background: #111a16;
  box-shadow: none;
}
body.techgg #ft.dz_footc_bottom {
  padding: 26px 0 20px;
  line-height: 1.6;
  color: inherit;
}
body.techgg .techgg-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
body.techgg .techgg-footer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}
body.techgg .techgg-footer-logo {
  display: flex;
  width: 156px;
  height: 54px;
  flex: 0 0 156px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
body.techgg .techgg-footer-logo img {
  display: block;
  width: 156px !important;
  height: 54px !important;
  max-width: 156px !important;
  max-height: 54px !important;
  object-fit: contain;
}
body.techgg .techgg-footer-identity { min-width: 0; }
body.techgg .techgg-footer-identity strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .04em;
}
body.techgg .techgg-footer-identity strong span {
  margin-left: 5px;
  color: #3ac87f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
body.techgg .techgg-footer-identity p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
}
body.techgg .dz_footc_nav {
  display: flex;
  height: auto;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px 18px;
  line-height: 1.5;
  border: 0;
}
body.techgg .dz_footc_nav a {
  margin: 0;
  float: none;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}
body.techgg .dz_footc_nav a:hover { color: #45d58d; }
body.techgg .dz_footc_nav .pipe { display: none; }
body.techgg .dz_footc_copy {
  margin-top: 19px;
  padding: 14px 0 0;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
body.techgg .techgg-copyright {
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 9px;
}
body.techgg .techgg-copyright-owner {
  color: rgba(255, 255, 255, .7);
  font-weight: 600;
}
body.techgg .techgg-copyright-owner b {
  color: #39c77f;
  font-size: 14px;
}
body.techgg .techgg-copyright-separator { color: rgba(255, 255, 255, .18); }
body.techgg .techgg-discuz-note { color: rgba(255, 255, 255, .55); }
body.techgg .dz_footc_copy a { color: rgba(255, 255, 255, .55); }
body.techgg .dz_footc_copy a:hover { color: #45d58d; }
body.techgg .dz_footc_copy .techgg-mps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body.techgg .dz_footc_copy .techgg-mps img {
  width: 14px;
  height: 14px;
  margin: 0;
  vertical-align: middle;
}

/* Use an inline SVG instead of the legacy icon font to avoid the question-mark glyph. */
body.techgg .dz_rnav a.techgg-wechat-button::before { content: none !important; }
body.techgg .dz_rnav a.techgg-wechat-button {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.techgg .techgg-wechat-icon {
  width: 25px;
  height: 25px;
  fill: #21b263;
}
body.techgg .dz_rnav a.techgg-wechat-button:hover .techgg-wechat-icon { fill: #fff; }
body.techgg .dz_rnav a.dz_rwx .dz_rewm_box {
  top: 50%;
  right: 44px;
  padding-right: 14px;
  transform: translateY(-50%);
}
body.techgg .dz_rnav a.dz_rwx .dz_rewm {
  width: 180px;
  padding: 12px;
  color: #34423b;
  background: #fff;
  border: 1px solid #e6ece8;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}
body.techgg .dz_rnav a.dz_rwx .dz_rewm img {
  width: 180px;
  height: 180px;
  margin: 0 0 8px;
  border-radius: 5px;
}
body.techgg .dz_rnav a.dz_rwx .dz_rewm span {
  color: #52605a;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}
body.techgg .dz_rnav a.dz_rwx:focus .dz_rewm_box,
body.techgg .dz_rnav a.dz_rwx.is-open .dz_rewm_box { display: block; }

@media (max-width: 600px) {
  body.techgg .dz_footc { margin-top: 32px; }
  body.techgg #ft.dz_footc_bottom {
    width: 100%;
    padding: 22px 14px 18px;
  }
  body.techgg .techgg-footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  body.techgg .techgg-footer-logo,
  body.techgg .techgg-footer-logo img {
    width: 132px !important;
    max-width: 132px !important;
    height: 46px !important;
    max-height: 46px !important;
    flex-basis: 132px;
  }
  body.techgg .techgg-footer-identity strong { font-size: 16px; }
  body.techgg .dz_footc_nav {
    justify-content: flex-start;
    gap: 8px 15px;
  }
  body.techgg .techgg-copyright {
    display: block;
    line-height: 1.9;
  }
  body.techgg .techgg-copyright > span,
  body.techgg .techgg-copyright > a { margin-right: 6px; }
  body.techgg .techgg-copyright-separator { display: none; }
  body.techgg .dz_rnav a.dz_rwx .dz_rewm_box { right: 40px; }
  body.techgg .dz_rnav a.dz_rwx .dz_rewm,
  body.techgg .dz_rnav a.dz_rwx .dz_rewm img {
    width: 150px;
    height: auto;
  }
}

/* Icon-only portal search with an expandable keyword panel. */
body.techgg .techgg-header-search {
  position: relative;
  display: flex;
  margin-right: 12px;
  align-items: center;
}
body.techgg .techgg-search-trigger {
  display: flex;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, .78);
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
body.techgg .techgg-search-trigger:hover,
body.techgg .techgg-header-search.open .techgg-search-trigger {
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .09);
}
body.techgg .techgg-search-trigger svg,
body.techgg .techgg-search-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
body.techgg .techgg-search-panel {
  position: absolute;
  z-index: 500;
  top: 55px;
  right: 0;
  display: none;
  box-sizing: border-box;
  width: 430px;
  padding: 18px;
  color: #26332d;
  border: 1px solid #e4eae7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(10, 26, 18, .2);
}
body.techgg .techgg-search-panel::before {
  position: absolute;
  top: -7px;
  right: 13px;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 1px solid #e4eae7;
  border-left: 1px solid #e4eae7;
  background: #fff;
  transform: rotate(45deg);
}
body.techgg .techgg-header-search.open .techgg-search-panel { display: block; }
body.techgg .techgg-search-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  justify-content: space-between;
}
body.techgg .techgg-search-panel-head strong {
  color: #1e2c25;
  font-size: 16px;
  font-weight: 750;
}
body.techgg .techgg-search-close {
  width: 28px;
  height: 28px;
  padding: 0;
  color: #829088;
  font-size: 23px;
  line-height: 25px;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: #f1f5f3;
}
body.techgg .techgg-search-close:hover { color: #148f54; background: #e8f7ef; }
body.techgg .techgg-search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  overflow: hidden;
  border: 1px solid #cfdad4;
  border-radius: 9px;
  background: #f8faf9;
}
body.techgg .techgg-search-field:focus-within {
  border-color: #24aa68;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(32, 172, 104, .1);
}
body.techgg .techgg-search-input {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: #26332d;
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  border: 0;
  background: transparent;
}
body.techgg .techgg-search-input::-webkit-search-cancel-button { display: none; }
body.techgg .techgg-search-submit {
  display: flex;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: 0;
  background: #1ca461;
}
body.techgg .techgg-search-submit:hover { background: #11864d; }
body.techgg .techgg-search-recommend { margin-top: 16px; }
body.techgg .techgg-search-recommend-title {
  display: block;
  margin-bottom: 9px;
  color: #8a9690;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em;
}
body.techgg .techgg-search-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.techgg .techgg-search-keywords a {
  padding: 6px 10px;
  color: #506159 !important;
  font-size: 12px;
  line-height: 1.3;
  border: 1px solid #e3ebe7;
  border-radius: 16px;
  background: #f5f8f6;
}
body.techgg .techgg-search-keywords a:hover {
  color: #11864d !important;
  border-color: #b9dec9;
  background: #edf9f2;
}
body.techgg .techgg-search-keywords a:nth-child(n+9) { display: none; }

/* Restore readable colors inside account and notification popovers. */
body.techgg .header-user .user-card {
  width: 236px;
  color: #344139;
  border: 1px solid #e5ebe8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(12, 31, 21, .18);
}
body.techgg .header-user .user-card a,
body.techgg .header-user .user-card-top .block_name,
body.techgg .header-user .user-card-top .block_name a,
body.techgg .header-user .author_intro p,
body.techgg .header-user .author_intro p a {
  color: #344139 !important;
}
body.techgg .header-user .user-card-top .block_name a + a {
  color: #8a9690 !important;
  font-size: 12px;
}
body.techgg .header-user .user-card-area { border-color: #e8eeeb; }
body.techgg .header-user .user-card-area a {
  margin: 4px 0;
  padding: 8px 10px;
  border-radius: 6px;
}
body.techgg .header-user .user-card-area a:hover {
  color: #11864d !important;
  background: #edf8f2;
}
body.techgg .header-user .user-card-bottom { border-color: #e8eeeb; }
body.techgg .header-user .user-card-bottom .user-logout-btn {
  color: #d94747 !important;
  justify-content: center;
}
body.techgg .header-user .user-card-bottom .user-logout-btn:hover { background: #fff1f1; }
body.techgg .header-user .poptip-arrow::after { border-bottom-color: #fff; }
body.techgg .header-notice .notice-content { background: #fff; }
body.techgg .header-notice .notice-content a { color: #344139 !important; }
body.techgg .header-notice .notice-content a:hover { color: #11864d !important; background: #edf8f2; }

@media (max-width: 700px) {
  body.techgg .techgg-header-search { margin-right: 4px; }
  body.techgg .techgg-search-panel {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
  }
  body.techgg .techgg-search-panel::before { right: 66px; }
}

/* Compact global navigation */
body.techgg .dz_nav .dz_nav_logo,
body.techgg .dz_layer_nav,
body.techgg .dz_layer_nav ul li a { height: 60px; line-height: 60px; }
body.techgg .header-right { height: 60px; }
body.techgg .header-client,
body.techgg .header-notice,
body.techgg .header-i18n { height: 56px; }
body.techgg .techgg-search-panel,
body.techgg .header-user-dropdown,
body.techgg .notice-dropdown { top: 52px; }

/* Portal operations center */
body.techgg.pg_portalcp #ct,
body.techgg.pg_portalcp .ct2_a { width: min(1180px, calc(100% - 40px)); margin: 24px auto 48px; }
body.techgg.pg_portalcp #ct.ct2_a { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 24px; align-items: start; }
body.techgg.pg_portalcp #ct.ct2_a::before,
body.techgg.pg_portalcp #ct.ct2_a::after { display: none; }
body.techgg.pg_portalcp #ct.ct2_a > .mn { grid-column: 2; grid-row: 1; float: none; width: auto; min-width: 0; margin: 0; }
body.techgg.pg_portalcp #ct.ct2_a > .appl { grid-column: 1; grid-row: 1; position: sticky; top: 78px; float: none; width: auto; min-width: 0; margin: 0; overflow: visible; }
body.techgg.pg_portalcp .mn,
body.techgg.pg_portalcp .appl { border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: #fff; box-shadow: var(--tg-shadow); }
body.techgg.pg_portalcp .mn { padding: 24px; overflow: hidden; }
body.techgg.pg_portalcp .appl { padding: 10px; }
body.techgg.pg_portalcp .techgg-portalcp-breadcrumb { margin-top: 22px; color: var(--tg-muted); font-size: 13px; }
body.techgg.pg_portalcp .techgg-portalcp-breadcrumb em { margin: 0 8px; color: #b0b8c4; }
body.techgg.pg_portalcp .techgg-portalcp-nav { height: auto; min-height: 0; padding: 0; border: 0; overflow: visible; }
body.techgg.pg_portalcp .techgg-portalcp-nav-head { height: auto; min-height: 0; margin: -10px -10px 8px; padding: 20px 18px 16px; overflow: visible; border-radius: 13px 13px 0 0; background: linear-gradient(145deg, #13251d, #0b7348); color: #fff; line-height: normal; }
body.techgg.pg_portalcp .techgg-portalcp-nav-head strong,
body.techgg.pg_portalcp .techgg-portalcp-nav-head span { display: block; }
body.techgg.pg_portalcp .techgg-portalcp-nav-head strong { height: auto; font-size: 19px; line-height: 1.35; letter-spacing: .04em; white-space: normal; }
body.techgg.pg_portalcp .techgg-portalcp-nav-head span { height: auto; margin-top: 5px; overflow: visible; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; white-space: normal; }
body.techgg.pg_portalcp .techgg-portalcp-nav ul { margin: 0; padding: 0; border: 0; }
body.techgg.pg_portalcp .techgg-portalcp-nav li { height: auto; min-height: 0; margin: 3px 0; border: 0; }
body.techgg.pg_portalcp .techgg-portalcp-nav li a { display: flex; width: 100%; min-width: 0; min-height: 42px; box-sizing: border-box; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; color: #435064; font-weight: 650; line-height: 1.45; white-space: normal; overflow: visible; }
body.techgg.pg_portalcp .techgg-portalcp-nav li a span { display: block; min-width: 0; height: auto; line-height: 1.45; overflow: visible; overflow-wrap: anywhere; }
body.techgg.pg_portalcp .techgg-portalcp-nav li a:hover { background: #f1f7f4; color: var(--tg-brand-deep); }
body.techgg.pg_portalcp .techgg-portalcp-nav li.a a { background: #e9f8f1; color: var(--tg-brand-deep); }
body.techgg.pg_portalcp .techgg-portalcp-icon { display: inline-flex; width: 20px; height: 20px; flex: 0 0 20px; align-items: center; justify-content: center; border-radius: 5px; background: #eef3f0; color: #69778a; font-style: normal; font-size: 13px; line-height: 1; }
body.techgg.pg_portalcp .techgg-portalcp-icon::before { display: block; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-channel::before { content: '\25a6'; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-write::before { content: '+'; font-size: 17px; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-article::before { content: '\2261'; font-size: 16px; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-comment::before { content: '\25a1'; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-block::before { content: '\229e'; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-plugin::before { content: '\2699'; }
body.techgg.pg_portalcp .techgg-portalcp-icon.is-logout::before { content: '\2192'; }
body.techgg.pg_portalcp .techgg-portalcp-nav li.a .techgg-portalcp-icon { background: var(--tg-brand); color: #fff; box-shadow: 0 0 0 3px rgba(16,166,103,.1); }
body.techgg.pg_portalcp .techgg-portalcp-nav .techgg-portalcp-logout { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--tg-line); }
body.techgg.pg_portalcp .techgg-portalcp-card { min-width: 0; }
body.techgg.pg_portalcp .techgg-portalcp-card-head { margin: -24px -24px 22px; padding: 25px 28px 21px; border-bottom: 1px solid var(--tg-line); background: linear-gradient(120deg, #fbfdfc, #f0f8f4); }
body.techgg.pg_portalcp .techgg-portalcp-card-head h1 { margin: 4px 0; font-size: 25px; }
body.techgg.pg_portalcp .techgg-portalcp-card-head p { margin: 0; color: var(--tg-muted); }
body.techgg.pg_portalcp .techgg-portalcp-kicker { color: var(--tg-brand); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
body.techgg.pg_portalcp .techgg-comment-filter { display: grid; grid-template-columns: minmax(180px, 1fr) 120px 120px auto auto; gap: 12px; align-items: end; margin-bottom: 22px; padding: 16px; border: 1px solid var(--tg-line); border-radius: 12px; background: #f8faf9; }
body.techgg.pg_portalcp .techgg-comment-filter label span { display: block; margin-bottom: 6px; color: var(--tg-muted); font-size: 12px; font-weight: 650; }
body.techgg.pg_portalcp .techgg-comment-filter .px { width: 100%; height: 38px; border-color: #dce3df; border-radius: 8px; }
body.techgg.pg_portalcp .techgg-comment-filter .pn { height: 38px; padding: 0 18px; }
body.techgg.pg_portalcp .techgg-filter-reset { display: inline-flex; height: 38px; align-items: center; color: var(--tg-muted); }
body.techgg.pg_portalcp .techgg-comment-table-wrap { overflow-x: auto; }
body.techgg.pg_portalcp .techgg-comment-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
body.techgg.pg_portalcp .techgg-comment-table th { padding: 11px 12px; border-bottom: 1px solid var(--tg-line); color: var(--tg-muted); background: #f7f9f8; text-align: left; font-size: 12px; }
body.techgg.pg_portalcp .techgg-comment-table td { padding: 15px 12px; border-bottom: 1px solid var(--tg-line); color: #4c5767; vertical-align: top; line-height: 1.55; overflow-wrap: anywhere; }
body.techgg.pg_portalcp .techgg-comment-table th:first-child { width: 34%; }
body.techgg.pg_portalcp .techgg-comment-table th:nth-child(2) { width: 25%; }
body.techgg.pg_portalcp .techgg-comment-table th:nth-child(3) { width: 10%; }
body.techgg.pg_portalcp .techgg-comment-table th:nth-child(4) { width: 17%; }
body.techgg.pg_portalcp .techgg-comment-table td strong,
body.techgg.pg_portalcp .techgg-comment-table td small { display: block; }
body.techgg.pg_portalcp .techgg-comment-table td small { color: #9aa3af; }
body.techgg.pg_portalcp .techgg-comment-table td p { margin: 6px 0 0; color: #252e3b; }
body.techgg.pg_portalcp .techgg-status { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 12px; }
body.techgg.pg_portalcp .techgg-status.is-live { background: #e8f8f0; color: #087a4b; }
body.techgg.pg_portalcp .techgg-status.is-pending { background: #fff4df; color: #9a6410; }
body.techgg.pg_portalcp .techgg-comment-actions a { display: inline-block; margin-right: 9px; color: var(--tg-brand-deep); }
body.techgg.pg_portalcp .techgg-comment-actions .is-danger { color: #c34545; }
body.techgg.pg_portalcp .techgg-comment-empty { padding: 44px 20px; text-align: center; color: var(--tg-muted); }
body.techgg.pg_portalcp #articleform .px,
body.techgg.pg_portalcp #articleform .pt { max-width: 100%; }
body.techgg.pg_portalcp .techgg-article-meta { margin: 18px 0; padding: 16px; border: 1px solid var(--tg-line); border-radius: 10px; background: #f8faf9; }
body.techgg.pg_portalcp .techgg-meta-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; }
body.techgg.pg_portalcp .techgg-meta-field { min-width: 0; }
body.techgg.pg_portalcp .techgg-meta-field dt { margin-bottom: 5px; color: var(--tg-muted); font-size: 12px; font-weight: 650; }
body.techgg.pg_portalcp .techgg-meta-field dd { margin: 0; }
body.techgg.pg_portalcp .techgg-meta-field .px { box-sizing: border-box; width: 100%; height: 34px; }
body.techgg.pg_portalcp .techgg-meta-source .px { max-width: 180px; }
body.techgg.pg_portalcp .techgg-meta-author .px { max-width: 200px; }
body.techgg.pg_portalcp .techgg-meta-date .px { max-width: 210px; }
body.techgg.pg_portalcp .techgg-meta-source .ps { max-width: 110px; height: 34px; }
body.techgg.pg_portalcp .techgg-meta-comment { align-self: end; padding-bottom: 6px; }

@media (max-width: 900px) {
  body.techgg.pg_portalcp #ct.ct2_a { grid-template-columns: 1fr; }
  body.techgg.pg_portalcp #ct.ct2_a > .appl,
  body.techgg.pg_portalcp #ct.ct2_a > .mn { grid-column: 1; }
  body.techgg.pg_portalcp #ct.ct2_a > .appl { grid-row: 1; position: static; }
  body.techgg.pg_portalcp #ct.ct2_a > .mn { grid-row: 2; }
  body.techgg.pg_portalcp .techgg-portalcp-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  body.techgg.pg_portalcp .techgg-portalcp-nav .techgg-portalcp-logout { margin-top: 3px; padding-top: 0; border-top: 0; }
  body.techgg.pg_portalcp .techgg-comment-filter { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body.techgg.pg_portalcp #ct,
  body.techgg.pg_portalcp .ct2_a { width: calc(100% - 20px); }
  body.techgg.pg_portalcp .mn { padding: 16px; }
  body.techgg.pg_portalcp .techgg-portalcp-card-head { margin: -16px -16px 18px; padding: 21px 18px 18px; }
  body.techgg.pg_portalcp .techgg-portalcp-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.techgg.pg_portalcp .techgg-comment-filter { grid-template-columns: 1fr; }
  body.techgg.pg_portalcp .techgg-comment-table { min-width: 760px; }
  body.techgg.pg_portalcp .techgg-meta-fields { grid-template-columns: 1fr; }
}

/* Direct-data portal article sidebar */
body.techgg .tg-tag-page { margin: 0 calc(50% - 50vw); background: #f4f7f5; color: var(--tg-ink); }
body.techgg .tg-tag-hero { padding: 58px 20px 54px; background: #15372a; color: #fff; }
body.techgg .tg-tag-hero-inner { width: min(1120px, 100%); margin: 0 auto; }
body.techgg .tg-tag-kicker { display: block; margin-bottom: 10px; color: #79d5ac; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
body.techgg .tg-tag-hero h1 { margin: 0; color: #fff; font-size: 34px; line-height: 1.25; overflow-wrap: anywhere; }
body.techgg .tg-tag-hero p { margin: 11px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
body.techgg .tg-tag-hero p strong { color: #fff; }
body.techgg .tg-tag-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 54px; }
body.techgg .tg-tag-breadcrumb { margin-bottom: 14px; color: var(--tg-muted); font-size: 12px; }
body.techgg .tg-tag-breadcrumb a { color: var(--tg-brand-deep); }
body.techgg .tg-tag-breadcrumb em { margin: 0 8px; color: #aeb8b2; }
body.techgg .tg-tag-list { padding: 4px 26px; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: #fff; box-shadow: var(--tg-shadow); }
body.techgg .tg-tag-article { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--tg-line); }
body.techgg .tg-tag-article:last-child { border-bottom: 0; }
body.techgg .tg-tag-article.is-compact { grid-template-columns: 1fr; }
body.techgg .tg-tag-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 7px; background: #edf2ef; }
body.techgg .tg-tag-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
body.techgg .tg-tag-thumb:hover img { transform: scale(1.025); }
body.techgg .tg-tag-article-body { min-width: 0; align-self: center; }
body.techgg .tg-tag-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 8px; color: var(--tg-muted); font-size: 12px; }
body.techgg .tg-tag-article h2 { margin: 0; font-size: 21px; line-height: 1.42; }
body.techgg .tg-tag-article h2 a { color: var(--tg-ink); }
body.techgg .tg-tag-article h2 a:hover { color: var(--tg-brand-deep); }
body.techgg .tg-tag-summary { margin: 10px 0 0; color: #677383; font-size: 14px; line-height: 1.75; }
body.techgg .tg-tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
body.techgg .tg-tag-chips a { padding: 4px 9px; border-radius: 4px; background: #edf7f2; color: var(--tg-brand-deep); font-size: 12px; }
body.techgg .tg-tag-chips a:hover { background: var(--tg-brand); color: #fff; }
body.techgg .tg-tag-empty { padding: 70px 20px; text-align: center; }
body.techgg .tg-tag-empty strong { display: block; margin-bottom: 8px; font-size: 20px; }
body.techgg .tg-tag-empty p { margin: 0 0 18px; color: var(--tg-muted); }
body.techgg .tg-tag-empty a { color: var(--tg-brand-deep); font-weight: 700; }
body.techgg .tg-tag-pagination { padding-top: 22px; }
@media (max-width: 720px) {
  body.techgg .tg-tag-hero { padding: 40px 16px 38px; }
  body.techgg .tg-tag-hero h1 { font-size: 27px; }
  body.techgg .tg-tag-shell { width: calc(100% - 24px); padding-top: 14px; }
  body.techgg .tg-tag-list { padding: 0 16px; }
  body.techgg .tg-tag-article { grid-template-columns: 1fr; gap: 15px; padding: 18px 0; }
  body.techgg .tg-tag-thumb { aspect-ratio: 16 / 9; }
  body.techgg .tg-tag-article h2 { font-size: 18px; }
}

body.techgg .tg-article-sidebar { display: flex !important; flex-direction: column; min-width: 0; gap: 18px; }
body.techgg .tg-article-sidebar .tg-side-card { margin: 0; overflow: hidden; }
body.techgg .tg-author-card { position: relative; padding-top: 24px; text-align: center; background: linear-gradient(155deg, #f7fbf9 0, #fff 58%); }
body.techgg .tg-side-avatar { display: inline-flex; width: 72px; height: 72px; margin-bottom: 10px; padding: 3px; border-radius: 50%; background: linear-gradient(145deg, var(--tg-brand), #a5dcc2); }
body.techgg .tg-side-avatar img { width: 100%; height: 100%; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }
body.techgg .tg-side-eyebrow { display: block; color: var(--tg-brand); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
body.techgg .tg-author-card h3 { margin: 5px 0 3px; font-size: 20px; }
body.techgg .tg-author-card h3 a { color: var(--tg-ink); }
body.techgg .tg-author-card p { margin: 0 0 13px; color: var(--tg-muted); font-size: 12px; }
body.techgg .tg-side-more { display: inline-flex; padding: 7px 13px; border: 1px solid #cce7da; border-radius: 999px; color: var(--tg-brand-deep); font-size: 12px; }
body.techgg .tg-side-title-mark { color: #9aa4b1; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
body.techgg .tg-work-list-meta li { padding: 11px 0; }
body.techgg .tg-work-list-meta li:first-child { padding-top: 0; }
body.techgg .tg-work-list-meta a { padding: 0; font-weight: 650; line-height: 1.55; }
body.techgg .tg-work-list-meta small { display: flex; justify-content: space-between; margin-top: 5px; color: #9aa4b1; font-size: 11px; }
body.techgg .tg-work-list-meta small em { font-style: normal; }
body.techgg .tg-side-empty { padding: 20px 0; color: var(--tg-muted); text-align: center; }
body.techgg .tg-related-stack { display: grid; gap: 12px; }
body.techgg .tg-related-stack > a { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 11px; align-items: center; color: var(--tg-ink); }
body.techgg .tg-related-stack > a:not(:first-child) { padding-top: 12px; border-top: 1px solid var(--tg-line); }
body.techgg .tg-related-stack img { width: 78px; height: 58px; border-radius: 7px; object-fit: cover; }
body.techgg .tg-related-stack strong { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.techgg .tg-related-stack small { display: block; margin-top: 5px; color: #9aa4b1; font-size: 10px; }
body.techgg .tg-rank-list { margin: 0; padding: 0; list-style: none; }
body.techgg .tg-rank-list li { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--tg-line); }
body.techgg .tg-rank-list li:last-child { border-bottom: 0; }
body.techgg .tg-rank-list i { color: #b5bec9; font-family: Georgia, serif; font-size: 17px; font-style: italic; }
body.techgg .tg-rank-list li:first-child i { color: var(--tg-brand); }
body.techgg .tg-rank-list a { color: var(--tg-ink); font-size: 13px; line-height: 1.5; }
body.techgg .tg-rank-list small { color: #a4acb7; font-size: 10px; }
body.techgg .tg-side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
body.techgg .tg-side-tags a { padding: 6px 10px; border: 1px solid #deebe5; border-radius: 999px; background: #f5faf7; color: #486456; font-size: 12px; }
body.techgg .tg-side-tags a:hover { border-color: var(--tg-brand); background: var(--tg-brand); color: #fff; }
@media (max-width: 900px) {
  body.techgg .tg-article-sidebar { width: min(100% - 24px, 560px) !important; margin: 18px auto 0 !important; text-align: left !important; }
  body.techgg .tg-article-sidebar .tg-author-card { text-align: center !important; }
}
body.techgg .tg-related-stack > a span:only-child { grid-column: 1 / -1; }
