/* LawHub Exams 10.13.24 — unified shell, admin support isolation, canonical header parity.
   Loaded last so public/authenticated headers share one exact identity without zoom hacks. */
:root{--lh101323-header:#182c49;--lh101323-header-line:rgba(255,255,255,.08);--lh101323-header-h:72px}

/* ── One header identity everywhere ───────────────────────────── */
html body .lhv8-topbar,
html body .lhp-site-header,
html body.lh137-directory-page .lh137-topbar,
html body .lh-public-topbar{
  position:sticky!important;top:0!important;z-index:90000!important;
  min-height:var(--lh101323-header-h)!important;height:var(--lh101323-header-h)!important;
  background:var(--lh101323-header)!important;background-color:var(--lh101323-header)!important;background-image:none!important;
  border-bottom:1px solid var(--lh101323-header-line)!important;
  box-shadow:0 7px 22px rgba(24,44,69,.14)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body .lhp-header-inner,
html body.lh137-directory-page .lh137-topbar-inner,
html body .lh-public-topbar-inner{min-height:var(--lh101323-header-h)!important;height:var(--lh101323-header-h)!important}
html body .lhv8-topbar{height:var(--lh101323-header-h)!important;min-height:var(--lh101323-header-h)!important}
html body .lhv8-layout{min-height:calc(100vh - var(--lh101323-header-h))!important}
html body .lhv8-side-inner{top:var(--lh101323-header-h)!important}
html body .lhv8-brand .lhv93-wordmark,
html body .lhp-brand strong,
html body .lh137-brand strong,
html body .lh-public-brand strong{color:#fff!important;letter-spacing:.085em!important;font-weight:850!important}
html body .lhv8-brand small,
html body .lhp-brand span,
html body .lh137-brand span,
html body .lh-public-brand span{color:#b8c7d6!important;font-weight:650!important}
html body .lhp-nav a,
html body .lh137-public-nav a{min-height:var(--lh101323-header-h)!important;display:inline-flex!important;align-items:center!important}
html body .lhp-auth-actions a,
html body .lh137-top-actions a{border-radius:8px!important}

/* Logged-in controls stay visually aligned with public shell. */
html body .lhv8-global-search{height:40px!important;border-radius:10px!important;background:rgba(7,24,42,.34)!important;border-color:rgba(255,255,255,.13)!important}
html body .lhv8-top-actions .lhv8-icon-link,
html body .lhv8-top-actions .lhv10821-social-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:10px!important;background:rgba(7,24,42,.34)!important;border:1px solid rgba(255,255,255,.13)!important}
html body .lhv8-top-user{min-height:40px!important;border-radius:10px!important}

/* ── Compact landing hero: targeted scaling, never global zoom ── */
@media(min-width:1025px){
  body.lhg-home-v139 .lhg-wrap{margin-top:20px!important}
  body.lhg-home-v139 .lhg136-hero{grid-template-columns:minmax(0,1.04fr) minmax(440px,.96fr)!important;gap:40px!important;min-height:448px!important;padding:40px 46px!important}
  body.lhg-home-v139 .lhg136-hero:before{left:46px!important}
  body.lhg-home-v139 .lhg136-hero h1{margin:14px 0 15px!important;font-size:clamp(40px,4vw,56px)!important;line-height:1.015!important}
  body.lhg-home-v139 .lhg136-hero-copy>p{font-size:13px!important;line-height:1.65!important}
  body.lhg-home-v139 .lhg136-actions{margin-top:21px!important}
  body.lhg-home-v139 .lhg136-trust{margin-top:20px!important}
  body.lhg-home-v139 .lhg136-product-body{min-height:318px!important;grid-template-columns:78px 1fr!important}
  body.lhg-home-v139 .lhg136-question{padding:18px 19px!important}
  body.lhg-home-v139 .lhg136-question h3{margin-top:14px!important;margin-bottom:13px!important}
  body.lhg-home-v139 .lhg136-options{gap:8px!important}
  body.lhg-home-v139 .lhg136-options span{min-height:43px!important}
}
@media(min-width:1025px) and (max-height:820px){
  body.lhg-home-v139 .lhg-wrap{margin-top:14px!important;margin-bottom:42px!important}
  body.lhg-home-v139 .lhg136-hero{min-height:414px!important;padding:30px 42px!important;gap:34px!important}
  body.lhg-home-v139 .lhg136-hero:before{left:42px!important}
  body.lhg-home-v139 .lhg136-hero h1{font-size:clamp(38px,3.7vw,51px)!important;margin:11px 0 12px!important}
  body.lhg-home-v139 .lhg136-hero-copy>p{font-size:12px!important;line-height:1.55!important}
  body.lhg-home-v139 .lhg136-actions{margin-top:17px!important}
  body.lhg-home-v139 .lhg136-actions a{min-height:40px!important}
  body.lhg-home-v139 .lhg136-trust{margin-top:16px!important}
  body.lhg-home-v139 .lhg136-product-top{height:44px!important}
  body.lhg-home-v139 .lhg136-product-body{min-height:284px!important}
  body.lhg-home-v139 .lhg136-question{padding:15px 17px!important}
  body.lhg-home-v139 .lhg136-question h3{font-size:17px!important;margin:10px 0!important}
  body.lhg-home-v139 .lhg136-options span{min-height:38px!important;padding-block:6px!important}
}

/* ── Notifications: denser, clearer activity workspace ───────── */
body.lhv8-route-notifications .lhv165-notif-head{padding:18px 22px!important;min-height:136px!important;border-radius:18px!important}
body.lhv8-route-notifications .lhv165-notif-head h1{font-size:28px!important}
body.lhv8-route-notifications .lhv165-notif-head p{max-width:620px!important;font-size:11.5px!important;line-height:1.55!important}
body.lhv8-route-notifications .lhv165-notification{min-height:92px!important;padding:14px 12px!important}
body.lhv8-route-notifications .lhv165-notif-link strong{line-height:1.45!important}
body.lhv8-route-notifications .lhv167-notification-item+.lhv167-notification-item{margin-top:0!important}

/* Deep-linked post gets a short, non-intrusive landing cue. */
.lhv101323-focus-post{outline:2px solid rgba(55,105,151,.38)!important;outline-offset:3px!important;box-shadow:0 12px 32px rgba(24,44,69,.14)!important;transition:outline-color .25s ease,box-shadow .25s ease!important}

/* ── Tablet ───────────────────────────────────────────────────── */
@media(min-width:681px) and (max-width:1024px){
  :root{--lh101323-header-h:64px}
  html body .lhv8-topbar{grid-template-columns:170px minmax(180px,1fr) auto!important;gap:12px!important;padding-inline:16px!important}
  html body .lhv8-brand .lhv93-wordmark{font-size:20px!important}
  html body .lhv8-brand small{display:none!important}
  html body .lhv8-global-search{min-width:0!important;height:38px!important}
  html body .lhv8-top-actions{gap:5px!important}
  html body .lhv8-top-actions .lhv8-icon-link,
  html body .lhv8-top-actions .lhv10821-social-toggle{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  html body .lhv8-top-user span{display:none!important}
  html body .lhp-header-inner,html body.lh137-directory-page .lh137-topbar-inner{width:calc(100% - 28px)!important;gap:12px!important}
  body.lhg-home-v139 .lhg136-hero{padding:34px 32px!important;gap:30px!important}
  body.lhg-home-v139 .lhg136-hero h1{font-size:44px!important}
  body.lhg-home-v139 .lhg136-product{max-width:680px!important;margin-inline:auto!important;width:100%!important}
  body.lhv8-route-notifications .lhv165-notif-head{padding:18px!important;min-height:0!important}
}

/* ── Phone ────────────────────────────────────────────────────── */
@media(max-width:680px){
  :root{--lh101323-header-h:58px}
  html body .lhp-site-header,html body.lh137-directory-page .lh137-topbar,html body .lh-public-topbar{height:var(--lh101323-header-h)!important;min-height:var(--lh101323-header-h)!important}
  html body .lhp-header-inner,html body.lh137-directory-page .lh137-topbar-inner,html body .lh-public-topbar-inner{height:var(--lh101323-header-h)!important;min-height:var(--lh101323-header-h)!important;width:calc(100% - 20px)!important}
  html body .lhp-brand strong,html body .lh137-brand strong,html body .lh-public-brand strong{font-size:17px!important}
  html body .lhp-brand span,html body .lh137-brand span,html body .lh-public-brand span{display:none!important}
  html body .lhp-auth-actions a,html body .lh137-top-actions a{min-height:34px!important;padding-inline:9px!important}
  html body .lh16-menu-toggle{width:36px!important;height:36px!important;min-width:36px!important;border-radius:9px!important}
  html body .lh16-mobile-menu{top:calc(var(--lh101323-header-h) + 8px)!important}
  html body .lhv8-topbar{height:var(--lh101323-header-h)!important;min-height:var(--lh101323-header-h)!important;padding:6px 8px!important;grid-template-columns:minmax(78px,1fr) auto!important;gap:5px!important}
  html body .lhv8-brand .lhv93-wordmark{font-size:16px!important}
  html body .lhv8-top-actions{gap:3px!important}
  html body .lhv8-top-actions .lhv8-icon-link,
  html body .lhv8-top-actions .lhv10821-social-toggle,
  html body .lhv8-top-user{width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;border-radius:9px!important;padding:0!important}
  html body .lhv8-top-user img{width:31px!important;height:31px!important}
  html body.lhv8-route-messages .lhv8-messenger{height:calc(100dvh - var(--lh101323-header-h))!important}
  body.lhg-home-v139 .lhg136-hero{margin-top:10px!important;padding:24px 17px 18px!important;gap:24px!important}
  body.lhg-home-v139 .lhg136-hero:before{left:17px!important}
  body.lhg-home-v139 .lhg136-hero h1{font-size:33px!important;line-height:1.02!important;margin:11px 0 13px!important}
  body.lhg-home-v139 .lhg136-hero-copy>p{font-size:11px!important;line-height:1.62!important}
  body.lhg-home-v139 .lhg136-actions{margin-top:17px!important;gap:7px!important}
  body.lhg-home-v139 .lhg136-trust{margin-top:14px!important}
  body.lhg-home-v139 .lhg136-product-top{height:39px!important}
  body.lhg-home-v139 .lhg136-question{padding:14px 12px 13px!important}
  body.lhg-home-v139 .lhg136-question h3{font-size:15px!important;line-height:1.35!important}
  body.lhg-home-v139 .lhg136-options span{min-height:37px!important;padding:6px 8px!important}
  body.lhv8-route-notifications .lhv165-notif-head{padding:15px!important;border-radius:15px!important;gap:12px!important}
  body.lhv8-route-notifications .lhv165-notif-head h1{font-size:23px!important}
  body.lhv8-route-notifications .lhv165-notif-head p{font-size:10.5px!important}
  body.lhv8-route-notifications .lhv165-notification{min-height:78px!important;padding:11px 8px!important;gap:8px!important}
}
@media(max-width:390px){
  html body .lhv8-top-actions .lhv8-icon-link,html body .lhv8-top-actions .lhv10821-social-toggle,html body .lhv8-top-user{width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important}
  body.lhg-home-v139 .lhg136-hero h1{font-size:30px!important}
}
@media(prefers-reduced-motion:reduce){.lhv101323-focus-post{scroll-behavior:auto!important;transition:none!important}}


/* ── 10.13.24 canonical authenticated header parity ───────────── */
html body .lhv8-topbar{
  background:#182c49!important;background-color:#182c49!important;background-image:none!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 8px 24px rgba(14,31,49,.11)!important;
}
html body .lhv8-topbar .lhv8-brand{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  gap:1px!important;margin:0!important;padding:0!important;justify-self:start!important;
  line-height:1!important;letter-spacing:0!important;text-decoration:none!important;
}
html body .lhv8-topbar .lhv8-brand .lhv93-wordmark{
  display:block!important;color:#fff!important;font-family:inherit!important;
  font-size:21px!important;line-height:1!important;font-weight:900!important;letter-spacing:.105em!important;
}
html body .lhv8-topbar .lhv8-brand .lhv101324-brand-sub{
  display:block!important;margin-top:4px!important;color:#aebdca!important;
  font-size:8px!important;line-height:1.15!important;font-weight:650!important;letter-spacing:.04em!important;
  text-transform:none!important;
}

/* Authenticated shell collapses to the same centered wordmark state as public pages. */
html body .lhv8-topbar.is-logo-only{
  min-height:50px!important;height:50px!important;
  grid-template-columns:1fr!important;justify-items:center!important;gap:0!important;
  padding-inline:0!important;background:rgba(24,44,73,.965)!important;
  box-shadow:0 7px 22px rgba(17,30,49,.13)!important;
  backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;
}
html body .lhv8-topbar.is-logo-only .lhv8-brand{justify-self:center!important;align-items:center!important}
html body .lhv8-topbar.is-logo-only .lhv8-brand .lhv93-wordmark{font-size:17px!important;letter-spacing:.14em!important}
html body .lhv8-topbar.is-logo-only .lhv101324-brand-sub,
html body .lhv8-topbar.is-logo-only .lhv8-global-search,
html body .lhv8-topbar.is-logo-only .lhv8-top-actions{display:none!important}
html body .lhv8-topbar.is-logo-only + .lhv8-layout{min-height:calc(100vh - 50px)!important}
html body .lhv8-topbar.is-logo-only + .lhv8-layout .lhv8-side-inner{top:50px!important}

/* Messenger category isolation: hidden server/client-filtered rows must never flash. */
body.lhv8-route-messages #lhv8-conversation-list>[hidden],
body.lhv8-route-messages .lhv1321-guests-empty[hidden]{display:none!important}

/* Desktop category list: remove the rounded "sheet" added by the adaptive fold.
   The navigation now stays directly on the sidebar surface before and after JS measurement. */
@media(min-width:981px){
  html body .lhv8-left .lhv8-nav.lhv109-has-overflow{
    padding:14px 0!important;border:0!important;border-radius:0!important;
    background:transparent!important;background-image:none!important;
    box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  html body .lhv8-left .lhv8-nav.lhv109-has-overflow::after{display:none!important;content:none!important;background:none!important}
  html body .lhv8-left .lhv8-nav.lhv109-nav-expanded .lhv109-nav-items{
    padding-right:0!important;mask-image:none!important;-webkit-mask-image:none!important;
  }
  html body .lhv8-left .lhv8-nav.lhv109-has-overflow .lhv109-nav-more{
    min-height:42px!important;margin:7px 4px 0!important;padding:4px 7px!important;
    border:0!important;border-top:1px solid rgba(24,44,73,.08)!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    color:#51677d!important;transform:none!important;
  }
  html body .lhv8-left .lhv8-nav.lhv109-has-overflow .lhv109-nav-more:hover{background:rgba(24,44,73,.04)!important;box-shadow:none!important;transform:none!important}
  html body .lhv8-left .lhv109-nav-more-icon{
    width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:9px!important;
    background:#edf3f8!important;color:#294966!important;box-shadow:none!important;
  }
  html[data-lh-theme="dark"] body .lhv8-left .lhv8-nav.lhv109-has-overflow{background:transparent!important;border:0!important;box-shadow:none!important}
  html[data-lh-theme="dark"] body .lhv8-left .lhv8-nav.lhv109-has-overflow .lhv109-nav-more{background:transparent!important;border-color:rgba(218,229,240,.10)!important}
}


/* The public header also keeps its real 50px folded height despite the shared full-height rule. */
html body .lhp-site-header.is-logo-only,
html body .lh-public-topbar.is-logo-only,
html body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only{
  height:50px!important;min-height:50px!important;
}
html body .lhp-site-header.is-logo-only .lhp-header-inner,
html body .lh-public-topbar.is-logo-only .lh-public-topbar-inner,
html body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lh137-topbar-inner{
  height:50px!important;min-height:50px!important;
}

/* Tablet keeps the same public wordmark metrics without the desktop subtitle squeeze. */
@media(min-width:681px) and (max-width:1024px){
  html body .lhv8-topbar .lhv8-brand .lhv93-wordmark{font-size:21px!important;letter-spacing:.105em!important}
  html body .lhv8-topbar .lhv101324-brand-sub{display:none!important}
}
@media(max-width:680px){
  html body .lhv8-topbar .lhv8-brand .lhv93-wordmark{font-size:17px!important;letter-spacing:.105em!important}
  html body .lhv8-topbar .lhv101324-brand-sub{display:none!important}
  html body .lhv8-topbar.is-logo-only{height:50px!important;min-height:50px!important}
}
