/* 6.34.3 - One scoped presentation layer for ALL AJCM Social screens.
 * Loaded after legacy member styles. No public-site or wp-admin selectors. */
body.ajcm-social-shell.ajcm-social-unified {
  --ajcm-shell-offset:246px;
  --ajcm-admin-offset:0px;
  --ajcm-ui-ink:#102d54;
  --ajcm-ui-blue:#0865c6;
  --ajcm-ui-gold:#e6b34b;
  --ajcm-ui-border:#d3e3f4;
  --ajcm-ui-shadow:0 9px 28px rgba(18,53,97,.09),0 2px 4px rgba(18,53,97,.04);
  padding-left:var(--ajcm-shell-offset)!important;
  padding-right:0!important;
  background:radial-gradient(ellipse at 90% 0,#daeaff 0,transparent 45%),linear-gradient(140deg,#f6faff,#eaf2fd)!important;
  color:var(--ajcm-ui-ink)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:16px;
  line-height:1.5;
  min-height:100vh;
}
body.ajcm-social-shell.ajcm-social-unified.ajcm-side-collapsed {--ajcm-shell-offset:74px;}
body.ajcm-social-unified .ajcm-member-shell {
  display:block!important;float:none!important;position:relative!important;
  width:100%!important;max-width:1600px!important;min-width:0!important;
  margin:0 auto!important;padding:22px clamp(16px,2vw,30px) 132px!important;
  box-sizing:border-box!important;overflow:visible!important;
}
body.ajcm-social-unified .ajcm-member-shell :is(h1,h2,h3,h4,p,a,button,input,select,textarea,label,strong,small){font-family:Arial,Helvetica,sans-serif!important;}
body.ajcm-social-unified .ajcm-member-shell :is(section,article,nav,header,form,fieldset){box-sizing:border-box;min-width:0;}
body.ajcm-social-unified [hidden]{display:none!important;}
body.ajcm-social-unified .ajcm-member-shell :is(a,button,input,select,textarea):focus-visible{outline:3px solid #f2be52!important;outline-offset:3px!important;}
body.ajcm-social-unified .ajcm-member-shell h1{font-size:clamp(24px,2.1vw,34px);line-height:1.2;letter-spacing:-.5px;color:#08254d;}
body.ajcm-social-unified .ajcm-member-shell h2{font-size:clamp(20px,1.6vw,26px);line-height:1.25;color:#102d54;}
body.ajcm-social-unified .ajcm-member-shell h3{line-height:1.3;color:#102d54;}
body.ajcm-social-unified .ajcm-member-shell a{color:#075ba9;}
body.ajcm-social-unified .ajcm-page-back{display:inline-flex!important;align-items:center;min-height:36px;margin:0 0 16px!important;padding:6px 12px!important;font-size:13px!important;border-radius:10px!important;background:#e6effb!important;}
body.ajcm-social-unified .ajcm-social-breadcrumb{font-size:12px!important;padding:0!important;margin:0 0 12px!important;}

/* Header: real identity, original consent and public-site controls preserved. */
body.ajcm-social-unified .ajcm-member-brand.ajcm-6343-page-header{
  display:grid!important;grid-template-columns:130px minmax(0,1fr) auto!important;
  align-items:center!important;gap:18px!important;padding:14px 18px!important;
  width:100%!important;max-width:none!important;margin:0 0 18px!important;min-height:0!important;
  border:1px solid var(--ajcm-ui-border)!important;border-radius:20px!important;
  background:linear-gradient(115deg,#fff,#f5f9ff)!important;box-shadow:var(--ajcm-ui-shadow)!important;
}
body.ajcm-social-unified .ajcm-6343-page-header .ajcm-member-brand-logo{display:block!important;width:130px!important;max-width:130px!important;height:82px!important;margin:0!important;padding:0!important;float:none!important;border-radius:12px!important;overflow:hidden!important;box-shadow:none!important;}
body.ajcm-social-unified .ajcm-6343-page-header .ajcm-member-brand-logo img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;margin:0!important;}
body.ajcm-social-unified .ajcm-6343-header-copy{display:flex!important;flex-direction:column!important;gap:5px!important;position:static!important;padding:0!important;margin:0!important;min-width:0!important;text-align:left!important;letter-spacing:normal!important;}
body.ajcm-social-unified .ajcm-6343-header-copy strong{font-size:clamp(19px,1.8vw,27px)!important;line-height:1.2!important;font-weight:800!important;color:#0a2c59!important;overflow-wrap:anywhere;}
body.ajcm-social-unified .ajcm-6343-header-copy>span{font-size:14px!important;line-height:1.4!important;color:#4f6682!important;}
body.ajcm-social-unified .ajcm-social-header-tools{position:static!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;margin:0!important;min-width:0!important;}
body.ajcm-social-unified .ajcm-social-header-tools :is(a,button){position:static!important;margin:0!important;min-height:34px!important;height:auto!important;line-height:1.2!important;padding:8px 11px!important;min-width:0!important;font-size:12px!important;border:1px solid #d0e1f3!important;border-radius:12px!important;background:#fff!important;color:#134675!important;font-weight:700!important;box-shadow:none!important;}

/* All content pages share the same surface system; state/error colours are retained. */
body.ajcm-social-shell.ajcm-social-unified .ajcm-social-context-head{
  max-width:none!important;width:100%!important;display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;gap:16px!important;padding:22px!important;margin:0 0 22px!important;
  border:1px solid var(--ajcm-ui-border)!important;border-top:3px solid var(--ajcm-ui-gold)!important;
  border-radius:20px!important;background:linear-gradient(120deg,#fff,#f4f8ff)!important;box-shadow:var(--ajcm-ui-shadow)!important;
}
body.ajcm-social-unified .ajcm-social-context-copy{flex:1 1 260px!important;min-width:0!important;}
body.ajcm-social-unified .ajcm-social-context-copy h1{margin:2px 0 7px!important;}
body.ajcm-social-unified .ajcm-social-context-copy p{font-size:15px!important;margin:0!important;color:#526b88!important;}
body.ajcm-social-unified .ajcm-social-context-icon{display:grid!important;place-items:center!important;width:54px!important;height:54px!important;flex:0 0 54px!important;background:#eaf3ff!important;color:#0b65bf!important;border-radius:15px!important;}
body.ajcm-social-unified .ajcm-social-context-icon svg{width:28px!important;height:28px!important;}
body.ajcm-social-unified .ajcm-social-quick-links{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;padding:0!important;margin:6px 0 0!important;}
body.ajcm-social-unified .ajcm-social-quick-links>a{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:9px 12px!important;min-height:40px!important;border:1px solid var(--ajcm-ui-border)!important;border-radius:12px!important;background:#fff!important;color:#184674!important;font-size:13px!important;text-decoration:none!important;}
body.ajcm-social-unified .ajcm-social-quick-links svg{width:20px;height:20px;}
body.ajcm-social-unified :is(.ajcm-profile-hub,.ajcm-profile-subpage,.ajcm-private-messages,.ajcm-notifications-panel,.ajcm-social-welcome,.ajcm-social-role-panel,.ajcm-social-placeholder){width:100%!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;}
body.ajcm-social-unified :is(.ajcm-profile-hub,.ajcm-private-messages){padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body.ajcm-social-unified :is(.ajcm-profile-subpage-head,.ajcm-profile-home-head,.ajcm-private-messages-head){padding:20px!important;margin:0 0 20px!important;background:linear-gradient(120deg,#fff,#f3f8ff)!important;border:1px solid var(--ajcm-ui-border)!important;border-radius:20px!important;box-shadow:var(--ajcm-ui-shadow)!important;}
body.ajcm-social-unified :is(.ajcm-profile-summary-card,.ajcm-member-documents,.ajcm-profile-detail-panel,.ajcm-message-inbox,.ajcm-message-compose-card,.ajcm-message-reply,.ajcm-feed-card,.ajcm-social-welcome,.ajcm-social-role-panel,.ajcm-social-placeholder){border:1px solid var(--ajcm-ui-border)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--ajcm-ui-shadow)!important;}
body.ajcm-social-unified :is(.ajcm-profile-summary-card,.ajcm-member-documents,.ajcm-message-inbox,.ajcm-message-compose-card,.ajcm-message-reply,.ajcm-social-welcome,.ajcm-social-role-panel,.ajcm-social-placeholder){padding:22px!important;margin-top:0!important;margin-bottom:20px!important;}
body.ajcm-social-unified .ajcm-profile-menu-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;gap:16px!important;}
body.ajcm-social-unified .ajcm-profile-menu-card{background:linear-gradient(140deg,#fff,#f4f8ff)!important;border:1px solid var(--ajcm-ui-border)!important;border-radius:18px!important;box-shadow:var(--ajcm-ui-shadow)!important;min-width:0!important;color:#163d6a!important;}
body.ajcm-social-unified .ajcm-profile-menu-icon{background:#eaf3ff!important;color:#0b65bf!important;border:1px solid #d2e5f9!important;}
body.ajcm-social-unified .ajcm-primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 18px!important;background:linear-gradient(115deg,#0876df,#084996)!important;color:#fff!important;border:1px solid #1263b7!important;border-radius:12px!important;font-weight:750!important;line-height:1.3!important;text-decoration:none!important;box-shadow:0 5px 12px #09477b21!important;}
body.ajcm-social-unified :is(.ajcm-profile-subpage,.ajcm-social-publish,.ajcm-message-compose-card,.ajcm-message-reply) :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=password],select,textarea){box-sizing:border-box;max-width:100%;border:1px solid #cbdced;border-radius:10px;padding:10px 12px;font-size:16px;line-height:1.35;background:#fff;color:#173550;}
body.ajcm-social-unified input[type=checkbox],body.ajcm-social-unified input[type=radio]{accent-color:#0865c6;}
body.ajcm-social-unified :is(.ajcm-feed-filters,.ajcm-dojo-tabs){display:flex;flex-wrap:wrap;gap:8px;}
body.ajcm-social-unified :is(.ajcm-feed-filters,.ajcm-dojo-tabs) a{border:1px solid #cbdff3!important;border-radius:999px!important;background:#fff!important;color:#174b80!important;padding:8px 14px!important;font-size:14px!important;text-decoration:none!important;}
body.ajcm-social-unified :is(.ajcm-feed-filters,.ajcm-dojo-tabs) a.is-active{background:linear-gradient(110deg,#0871d2,#064995)!important;color:#fff!important;border-color:#0865c6!important;}
body.ajcm-social-unified .ajcm-competition-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))!important;gap:20px!important;align-items:start!important;}
body.ajcm-social-unified .ajcm-competition-card{width:100%!important;min-width:0!important;margin:0!important;border:1px solid var(--ajcm-ui-border)!important;border-radius:22px!important;box-shadow:var(--ajcm-ui-shadow)!important;background:#fff!important;}
body.ajcm-social-unified .ajcm-notification-item{border:1px solid #dde8f4!important;border-radius:14px!important;margin-bottom:8px!important;background:#fff!important;color:#163a62!important;}
body.ajcm-social-unified .ajcm-notification-item.is-unread{border-color:#9ec7f0!important;background:linear-gradient(110deg,#eaf4ff,#f7fbff)!important;color:#0c3a69!important;}
body.ajcm-social-unified .ajcm-notification-copy strong{color:inherit!important;}
body.ajcm-social-unified .ajcm-message-bubble.is-mine{background:linear-gradient(120deg,#126bd0,#134b8f)!important;color:#fff!important;}
body.ajcm-social-unified .ajcm-message-bubble.is-theirs{border-color:#d1e2f4!important;background:#fff!important;color:#173550!important;}
body.ajcm-social-unified .ajcm-message-thread-card.has-unread{background:#edf5ff!important;border-color:#bfdaf5!important;}
body.ajcm-social-unified #ajcm-documents{scroll-margin-top:calc(var(--ajcm-admin-offset) + 24px);}
body.ajcm-social-unified.ajcm-section-challenges #ajcm-pdj-isolated-shell{position:relative!important;left:0!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important;}

/* The two resources form a centred pair, including inherited inner span rules. */
body.ajcm-social-unified .ajcm-6343-tech-links,
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-tech-links{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  justify-content:center!important;align-items:stretch!important;gap:16px!important;
  width:100%!important;max-width:760px!important;min-width:0!important;
  margin:18px auto 22px!important;padding:0!important;float:none!important;position:static!important;
  transform:none!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.ajcm-social-unified .ajcm-6343-tech-links::before,body.ajcm-social-unified .ajcm-6343-tech-links::after{content:none!important;display:none!important;}
body.ajcm-social-unified .ajcm-6343-tech-links>a:not([hidden]){
  display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;
  gap:12px!important;text-align:center!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;
  height:auto!important;min-height:60px!important;margin:0!important;padding:12px 18px!important;
  float:none!important;position:relative!important;inset:auto!important;transform:none!important;
  border:1px solid #7da8d1!important;border-radius:16px!important;
  background:linear-gradient(125deg,#092951,#0767c8)!important;color:#fff!important;
  box-shadow:0 7px 17px #0d376c21!important;text-decoration:none!important;
}
body.ajcm-social-unified .ajcm-6343-tech-links>a::before,body.ajcm-social-unified .ajcm-6343-tech-links>a::after{content:none!important;display:none!important;}
body.ajcm-social-unified .ajcm-6343-tech-links>a>span:not(.ajcm-social-identity-login-icon){display:block!important;flex:0 1 auto!important;text-align:center!important;margin:0!important;padding:0!important;min-width:0!important;}
body.ajcm-social-unified .ajcm-6343-tech-links strong{display:block!important;color:#fff!important;font-size:16px!important;line-height:1.3!important;white-space:normal!important;text-align:center!important;margin:0!important;}
body.ajcm-social-unified .ajcm-6343-tech-links small{display:none!important;}
body.ajcm-social-unified .ajcm-6343-tech-links .ajcm-social-identity-login-icon{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;height:28px!important;min-width:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;}
body.ajcm-social-unified .ajcm-6343-tech-links svg{width:26px!important;height:26px!important;max-width:26px!important;}

/* Bottom bar: no hard-coded fifth column, no raised Publish or unequal spacers. */
body.ajcm-social-unified .ajcm-social-bottom-nav.ajcm-6343-bottom-nav{
  position:fixed!important;left:calc(50% + var(--ajcm-shell-offset)/2)!important;right:auto!important;
  bottom:max(14px,env(safe-area-inset-bottom))!important;top:auto!important;
  transform:translateX(-50%)!important;z-index:9000!important;
  width:min(800px,calc(100vw - var(--ajcm-shell-offset) - 32px))!important;max-width:none!important;min-width:0!important;
  display:grid!important;grid-template-columns:repeat(var(--ajcm-bottom-count,4),minmax(0,1fr))!important;
  grid-auto-flow:row!important;align-items:stretch!important;justify-content:stretch!important;gap:8px!important;
  padding:8px 12px!important;margin:0!important;box-sizing:border-box!important;
  border:1px solid #d2e2f4!important;border-radius:24px!important;
  background:rgba(255,255,255,.97)!important;box-shadow:0 10px 35px #09264b26!important;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
body.ajcm-social-unified .ajcm-6343-bottom-nav::before,body.ajcm-social-unified .ajcm-6343-bottom-nav::after{content:none!important;display:none!important;}
body.ajcm-social-unified .ajcm-social-bottom-nav.ajcm-6343-bottom-nav>a{
  grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;justify-self:stretch!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:4px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:68px!important;
  margin:0!important;padding:5px 3px!important;position:relative!important;inset:auto!important;transform:none!important;
  border:1px solid transparent!important;border-radius:15px!important;background:transparent!important;color:#294e79!important;
  text-align:center!important;text-decoration:none!important;box-sizing:border-box!important;box-shadow:none!important;
}
body.ajcm-social-unified .ajcm-6343-bottom-nav>a>span{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;border-radius:11px!important;background:#edf4fc!important;color:#15518f!important;box-shadow:none!important;animation:none!important;}
body.ajcm-social-unified .ajcm-6343-bottom-nav>a>span svg{display:block!important;width:24px!important;height:24px!important;}
body.ajcm-social-unified .ajcm-6343-bottom-nav>a small{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;font-size:12px!important;line-height:1.3!important;font-weight:750!important;color:inherit!important;white-space:nowrap!important;text-align:center!important;margin:0!important;padding:0!important;}
body.ajcm-social-unified .ajcm-6343-bottom-nav>a[aria-current=page]{background:linear-gradient(115deg,#0877df,#074d9c)!important;color:#fff!important;border-color:#1670c5!important;box-shadow:0 3px 9px #0b549a25!important;}
body.ajcm-social-unified .ajcm-6343-bottom-nav>a[aria-current=page]>span{background:#ffffff20!important;color:#fff!important;}
body.ajcm-social-unified .ajcm-6343-bottom-nav>a:hover{border-color:#a8c9ed!important;}

/* Sidebar keeps its own scrolling and a correct offset below the real WP admin bar. */
body.ajcm-social-unified #ajcm-side-nav{top:var(--ajcm-admin-offset)!important;bottom:0!important;z-index:9002!important;width:246px;background:radial-gradient(ellipse at 90% 100%,#103d77,transparent 55%),linear-gradient(145deg,#071d38,#0a2c55)!important;}
body.ajcm-social-unified.ajcm-side-collapsed #ajcm-side-nav{width:74px;}
body.ajcm-social-unified .ajcm-side-brand{min-height:136px!important;padding:15px 14px!important;position:relative;justify-content:center;}
body.ajcm-social-unified .ajcm-side-brand-link{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;}
body.ajcm-social-unified .ajcm-side-brand img{width:108px!important;height:110px!important;object-fit:contain!important;}
body.ajcm-social-unified .ajcm-side-toggle{width:34px;height:34px;padding:7px;margin:0!important;flex:none;display:grid;place-items:center;}
body.ajcm-social-unified .ajcm-side-toggle svg,body.ajcm-social-unified #ajcm-side-mobile svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;}
body.ajcm-social-unified .ajcm-side-symbol svg{display:block;width:22px;height:22px;}
body.ajcm-social-unified .ajcm-side-group.is-open>button,body.ajcm-social-unified .ajcm-side-entry.is-current{background:linear-gradient(115deg,#087be9,#0758b2)!important;}
body.ajcm-social-unified .ajcm-side-sub a{display:flex;gap:8px;align-items:center;min-height:34px;color:#d5e6fa;font-size:13px;padding:8px 7px;}
body.ajcm-social-unified .ajcm-side-sub a::before{content:'';flex:0 0 5px;width:5px;height:5px;background:#d8af61;border-radius:50%;}
body.ajcm-social-unified .ajcm-side-sub a.is-current{background:#ffffff20;color:#fff!important;}
body.ajcm-social-unified .ajcm-side-sub a.is-current::before{background:#43baff;box-shadow:0 0 0 3px #0989da30;}
body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-brand{min-height:126px!important;padding:10px 4px!important;gap:8px;}
body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-brand img{width:55px!important;height:57px!important;}
body.ajcm-social-unified .ajcm-side-entry:focus-visible,body.ajcm-social-unified .ajcm-side-sub a:focus-visible,body.ajcm-social-unified .ajcm-side-group>button:focus-visible{outline:2px solid #f2c15a!important;outline-offset:-2px;}
body.ajcm-social-unified .ajcm-6343-redundant-decoration{display:none!important;}

/* Keep the existing working dashboard; enhance finish without rewriting its cards. */
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-feature>.ajcm-6336-hero{border:1px solid #4e8dc4!important;box-shadow:0 8px 23px #0b2c4f29!important;}
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-main-grid>section{box-shadow:var(--ajcm-ui-shadow)!important;}
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-main-grid>.ajcm-6342-results{border-top:3px solid #e5b34e!important;}
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-result-layout .ajcm-mon-ajcm-mini{background:linear-gradient(110deg,#fff,#f1f6fe)!important;border-color:#d9e7f7!important;}
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-result-layout .ajcm-mon-ajcm-mini a{text-decoration:none!important;}
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-result-layout .ajcm-mon-ajcm-mini:hover{border-color:#aacdf0!important;}
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-quick-nav>a{border:1px solid #c4d9f1!important;box-shadow:0 4px 13px #0b3d6920!important;}

@media(max-width:1150px){body.ajcm-social-unified .ajcm-member-brand.ajcm-6343-page-header{grid-template-columns:115px minmax(0,1fr)!important;}body.ajcm-social-unified .ajcm-6343-page-header .ajcm-social-header-tools{grid-column:2;justify-content:flex-start!important;}body.ajcm-social-unified .ajcm-6343-page-header .ajcm-member-brand-logo{grid-row:span 2;width:115px!important;max-width:115px!important;}}
@media(max-width:999px){
 body.ajcm-social-shell.ajcm-social-unified,body.ajcm-social-shell.ajcm-social-unified.ajcm-side-collapsed{--ajcm-shell-offset:0px;padding-left:0!important;}
 body.ajcm-social-unified .ajcm-member-shell{padding:70px 18px 125px!important;}
 body.ajcm-social-unified #ajcm-side-mobile{top:calc(var(--ajcm-admin-offset) + 12px)!important;z-index:9001!important;width:44px;height:44px;padding:10px;display:grid;place-items:center;}
 body.ajcm-social-unified #ajcm-side-backdrop{z-index:9001!important;}
 body.ajcm-social-unified.ajcm-side-mobile-open{overflow:hidden!important;}
 body.ajcm-social-unified.ajcm-side-collapsed #ajcm-side-nav{width:246px;}
 body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-label,body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-chevron{display:block!important;}
 body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-group.is-open .ajcm-side-sub{display:block!important;}
 body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-brand{flex-direction:row!important;}
 body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-entry,body.ajcm-social-unified.ajcm-side-collapsed .ajcm-side-group>button{justify-content:flex-start!important;padding:11px 12px!important;}
}
/* Natural content height prevents flex:1 basis=0 from clipping result extracts. */
body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-result-layout .ajcm-mon-ajcm-mini{flex:1 0 auto!important;min-height:70px!important;box-sizing:border-box!important;}
/* Reset explicit desktop grid placements too, not just the grid template. */
@media(max-width:780px){
 body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-feature,
 body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-main-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;grid-auto-rows:auto!important;}
 body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-feature>section,
 body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-main-grid>section{grid-column:1!important;grid-row:auto!important;min-width:0!important;}
}
@media(max-width:600px){
 body.ajcm-social-unified .ajcm-member-shell{padding:67px 12px 112px!important;}
 body.ajcm-social-unified .ajcm-member-brand.ajcm-6343-page-header{padding:12px!important;grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;}
 body.ajcm-social-unified .ajcm-6343-page-header .ajcm-member-brand-logo{width:76px!important;max-width:76px!important;height:72px!important;grid-row:1!important;}
 body.ajcm-social-unified .ajcm-6343-page-header .ajcm-social-header-tools{grid-column:1/-1!important;justify-content:flex-end!important;}
 body.ajcm-social-unified .ajcm-6343-header-copy strong{font-size:19px!important;}
 body.ajcm-social-unified .ajcm-6343-header-copy>span{font-size:12px!important;}
 body.ajcm-social-shell.ajcm-social-unified .ajcm-social-context-head{padding:16px!important;gap:10px!important;}
 body.ajcm-social-unified :is(.ajcm-profile-summary-card,.ajcm-member-documents,.ajcm-message-inbox,.ajcm-message-compose-card,.ajcm-message-reply){padding:16px!important;border-radius:16px!important;}
 body.ajcm-social-unified .ajcm-6343-tech-links,body.ajcm-social-unified.ajcm-dashboard-6342 .ajcm-6342-tech-links{gap:10px!important;margin:14px auto 18px!important;}
 body.ajcm-social-unified .ajcm-6343-tech-links>a:not([hidden]){gap:7px!important;padding:10px 8px!important;min-height:58px!important;}
 body.ajcm-social-unified .ajcm-6343-tech-links strong{font-size:13px!important;}
 body.ajcm-social-unified .ajcm-6343-tech-links .ajcm-social-identity-login-icon{flex-basis:22px!important;width:22px!important;min-width:22px!important;}
 body.ajcm-social-unified .ajcm-6343-tech-links svg{width:21px!important;height:21px!important;}
 body.ajcm-social-unified .ajcm-social-bottom-nav.ajcm-6343-bottom-nav{width:calc(100vw - 16px)!important;bottom:0!important;padding:6px 6px max(6px,env(safe-area-inset-bottom))!important;gap:4px!important;border-radius:19px 19px 0 0!important;}
 body.ajcm-social-unified .ajcm-social-bottom-nav.ajcm-6343-bottom-nav>a{min-height:58px!important;gap:3px!important;padding:3px 1px!important;border-radius:11px!important;}
 body.ajcm-social-unified .ajcm-6343-bottom-nav>a small{font-size:10px!important;}
 body.ajcm-social-unified .ajcm-6343-bottom-nav>a>span{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important;}
}
@media(prefers-reduced-motion:reduce){body.ajcm-social-unified #ajcm-side-nav,body.ajcm-social-unified .ajcm-member-shell *,body.ajcm-social-unified .ajcm-social-bottom-nav{scroll-behavior:auto!important;transition:none!important;animation:none!important;}}

/* 6.34.5: one centred resource group, grades first. No changes to other navigation. */
body.ajcm-social-unified .ajcm-6343-tech-links.ajcm-6345-resources,
body.ajcm-dashboard-6342 .ajcm-6342-tech-links.ajcm-6345-resources{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:1080px!important;
  margin-left:auto!important;margin-right:auto!important;
}
body.ajcm-social-unified .ajcm-6345-resources>a[aria-current=page]{border-color:#e2b65f!important;box-shadow:0 0 0 2px #e2b65f35,0 7px 17px #0d376c21!important;}
@media(max-width:599px){
 body.ajcm-social-unified .ajcm-6343-tech-links.ajcm-6345-resources,
 body.ajcm-dashboard-6342 .ajcm-6342-tech-links.ajcm-6345-resources{grid-template-columns:1fr!important;gap:8px!important;margin:12px auto 16px!important;}
 body.ajcm-social-unified .ajcm-6345-resources>a:not([hidden]){min-height:48px!important;padding:10px 14px!important;}
}
