/* LexAura shared public header — single source of truth */
html {
  overflow-x: clip !important;
}
body {
  min-width: 0 !important;
  overflow-x: clip !important;
}
/* GLOBAL SITE GRID — one width system for header, navigation, page content and footer */
.lexaura-site-container{
  width:min(var(--lexaura-site-max-width,1280px), calc(100% - 32px)) !important;
  max-width:var(--lexaura-site-max-width,1280px) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}
.lexaura-header-shell > .lexaura-site-container,
.lex-footer-inner{
  width:min(var(--lexaura-site-max-width,1280px), calc(100% - 32px)) !important;
  max-width:var(--lexaura-site-max-width,1280px) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}
/* One symmetric site grid: every major public block shares exactly the same left/right edges. */
#featured-spotlight > .lexaura-site-container,
#bare-acts-repository,
#articles-grid > .lexaura-site-container,
.lex-footer-inner{
  width:min(var(--lexaura-site-max-width,1280px), calc(100% - 32px)) !important;
  max-width:var(--lexaura-site-max-width,1280px) !important;
}

@keyframes lexAuraTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lexaura-ticker-wrap { overflow:hidden; white-space:nowrap; width:100%; }
.lexaura-ticker-content { display:inline-flex; flex-wrap:nowrap; white-space:nowrap; width:max-content; animation:lexAuraTicker 38s linear infinite; }
.lexaura-ticker-content:hover { animation-play-state:paused; }

@media (max-width:1023px){
  .lexaura-header-search{display:none!important}
  .lexaura-header-inner{min-width:0}
  .lexaura-header-inner > .lexaura-brand{min-width:0;flex:1 1 auto}
  .lexaura-brand-copy{min-width:0}
  .lexaura-actions{flex:0 0 auto}
}
@media (max-width:767px){
  .lexaura-site-container,
  .lexaura-header-shell > .lexaura-site-container,
  .lex-footer-inner{
    width:min(var(--lexaura-site-max-width,1280px), calc(100% - 24px)) !important;
  }
  .lexaura-ticker-content{animation-duration:48s}
  .lexaura-header-inner{height:4.25rem!important}
  .lexaura-brand{gap:.55rem!important}
  .lexaura-brand-icon{width:var(--lexaura-mobile-logo-width, 39px)!important;height:var(--lexaura-mobile-logo-height, 39px)!important;flex:0 0 var(--lexaura-mobile-logo-width, 39px)!important}
  .lexaura-brand-icon i{font-size:1rem}
  .lexaura-brand-word{font-size:var(--lexaura-mobile-brand-font-size, 20px)!important;letter-spacing:.04em}
  .lexaura-actions{gap:.25rem!important}
  .lexaura-actions > *{padding:.5rem}
}
@media (max-width:479px){
  .lexaura-brand-word{font-size:var(--lexaura-mobile-brand-font-size, 20px)!important}
  .lexaura-mobile-menu .grid{grid-template-columns:1fr}
}

/* =========================================================
   LexAura Public Header — LIGHT COLOR PALETTE ONLY
   Matches the supplied light reference header.
   No spacing, sizing, positioning, typography or structure changes.
   ========================================================= */
.lexaura-ticker-bar {
  background:#F8F5EE !important;
  color:#252525 !important;
  border-color:#E3DDD2 !important;
}
.lexaura-ticker-bar .text-parchment-200,
.lexaura-ticker-bar span { color:#252525 !important; }
.lexaura-ticker-bar .bg-burgundy-700 {
  background:#171B22 !important;
  color:#fff !important;
}
.lexaura-ticker-bar .text-gold-400 { color:#B18416 !important; }

.lexaura-header-shell {
  background:#FAF8F4 !important;
  border-color:#E3DDD2 !important;
  box-shadow:0 1px 0 rgba(20,24,30,.04) !important;
}
.lexaura-brand-word { color:#111418 !important; }
.lexaura-brand-word .text-gold-400 { color:#C49A22 !important; }
.lexaura-brand-sub { color:#69707A !important; }
.lexaura-brand-icon {
  background:#171B22 !important;
  border-color:#C49A22 !important;
  color:#D4AF37 !important;
}
.lexaura-brand-copy .bg-gold-400\/20 {
  background:#EFE7D5 !important;
  color:#8B6B16 !important;
  border-color:#D9C99D !important;
}

.lexaura-header-search input {
  background:#FFFFFF !important;
  border-color:#DED8CF !important;
  color:#252A31 !important;
}
.lexaura-header-search input::placeholder { color:#8A919B !important; }
.lexaura-header-search input:focus {
  border-color:#C7A24A !important;
  box-shadow:0 0 0 1px #C7A24A !important;
}
.lexaura-header-search .bg-navy-800 {
  background:#F0ECE5 !important;
  color:#4D535B !important;
  border-color:#DDD6CA !important;
}

.lexaura-actions .bg-navy-800\/80 {
  background:#171B22 !important;
  color:#F7F5EF !important;
  border-color:#171B22 !important;
}
.lexaura-actions .bg-navy-800\/80:hover {
  background:#0F131A !important;
  color:#F7F5EF !important;
}
.lexaura-actions .text-gold-400 { color:#D4AF37 !important; }
.lexaura-bookmark {
  color:#4E5660 !important;
  background:transparent !important;
  border-color:#E0D9CF !important;
}
.lexaura-bookmark:hover {
  color:#171B22 !important;
  background:#F1EDE6 !important;
}
.lexaura-bookmark .bg-burgundy-600 { background:#A51D3A !important; }

.lexaura-header-shell nav {
  border-color:#E3DDD2 !important;
  color:#59616B !important;
}
.lexaura-header-shell nav .text-gold-400\/90 { color:#A77D16 !important; }
.lexaura-header-shell nav .text-gold-400 { color:#A77D16 !important; }
.lexaura-header-shell nav .text-white { color:#171B22 !important; }
.lexaura-header-shell nav a,
.lexaura-header-shell nav button { color:#59616B !important; }
.lexaura-header-shell nav a:hover,
.lexaura-header-shell nav button:hover { color:#171B22 !important; }
.lexaura-header-shell nav .border-gold-400 { border-color:#C49A22 !important; }

.lexaura-mobile-menu {
  background:#FAF8F4 !important;
  border-color:#E3DDD2 !important;
}
.lexaura-mobile-menu input {
  background:#FFFFFF !important;
  border-color:#DED8CF !important;
  color:#252A31 !important;
}
.lexaura-mobile-menu .bg-navy-900 {
  background:#F1EDE6 !important;
  color:#3F4650 !important;
}
.lexaura-mobile-menu .text-parchment-300 { color:#59616B !important; }
.lexaura-mobile-menu .hover\:text-gold-400:hover { color:#9B7518 !important; }

@media (max-width:767px){
  .lexaura-header-shell .text-parchment-200,
  .lexaura-header-shell .text-parchment-300 { color:#59616B !important; }
}

/* FINAL LIGHT HEADER COLOR OVERRIDE — colors only */
header.lexaura-header-shell,
.lexaura-header-shell {
  background: #FAF8F4 !important;
  background-image: none !important;
  color: #171B22 !important;
  border-bottom-color: #DDD7CD !important;
  box-shadow: 0 1px 0 rgba(17,20,24,.08) !important;
}
.lexaura-ticker-bar,
aside.lexaura-ticker-bar {
  background: #F7F4EE !important;
  background-image: none !important;
  color: #252A31 !important;
  border-bottom-color: #DDD7CD !important;
}
.lexaura-ticker-bar * { color: #252A31 !important; }
.lexaura-ticker-bar .text-gold-400,
.lexaura-ticker-bar strong { color: #B18416 !important; }
.lexaura-ticker-bar .bg-burgundy-700 { background:#171B22 !important; color:#FFFFFF !important; }
.lexaura-brand-word { color:#111418 !important; }
.lexaura-brand-word .text-gold-400 { color:#C49A22 !important; }
.lexaura-brand-sub { color:#68717B !important; }
.lexaura-brand-icon { background:#171B22 !important; color:#D4AF37 !important; border-color:#C49A22 !important; }
.lexaura-brand-copy .bg-gold-400\/20 { background:#EFE7D5 !important; color:#8B6B16 !important; border-color:#D9C99D !important; }
.lexaura-header-search input { background:#FFFFFF !important; color:#252A31 !important; border-color:#DDD7CD !important; }
.lexaura-header-search input::placeholder { color:#8A919B !important; }
.lexaura-header-search .bg-navy-800 { background:#EFEAE2 !important; color:#4D535B !important; border-color:#DDD7CD !important; }
.lexaura-header-search i { color:#737B85 !important; }
.lexaura-actions a { background:#171B22 !important; color:#FFFFFF !important; border-color:#171B22 !important; }
.lexaura-actions a i { color:#D4AF37 !important; }
.lexaura-bookmark { background:#FFFFFF !important; color:#4E5660 !important; border-color:#DDD7CD !important; }
.lexaura-bookmark:hover { background:#F1EDE6 !important; color:#171B22 !important; }
.lexaura-header-shell nav { background:transparent !important; border-color:#E3DDD2 !important; }
.lexaura-header-shell nav a,
.lexaura-header-shell nav button,
.lexaura-header-shell nav .text-white,
.lexaura-header-shell nav .text-parchment-300 { color:#59616B !important; }
.lexaura-header-shell nav a:hover,
.lexaura-header-shell nav button:hover { color:#171B22 !important; }
.lexaura-header-shell nav .text-gold-400,
.lexaura-header-shell nav .text-gold-400\/90 { color:#A77D16 !important; }
.lexaura-header-shell nav .border-gold-400 { border-color:#C49A22 !important; }

/* FINAL MOBILE HEADER FIX — Bare Acts button must never occupy phone header.
   It remains available from the hamburger menu. */
@media (max-width: 767px){
  .lexaura-header-shell .lexaura-bare-acts-link,
  .lexaura-actions .lexaura-bare-acts-link,
  a.lexaura-bare-acts-link {
    display:none !important;
    visibility:hidden !important;
    width:0 !important;
    min-width:0 !important;
    max-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    overflow:hidden !important;
  }
  .lexaura-header-inner > .lexaura-brand {
    flex:1 1 auto !important;
    max-width:100% !important;
  }
  .lexaura-actions {
    flex:0 0 auto !important;
    margin-left:auto !important;
  }
}

/* Mobile header collision fix: keep the brand and controls separated.
   Bare Acts remains available in the hamburger menu on phones. */
@media (max-width: 767px){
  .lexaura-header-inner{
    width:100%;
    min-width:0;
    gap:.5rem;
  }
  .lexaura-brand{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
  }
  .lexaura-brand-copy{
    overflow:hidden;
  }
  .lexaura-brand-word,
  .lexaura-brand-copy > div{
    min-width:0;
  }
  .lexaura-brand-copy > div{
    overflow:hidden;
    white-space:nowrap;
  }
  .lexaura-brand-copy > div > span:first-child{
    flex:0 0 auto;
  }
  .lexaura-brand-copy > div > span:last-child{
    flex:0 0 auto;
  }
  .lexaura-actions{
    flex:0 0 auto;
    margin-left:auto;
    display:flex;
    align-items:center;
  }
  .lexaura-actions > a[href="bare-acts.php"]{
    display:none !important;
  }
  .lexaura-actions > .lexaura-mobile-nav-trigger,
  .lexaura-actions > button.lg\\:hidden{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    padding:0 !important;
    flex:0 0 38px;
  }
}

/* =========================================================
   MOBILE NAVIGATION — SIDE DRAWER ONLY
   Desktop/tablet layout remains unchanged.
   ========================================================= */
.lexaura-mobile-drawer-overlay {
  display:none;
}

.lexaura-mobile-drawer {
  display:none;
}

@media (max-width: 767px) {
  .lexaura-mobile-drawer-overlay {
    display:block;
    position:fixed;
    inset:0;
    z-index:9997;
    background:rgba(15,19,26,.42);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, visibility .22s ease;
    backdrop-filter:blur(1px);
  }

  .lexaura-mobile-drawer {
    display:flex;
    flex-direction:column;
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    z-index:9998;
    width:min(86vw, 360px);
    max-width:360px;
    background:#FAF8F4;
    color:#171B22;
    border-left:1px solid #DDD7CD;
    box-shadow:-14px 0 38px rgba(17,20,24,.18);
    transform:translateX(105%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .24s cubic-bezier(.22,.61,.36,1), visibility .24s ease;
    overflow:hidden;
  }

  .lexaura-mobile-drawer.is-open {
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
  }

  .lexaura-mobile-drawer-overlay.is-open {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .lexaura-mobile-drawer-head {
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:1rem 1rem .9rem 1.15rem;
    border-bottom:1px solid #E3DDD2;
    background:#F7F4EE;
  }

  .lexaura-mobile-drawer-title {
    font-family:Georgia, 'Times New Roman', serif;
    font-size:1.25rem;
    font-weight:700;
    letter-spacing:.02em;
  }

  .lexaura-mobile-drawer-subtitle {
    margin-top:.15rem;
    color:#737B85;
    font:italic .72rem/1.3 Georgia, 'Times New Roman', serif;
  }

  .lexaura-mobile-drawer-close {
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #D7D0C5;
    border-radius:9px;
    background:#FFFFFF;
    color:#343A42;
    font-size:1rem;
  }

  .lexaura-mobile-drawer-body {
    flex:1 1 auto;
    overflow-y:auto;
    padding:1rem;
    -webkit-overflow-scrolling:touch;
  }

  .lexaura-mobile-drawer-search-wrap { position:relative; }

  .lexaura-mobile-drawer-search-icon {
    position:absolute;
    left:.9rem;
    top:50%;
    transform:translateY(-50%);
    color:#858D97;
    font-size:.75rem;
    pointer-events:none;
  }

  .lexaura-mobile-drawer-search {
    width:100%;
    box-sizing:border-box;
    height:42px;
    padding:.65rem .8rem .65rem 2.25rem;
    border:1px solid #DDD7CD;
    border-radius:9px;
    background:#FFFFFF;
    color:#252A31;
    font-size:.8rem;
    outline:none;
  }

  .lexaura-mobile-drawer-search:focus {
    border-color:#C49A22;
    box-shadow:0 0 0 2px rgba(196,154,34,.12);
  }

  .lexaura-mobile-drawer-links {
    display:flex;
    flex-direction:column;
    gap:.5rem;
  }

  .lexaura-mobile-drawer-links a {
    min-height:48px;
    display:flex;
    align-items:center;
    gap:.8rem;
    padding:.7rem .8rem;
    border:1px solid #E2DCD2;
    border-radius:9px;
    background:#FFFFFF;
    color:#343A42;
    text-decoration:none;
    font-size:.82rem;
    font-weight:500;
    transition:background .15s ease, border-color .15s ease, color .15s ease;
  }

  .lexaura-mobile-drawer-links a i {
    width:22px;
    text-align:center;
    color:#A77D16;
  }

  .lexaura-mobile-drawer-links a:hover,
  .lexaura-mobile-drawer-links a:active {
    background:#F1EDE6;
    border-color:#D7CBB5;
    color:#171B22;
  }

  body.lexaura-mobile-drawer-open {
    overflow:hidden !important;
  }
}

/* FINAL MOBILE DRAWER POSITION FIX
   The shared header uses backdrop-filter; that can create a containing block
   for position:fixed descendants on mobile Safari/WebKit. The drawer must
   always be anchored to the viewport, not to the header. */
@media (max-width: 767px){
  .lexaura-header-shell{
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  #mobileMenuOverlay.lexaura-mobile-drawer-overlay{
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100dvh !important;
  }

  #mobileMenu.lexaura-mobile-drawer{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    width:min(86vw,360px) !important;
    max-width:360px !important;
    height:100dvh !important;
    min-height:100dvh !important;
    margin:0 !important;
    border-radius:0 !important;
    transform:translate3d(105%,0,0) !important;
  }

  #mobileMenu.lexaura-mobile-drawer.is-open{
    transform:translate3d(0,0,0) !important;
  }

  #mobileMenu .lexaura-mobile-drawer-head{
    flex:0 0 auto !important;
  }

  #mobileMenu .lexaura-mobile-drawer-body{
    min-height:0 !important;
    overflow-y:auto !important;
  }
}


/* MOBILE FINAL HARDENING — drawer lives outside the sticky header. */
@media (max-width: 767px){
  html, body {
    width:100%;
    max-width:100%;
    overflow-x:clip !important;
  }
  body {
    margin:0 !important;
    min-width:0 !important;
  }
  .lexaura-header-shell {
    width:100%;
    z-index:40;
  }
  .lexaura-mobile-drawer-overlay {
    position:fixed !important;
    inset:0 !important;
    width:100% !important;
    height:100vh !important;
    height:100dvh !important;
    z-index:99997 !important;
  }
  .lexaura-mobile-drawer {
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:auto !important;
    left:auto !important;
    width:min(86vw,360px) !important;
    max-width:360px !important;
    height:100vh !important;
    height:100dvh !important;
    min-height:100vh !important;
    min-height:100dvh !important;
    z-index:99998 !important;
    margin:0 !important;
    transform:translate3d(105%,0,0) !important;
    will-change:transform;
    box-sizing:border-box !important;
  }
  .lexaura-mobile-drawer.is-open {
    transform:translate3d(0,0,0) !important;
  }
  body.lexaura-mobile-drawer-open {
    overflow:hidden !important;
    overscroll-behavior:none !important;
    touch-action:none !important;
  }
  .lexaura-mobile-drawer-body {
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
}

/* Canonical Bare Act card — one design shared by homepage and Bare Acts repository. */
.bareact-card{
  background:#fff;
  border:1px solid #e4d7c4;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 3px 12px rgba(35,27,21,.08);
  display:flex;
  flex-direction:column;
}
.bareact-card-preview{
  position:relative;
  margin:0;
  min-height:255px;
  padding:22px 22px 18px;
  background:#fbf6ed;
  border:1px solid #bda47f;
  border-radius:11px;
  overflow:hidden;
  cursor:pointer;
  isolation:isolate;
}
.bareact-card-preview::before{
  content:"";
  position:absolute;
  inset:5px;
  border:1px solid rgba(142,112,72,.72);
  border-radius:8px;
  pointer-events:none;
  z-index:-1;
}
.bareact-card-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 10px;
  border-radius:6px;
  background:#8b1730;
  color:#fff;
  font:700 11px/1.1 Plus Jakarta Sans,Arial,sans-serif;
  letter-spacing:.01em;
  text-transform:uppercase;
  white-space:nowrap;
}
.bareact-card-menu{
  position:absolute;
  top:15px;
  right:15px;
  color:#1f2937;
  font-size:19px;
  line-height:1;
  z-index:2;
}
.bareact-card-title{
  position:relative;
  z-index:2;
  max-width:78%;
  margin:16px 0 5px;
  color:#172033;
  font-family:Cinzel,Georgia,serif;
  font-size:22px;
  line-height:1.12;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:uppercase;
}
.bareact-card-subtitle{
  position:relative;
  z-index:2;
  max-width:70%;
  color:#62584d;
  font:italic 13px/1.35 Newsreader,Georgia,serif;
}
.bareact-card-rule{
  width:118px;
  height:2px;
  margin-top:13px;
  background:linear-gradient(90deg,#e68b3a 0 50%,#4e8b67 50% 100%);
}
.bareact-card-watermark{
  position:absolute;
  right:18px;
  top:55px;
  width:82px;
  height:112px;
  color:#b99d70;
  opacity:.34;
  z-index:1;
}
.bareact-card-watermark svg{width:100%;height:100%;display:block;}
.bareact-card-action{
  padding:14px 14px 16px;
}
.bareact-card-read{
  width:100%;
  min-height:48px;
  border:0;
  border-radius:10px;
  background:#0c1324;
  color:#fff;
  font:700 15px/1 Plus Jakarta Sans,Arial,sans-serif;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 2px 5px rgba(12,19,36,.16);
  transition:background .2s ease,transform .2s ease;
}
.bareact-card-read:hover{background:#131e3a;transform:translateY(-1px)}
.bareact-card-read i{color:#f0c341;font-size:16px}
.bareact-card-read .bareact-arrow{margin-left:auto;color:#fff;font-size:18px;margin-right:2px}
@media(max-width:767px){
  .bareact-card-preview{min-height:245px;padding:20px 18px 16px}
  .bareact-card-title{font-size:19px;max-width:74%;}
  .bareact-card-subtitle{font-size:12px;max-width:68%;}
  .bareact-card-watermark{right:14px;top:54px;width:72px;height:98px}
  .bareact-card-badge{font-size:10px;min-height:24px;padding:4px 9px}
  .bareact-card-action{padding:12px 13px 14px}
  .bareact-card-read{min-height:50px;font-size:14px}
}

/* Admin-configured mobile navigation entries keep the existing drawer design. */
.lexaura-mobile-config-link{display:flex;align-items:center;gap:.75rem;width:100%;padding:.78rem .8rem;border-radius:.65rem;color:#334155;text-decoration:none;font-size:.82rem;font-weight:600;transition:background .2s,color .2s}
.lexaura-mobile-config-link:hover{background:#f5efeb;color:#80182a}
.lexaura-mobile-config-link i{width:1.25rem;text-align:center;color:#8b1730}


/* Runtime branding controls — values are supplied by Admin > Branding & Header. */
.lexaura-header-inner{height:var(--lexaura-desktop-header-height,80px)!important;min-height:var(--lexaura-desktop-header-height,80px)!important}
.lexaura-brand-image-wrap{width:var(--lexaura-desktop-logo-width,44px);height:var(--lexaura-desktop-logo-height,44px);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 var(--lexaura-desktop-logo-width,44px)}
.lexaura-brand-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}
.lexaura-mobile-drawer-brand-wrap{display:flex;align-items:center;gap:10px;min-width:0}
.lexaura-mobile-drawer-logo{width:var(--lexaura-mobile-logo-width,39px);height:var(--lexaura-mobile-logo-height,39px);object-fit:contain;border-radius:8px;flex:0 0 var(--lexaura-mobile-logo-width,39px)}
.lexaura-mobile-drawer-icon{width:var(--lexaura-mobile-logo-width,39px);height:var(--lexaura-mobile-logo-height,39px);border-radius:8px;display:flex;align-items:center;justify-content:center;background:#171B22;color:#D4AF37;border:1px solid #C49A22;flex:0 0 var(--lexaura-mobile-logo-width,39px)}
@media (max-width:767px){
  .lexaura-header-inner{height:var(--lexaura-mobile-header-height,68px)!important;min-height:var(--lexaura-mobile-header-height,68px)!important}
  .lexaura-brand-image-wrap{width:var(--lexaura-mobile-logo-width,39px);height:var(--lexaura-mobile-logo-height,39px);flex-basis:var(--lexaura-mobile-logo-width,39px)}
  .lexaura-brand-image{border-radius:8px}
}

/* Runtime branding size controls — configured from Admin > Branding & Header. */
.lexaura-brand-word{font-size:var(--lexaura-desktop-brand-font-size,24px)!important;line-height:1.1}
.lexaura-brand-sub{font-size:var(--lexaura-desktop-tagline-font-size,11px)!important}
.lexaura-brand-badge{font-size:var(--lexaura-desktop-badge-font-size,9px)!important}
.lexaura-brand-icon{width:var(--lexaura-desktop-logo-width,44px)!important;height:var(--lexaura-desktop-logo-height,44px)!important;flex:0 0 var(--lexaura-desktop-logo-width,44px)!important}
.lexaura-mobile-drawer-icon{font-size:calc(var(--lexaura-mobile-logo-height,39px) * .42)}
.lexaura-mobile-brand-title{font-size:var(--lexaura-mobile-brand-font-size,20px)!important;line-height:1.1}
.lexaura-mobile-brand-subtitle{font-size:var(--lexaura-mobile-tagline-font-size,10px)!important}
@media (max-width:767px){
  .lexaura-brand-word{font-size:var(--lexaura-mobile-brand-font-size,20px)!important}
  .lexaura-brand-sub{
    display:block!important;
    font-size:var(--lexaura-mobile-tagline-font-size,10px)!important;
    line-height:1.2!important;
    margin:2px 0 0!important;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    visibility:visible!important;
    opacity:1!important;
  }
  .lexaura-brand-badge{font-size:var(--lexaura-mobile-badge-font-size,8px)!important}
  .lexaura-brand-icon{width:var(--lexaura-mobile-logo-width,39px)!important;height:var(--lexaura-mobile-logo-height,39px)!important;flex-basis:var(--lexaura-mobile-logo-width,39px)!important}
}

/* Search selector: shared desktop/mobile control. */
.lexaura-search-box{min-height:40px}
.lexaura-search-type{height:38px;border:0;border-right:1px solid #DED8CF;background:#F7F4EE;color:#3F4650;font-size:11px;font-weight:700;padding:0 28px 0 12px;outline:none;cursor:pointer}
.lexaura-search-box>i{margin-left:10px}
.lexaura-search-input{width:100%;min-width:0;border:0!important;outline:none!important;background:transparent!important;color:#252A31!important;font-size:12px;padding:10px 8px}
.lexaura-search-input::placeholder{color:#8A919B}
.lexaura-search-enter{font-size:10px;background:#EFEAE2;color:#4D535B;border:1px solid #DDD7CD;border-radius:5px;padding:3px 7px;margin-right:8px;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.lexaura-mobile-search-box .lexaura-search-type{height:38px;flex:0 0 auto}
.lexaura-mobile-search-box .lexaura-mobile-drawer-search{border:0!important;border-radius:0!important;padding-left:8px!important}
.lexaura-mobile-search-box>div>i{margin-left:10px}
@media(max-width:767px){
  .lexaura-actions .lexaura-bookmark{display:inline-flex!important;visibility:visible!important}
  .lexaura-actions .lexaura-mobile-nav-trigger{display:inline-flex!important;align-items:center;justify-content:center}
  .lexaura-actions{gap:.2rem!important}
  .lexaura-actions>*{padding:.45rem!important}
}


/* Global bookmark system: shared by desktop, tablet and mobile pages. */
.lexaura-bookmark-drawer{position:fixed;inset:0;z-index:100;pointer-events:none;visibility:hidden}
.lexaura-bookmark-drawer.is-open{pointer-events:auto;visibility:visible}
.lexaura-bookmark-backdrop{position:absolute;inset:0;background:rgba(15,19,26,.58);opacity:0;transition:opacity .2s}
.lexaura-bookmark-drawer.is-open .lexaura-bookmark-backdrop{opacity:1}
.lexaura-bookmark-panel{position:absolute;right:0;top:0;height:100%;width:min(390px,92vw);background:#fffdf9;box-shadow:-12px 0 35px rgba(0,0,0,.2);transform:translateX(100%);transition:transform .25s;display:flex;flex-direction:column}
.lexaura-bookmark-drawer.is-open .lexaura-bookmark-panel{transform:translateX(0)}
.lexaura-bookmark-head{padding:16px;border-bottom:1px solid #e5ded3;display:flex;align-items:center;justify-content:space-between}
.lexaura-bookmark-close{width:34px;height:34px;border-radius:8px;background:#171b22;color:#fff;display:inline-flex;align-items:center;justify-content:center}
.lexaura-bookmark-list{padding:14px;overflow:auto;flex:1}
.lexaura-bookmark-row{display:flex;justify-content:space-between;gap:10px;padding:12px;margin-bottom:10px;border:1px solid #e4ded5;border-radius:10px;background:#fff}
.lexaura-bookmark-title{font-weight:700;color:#171b22;font-family:Georgia,serif;line-height:1.35}
.lexaura-bookmark-meta{font-size:10px;color:#8a919b;margin-top:5px}
.lexaura-bookmark-delete{padding:7px;color:#8a919b}.lexaura-bookmark-delete:hover{color:#a51d3a}
.lexaura-save-bookmark.is-saved{background:#171b22!important;color:#fff!important;border-color:#171b22!important}
.lexaura-save-bookmark.is-saved:hover{background:#0f131a!important;color:#fff!important}
@media(max-width:767px){.lexaura-bookmark-panel{width:100%;}.lexaura-save-bookmark{min-height:40px;}.lexaura-brand-sub{display:block!important;max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
