
:root{
  --bg:#070a10;
  --panel:#0c111b;
  --panel-soft:#111624;
  --panel-raised:#141a28;
  --line:rgba(144,120,220,.22);
  --line-strong:rgba(170,112,255,.42);
  --text:#f6f8fd;
  --muted:#8e98ac;
  --muted-2:#b1b8c8;
  --purple:#b35cff;
  --purple2:#7c3cff;
  --green:#50f2b2;
  --cyan:#3ddfff;
  --orange:#ff9a32;
  --blue:#4c91ff;
  --danger:#ff4a68;
  --radius:16px;
  --shadow:0 16px 50px rgba(0,0,0,.24);
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{background:
  radial-gradient(circle at 35% 0%,rgba(91,57,190,.11),transparent 30%),
  radial-gradient(circle at 75% 0%,rgba(34,110,190,.07),transparent 28%),
  #070a10}
button,input{font:inherit}
button{color:inherit}
a{color:inherit;text-decoration:none}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.app-shell{min-height:100vh}
.topbar{
  height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:0 22px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(5,8,14,.92);
  backdrop-filter:blur(16px);
  position:sticky;top:0;z-index:50
}
.brand img{height:31px;width:auto;display:block;max-width:300px}
.brand-fallback{font-weight:900;letter-spacing:.25em}
.topnav{display:flex;align-items:stretch;gap:5px;height:100%}
.nav-item{
  position:relative;
  display:flex;align-items:center;gap:8px;
  padding:0 12px;
  color:#c9ced8;font-size:14px;font-weight:700
}
.nav-item .icon{font-size:18px;color:#cfd4df}
.nav-item.active{color:#ca83ff}
.nav-item.active:after{
  content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;
  background:#ba57ff;box-shadow:0 0 12px rgba(186,87,255,.7)
}
.top-actions{display:flex;align-items:center;gap:10px}
.icon-action{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background:#0a0f18;
  position:relative
}
.icon-action svg{font-size:19px}
.icon-action.compact{border-color:transparent;background:transparent;width:26px}
.count-badge{
  position:absolute;right:-2px;bottom:-1px;
  min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  display:grid;place-items:center;
  background:#55e8b8;color:#06251b;font-size:11px;font-weight:900
}
.avatar-button{
  width:44px;height:44px;border-radius:50%;padding:0;border:1px solid #6334a4;overflow:hidden;background:#05070d
}
.avatar-button img{width:100%;height:100%;object-fit:cover}
.page{padding:14px 12px 40px}
.card-shell{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(12,17,27,.98),rgba(8,12,20,.98));
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.profile-hero{overflow:hidden}
.cover-area{height:260px;background:#10172a;overflow:hidden}
.cover-img{width:100%;height:100%;object-fit:cover;display:block}
.profile-main{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:20px;
  padding:0 28px;
  margin-top:-72px;
  position:relative
}
.profile-avatar-wrap{position:relative;width:180px;height:180px}
.profile-avatar{
  width:180px;height:180px;border-radius:50%;object-fit:cover;
  border:4px solid #7b47bf;
  box-shadow:0 0 28px rgba(180,83,255,.35),0 10px 30px rgba(0,0,0,.45);
  background:#07090f
}
.avatar-edit{
  position:absolute;right:4px;bottom:18px;width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;background:#111725;border:1px solid #4f5870
}
.profile-copy{padding-top:70px;padding-bottom:12px}
.title-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.name-line{display:flex;align-items:center;gap:8px}
h1{font-size:31px;margin:0;letter-spacing:-.035em}
.verified-dot{color:#56f0bf;font-size:17px}
.profile-meta{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;margin-top:4px}
.member-pill{
  border:1px solid rgba(180,95,255,.25);background:rgba(180,95,255,.08);
  color:#c397f4;border-radius:999px;padding:3px 9px
}
.bio{margin:14px 0 8px;color:#c8ced9;line-height:1.55;font-size:14px}
.details-row{display:flex;gap:22px;flex-wrap:wrap;color:#8e98aa;font-size:12px}
.details-row span{display:flex;align-items:center;gap:6px}
.details-row svg{font-size:14px}
.profile-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.fluorescent-button{
  --glow:#b55cff;
  --spread:rgba(181,92,255,.42);
  --dark:#24102d;
  border:1px solid var(--glow);
  background:var(--dark);
  color:var(--glow);
  border-radius:11px;
  min-height:38px;
  padding:0 15px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-weight:800;
  box-shadow:0 0 12px var(--spread),inset 0 0 10px rgba(255,255,255,.025);
  text-shadow:0 0 7px var(--glow);
  transition:.18s ease
}
.fluorescent-button:hover{background:var(--glow);color:#0a0c11;box-shadow:0 0 18px var(--glow),0 0 34px var(--spread)}
.fluorescent-button.outline{background:transparent}
.fluorescent-button.small{min-height:32px;padding:0 12px;font-size:12px}
.fluorescent-button.icon-only{width:42px;padding:0}
.fluor-purple{--glow:#ba63ff;--spread:rgba(186,99,255,.38);--dark:#25102f}
.fluor-green{--glow:#51efb2;--spread:rgba(81,239,178,.35);--dark:#09271f}
.fluor-blue{--glow:#4d91ff;--spread:rgba(77,145,255,.35);--dark:#0a1d38}
.fluor-orange{--glow:#ff9b34;--spread:rgba(255,155,52,.35);--dark:#321d08}
.create-btn{min-width:90px}
.stats-bar{
  margin:8px 28px 0;
  display:grid;grid-template-columns:repeat(6,1fr);
  border:1px solid rgba(166,116,245,.18);
  background:rgba(15,16,29,.72);
  border-radius:18px;
  overflow:hidden
}
.stat{padding:16px 8px;text-align:center;position:relative}
.stat:not(:last-child):after{content:"";position:absolute;right:0;top:18%;bottom:18%;width:1px;background:rgba(255,255,255,.08)}
.stat strong{display:block;color:#bd76ff;font-size:22px}
.stat span{display:block;color:#aeb5c5;font-size:12px;margin-top:4px}
.profile-tabs{
  margin-top:20px;
  display:flex;gap:8px;
  border-top:1px solid rgba(255,255,255,.07);
  padding:0 28px
}
.tab{
  border:0;background:transparent;color:#b7becd;
  padding:16px 16px 14px;display:flex;align-items:center;gap:8px;
  font-weight:700;position:relative
}
.tab.active{color:#c86cff}
.tab.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#c65eff;box-shadow:0 0 10px rgba(198,94,255,.6)}
.content-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(320px,.92fr);
  gap:12px
}
.feed,.sidebar{display:flex;flex-direction:column;gap:12px}
.composer{padding:16px}
.composer-top{display:flex;gap:12px;align-items:center}
.mini-avatar,.post-avatar,.comment-avatar{
  border-radius:50%;object-fit:cover;background:#06080d;border:1px solid #6932a5
}
.mini-avatar{width:44px;height:44px}.post-avatar{width:48px;height:48px}.comment-avatar{width:42px;height:42px}
.composer-input{
  flex:1;border:1px solid rgba(141,119,205,.24);
  background:#0a0f18;color:#8d96a8;border-radius:10px;padding:12px 14px;text-align:left
}
.composer-actions{
  margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.06);
  display:grid;grid-template-columns:repeat(5,1fr)
}
.composer-actions button{
  border:0;background:transparent;color:#b9c0d0;padding:8px 7px;
  display:flex;align-items:center;justify-content:center;gap:7px
}
.composer-actions button:hover{color:#c46fff}
.post{padding:0 18px 14px;overflow:hidden}
.post-header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:16px 0 8px}
.post-author strong{display:block;font-size:14px}
.post-author div{font-size:11px;color:#7d879a;margin-top:2px}
.post-author div span{margin:0 4px}
.public-pill{
  display:inline-block;margin-top:6px;padding:3px 8px;border-radius:999px;
  border:1px solid rgba(81,239,178,.42);color:#55eeba;background:rgba(81,239,178,.06);
  font-size:10px;font-weight:800
}
.ghost-icon{
  width:34px;height:34px;border:0;background:transparent;color:#9ea6b5;
  display:grid;place-items:center;border-radius:50%
}
.ghost-icon:hover{background:#151b28;color:white}
.post-copy{padding:8px 0 12px}
.post-copy p{margin:0;color:#cbd1db;line-height:1.55;font-size:13px}
.post-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}
.post-tags a{color:#39dfff;font-size:12px;font-weight:700}
.post-gallery{display:grid;gap:10px}
.post-gallery.cols-3{grid-template-columns:repeat(3,1fr)}
.post-gallery.cols-1{grid-template-columns:1fr}
.mineral-image,.mini-mineral-image{
  border:1px solid rgba(122,101,195,.28);
  background:
    radial-gradient(circle at 48% 45%,var(--tone,rgba(187,86,255,.75)) 0 13%,transparent 14%),
    radial-gradient(circle at 60% 58%,color-mix(in srgb,var(--tone,rgba(187,86,255,.75)) 60%,transparent) 0 10%,transparent 11%),
    radial-gradient(circle at 52% 50%,rgba(48,62,168,.6),transparent 32%),
    linear-gradient(135deg,#0a1230,#060813 70%);
  box-shadow:inset 0 0 30px rgba(0,0,0,.32)
}
.mineral-image{aspect-ratio:1.18;border-radius:10px}
.tone-orange{--tone:#ff742f}.tone-orange-purple{--tone:#a64dff}.tone-purple{--tone:#a54fff}
.tone-blue-purple{--tone:#5557ff}.tone-green{--tone:#42ef83}.tone-violet{--tone:#8e5bff}
.tone-blue{--tone:#447ee8}.tone-amber{--tone:#d38729}
.post-toolbar{
  margin-top:12px;padding:10px 0;
  border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);
  display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center
}
.reaction-button,.toolbar-button{
  border:0;background:transparent;color:#aeb6c7;padding:8px 10px;
  display:flex;align-items:center;gap:6px
}
.comment-button{justify-self:center;min-width:120px}
.comment-form{
  display:grid;grid-template-columns:auto 1fr auto;
  gap:10px;align-items:center;padding-top:12px
}
.comment-form input{
  grid-column:2 / 3;width:100%;background:#080d16;border:1px solid rgba(139,112,205,.23);
  color:#fff;border-radius:10px;padding:12px 14px;outline:none
}
.comment-form input:focus{border-color:#4fe5b2;box-shadow:0 0 0 3px rgba(79,229,178,.08)}
.reaction-picker{grid-column:2 / 3;font-size:16px;letter-spacing:3px;color:#d7dbe4}
.send-comment{
  grid-column:3;grid-row:1 / 3;
  width:38px;height:38px;border-radius:50%;
  border:1px solid #4fe5b2;background:#0b241f;color:#4fe5b2;
  display:grid;place-items:center;box-shadow:0 0 14px rgba(79,229,178,.26)
}
.side-card{padding:16px 18px}
.side-card h2{font-size:17px;margin:0}
.side-card h2 span{color:#ab89d7;font-weight:600}
.side-card p{color:#b8c0ce;font-size:13px;line-height:1.6;margin:14px 0}
.side-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.about-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.about-list>div{
  display:grid;grid-template-columns:18px 110px 1fr;gap:8px;align-items:center;
  color:#aeb6c6;font-size:12px
}
.about-list a{color:#aa85e6}
.wavelength-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}
.wavelength{
  --uv:#ba63ff;
  border:1px solid var(--uv);border-radius:11px;padding:12px 8px;text-align:center;
  color:var(--uv);background:rgba(255,255,255,.015);
  box-shadow:0 0 14px color-mix(in srgb,var(--uv) 26%,transparent)
}
.wavelength span,.wavelength strong{display:block}.wavelength span{font-size:11px}.wavelength strong{font-size:12px;margin-top:10px}
.uv365{--uv:#c26cff}.uv310{--uv:#48b6ff}.uv275{--uv:#ff9d29}.uv254{--uv:#50efb1}
.view-all{font-size:12px;color:#be8aff}
.mineral-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.mini-mineral{
  border:1px solid rgba(123,110,188,.24);border-radius:10px;overflow:hidden;
  background:#0b1019;text-align:center
}
.mini-mineral-image{aspect-ratio:1.15}
.mini-mineral strong{display:block;font-size:11px;padding:7px 4px 0}
.mini-mineral span{display:block;font-size:10px;color:#7e8797;padding:3px 4px 8px}
.activity-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.activity-list>div{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;font-size:12px;color:#aeb6c5}
.activity-list time{color:#6f7889}
.activity-dot{width:18px;height:18px;border-radius:50%;display:inline-block;background:var(--glow);box-shadow:0 0 10px var(--spread)}
@media(max-width:1050px){
  .topnav .nav-item:nth-child(n+4){display:none}
  .content-grid{grid-template-columns:1fr}
  .sidebar{display:grid;grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .topbar{grid-template-columns:auto 1fr;padding:0 12px}
  .topnav{display:none}
  .top-actions{justify-content:flex-end}
  .create-btn{display:none}
  .profile-main{grid-template-columns:1fr;margin-top:-55px;text-align:center}
  .profile-avatar-wrap{margin:0 auto}
  .profile-copy{padding-top:0}
  .title-row{display:block}
  .profile-actions{justify-content:center;margin-top:14px}
  .details-row,.profile-meta{justify-content:center}
  .stats-bar{grid-template-columns:repeat(3,1fr)}
  .stat:nth-child(3):after,.stat:nth-child(6):after{display:none}
  .profile-tabs{overflow:auto}
  .content-grid{display:block}
  .sidebar{display:block}
  .side-card{margin-top:12px}
  .post-gallery.cols-3{grid-template-columns:1fr}
  .wavelength-grid{grid-template-columns:repeat(2,1fr)}
}

/* Backend integration overrides */
body.community-body{background:#070a10!important;color:#f6f8fd!important}.social-topbar{background:rgba(5,8,14,.94)!important;border-bottom:1px solid rgba(255,255,255,.06)!important;backdrop-filter:blur(18px)}.social-topbar-inner{width:100%!important;max-width:none!important;padding:0 22px!important}.social-logo img{width:auto!important;height:31px!important;max-width:300px!important;object-fit:contain}.social-shell{width:100%!important;max-width:none!important;padding:14px 18px 48px!important;grid-template-columns:240px minmax(0,1fr) 310px!important;gap:14px!important}.social-left,.social-right{border-color:rgba(144,120,220,.18)!important;background:rgba(8,12,20,.72)!important}.social-feed-card,.social-section,.home-compose-card,.integrated-portal-head,.panel,.card{border:1px solid rgba(144,120,220,.22)!important;background:linear-gradient(180deg,rgba(12,17,27,.98),rgba(8,12,20,.98))!important;border-radius:16px!important;box-shadow:0 16px 50px rgba(0,0,0,.22)!important}.btn-primary,.primary,.fbpc-publish{border:1px solid #ba63ff!important;background:#25102f!important;color:#ba63ff!important;box-shadow:0 0 12px rgba(186,99,255,.38)!important;text-shadow:0 0 7px #ba63ff!important;font-weight:800!important}.btn-primary:hover,.primary:hover,.fbpc-publish:hover{background:#ba63ff!important;color:#090b10!important}.btn-success,.btn-info{border:1px solid #51efb2!important;background:#09271f!important;color:#51efb2!important;box-shadow:0 0 12px rgba(81,239,178,.28)!important}.btn-danger{border:1px solid #ff4a68!important;background:#300b14!important;color:#ff7088!important}.btn-outline-secondary,.btn-outline-light{border:1px solid rgba(186,99,255,.46)!important;background:transparent!important;color:#c7a4e8!important}.form-control,.form-select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{border:1px solid rgba(139,112,205,.34)!important;background:#080d16!important;color:#f6f8fd!important;border-radius:10px!important;min-height:42px}.form-control:focus,.form-select:focus,input:focus,textarea:focus,select:focus{border-color:#51efb2!important;box-shadow:0 0 0 3px rgba(81,239,178,.08)!important;outline:0!important}.profile-cover-art{min-height:300px!important}.profile-summary{grid-template-columns:190px minmax(0,1fr) auto!important;gap:20px!important;margin-top:-72px!important;padding:0 28px 18px!important;align-items:end!important}.profile-summary .avatar{width:180px!important;height:180px!important;border:4px solid #7b47bf!important;box-shadow:0 0 28px rgba(180,83,255,.35),0 10px 30px rgba(0,0,0,.45)!important}.comment-form button[type=submit],.comment-submit,.social-comment-form button{border:1px solid #51efb2!important;background:#09271f!important;color:#51efb2!important;border-radius:10px!important;box-shadow:0 0 12px rgba(81,239,178,.28)!important}.library-row{border-bottom:1px solid rgba(144,120,220,.18)!important;padding:14px 0!important}.form-control::file-selector-button{border:0!important;border-right:1px solid rgba(144,120,220,.25)!important;background:#151b28!important;color:#d9dfeb!important;margin:-7px 12px -7px -7px!important;padding:11px 14px!important}.social-mini-minerals{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}.social-mini-minerals>a{min-width:0!important;overflow:hidden!important}.social-mini-minerals strong,.social-mini-minerals small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.knowledge-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}.knowledge-card{padding:18px;margin-bottom:12px}.knowledge-meta{display:flex;gap:8px;flex-wrap:wrap;color:#8e98ac;font-size:12px}.knowledge-card h2{margin:.5rem 0;font-size:1.15rem}.knowledge-card p{color:#c8ced9;line-height:1.6}.knowledge-type{display:inline-flex;padding:.3rem .55rem;border:1px solid #ba63ff;border-radius:999px;color:#ba63ff;font-size:.68rem;font-weight:900;text-transform:uppercase}.knowledge-answer{padding:16px;margin-top:10px;border-left:3px solid #3ddfff}.knowledge-answer.accepted{border-left-color:#51efb2;box-shadow:0 0 18px rgba(81,239,178,.1)}.fluorescent-badge{--glow:#51efb2;display:inline-flex;padding:.3rem .55rem;border:1px solid var(--glow);border-radius:999px;color:var(--glow);text-shadow:0 0 7px var(--glow);box-shadow:0 0 10px color-mix(in srgb,var(--glow) 30%,transparent);font-size:.7rem;font-weight:900}.fluor-orange{--glow:#ff9b34}.fluor-green{--glow:#51efb2}.fluor-cyan{--glow:#3ddfff}.fluor-blue{--glow:#4d91ff}.fluor-purple{--glow:#ba63ff}
@media(max-width:1250px){.social-shell{grid-template-columns:220px minmax(0,1fr)!important}.social-right{display:none!important}}@media(max-width:900px){.social-shell{display:block!important;padding:10px!important}.social-left{display:none!important}.knowledge-grid{grid-template-columns:1fr}.profile-summary{grid-template-columns:1fr!important;margin-top:-55px!important;text-align:center!important}.profile-summary .avatar{margin:auto!important}.social-global-search-wrap{display:none!important}}

/* =====================================================================
   LumenLithos V4 visual pass
   Approved target: dark full-width social/mineral platform with restrained
   fluorescence glows, compact controls and consistent spacing.
   ===================================================================== */
:root{
  --ll4-bg:#070a10;
  --ll4-panel:#0c111b;
  --ll4-panel-2:#111624;
  --ll4-line:rgba(133,103,188,.28);
  --ll4-line-soft:rgba(255,255,255,.07);
  --ll4-text:#f5f7fb;
  --ll4-muted:#949daf;
  --ll4-purple:#ba63ff;
  --ll4-green:#51efb2;
  --ll4-cyan:#3ddfff;
  --ll4-orange:#ff9b34;
  --ll4-red:#ff536e;
  --ll4-radius:16px;
}
body.community-body{background:radial-gradient(circle at 25% 0%,rgba(76,42,149,.11),transparent 27%),radial-gradient(circle at 80% 5%,rgba(35,98,156,.06),transparent 26%),var(--ll4-bg)!important;color:var(--ll4-text)!important}
.ll-icon{width:1.05em;height:1.05em;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.13em}

/* Full-width top bar exactly in the approved direction */
.social-topbar{height:68px!important;background:rgba(5,8,14,.95)!important;border-bottom:1px solid var(--ll4-line-soft)!important;box-shadow:none!important}
.social-topbar-inner{width:100%!important;max-width:none!important;height:100%!important;padding:0 20px!important;margin:0!important;display:grid!important;grid-template-columns:220px minmax(0,1fr) auto!important;gap:22px!important;align-items:center!important}
.social-logo img{height:29px!important;width:auto!important;max-width:215px!important;display:block!important}
.ll-top-navigation{height:100%;display:flex;align-items:stretch;gap:2px;min-width:0}
.ll-top-navigation a{position:relative;display:flex;align-items:center;gap:7px;padding:0 11px;color:#c3c8d2!important;font-size:.82rem;font-weight:720;white-space:nowrap}
.ll-top-navigation a .ll-icon{font-size:1.13rem;color:#cfd4df}
.ll-top-navigation a:hover{color:#fff!important}
.ll-top-navigation a.active{color:#ca7aff!important}
.ll-top-navigation a.active:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;background:#ba63ff;box-shadow:0 0 11px rgba(186,99,255,.75)}
.social-top-actions{gap:9px!important;flex-wrap:nowrap!important}
.social-icon-button{width:40px!important;height:40px!important;border:1px solid rgba(151,121,207,.30)!important;background:#0a0f18!important;color:#dce1ea!important;box-shadow:none!important}
.social-icon-button:hover{border-color:#ba63ff!important;color:#fff!important;box-shadow:0 0 16px rgba(186,99,255,.23)!important}
.social-top-icon{font-size:1.2rem!important}
.social-top-create{min-height:40px!important;padding:0 15px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;gap:7px!important}
.social-avatar-link img,.social-avatar-link span{width:40px!important;height:40px!important;border:1px solid #633ba0!important;background:#090c12!important}

/* Old left portal sidebar is intentionally retired in the new template. */
.social-left{display:none!important}
.social-shell{width:100%!important;max-width:none!important;margin:14px 0 60px!important;padding:0 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:12px!important;align-items:start!important}
.social-middle{min-width:0!important}
.social-right{position:sticky!important;top:82px!important}
.ll-page-database .social-shell,.ll-page-locations .social-shell,.ll-page-profile .social-shell,.ll-page-security .social-shell,.ll-page-overview-lab .social-shell,.ll-page-specimens .social-shell,.ll-page-tests .social-shell,.ll-page-field .social-shell,.ll-page-equipment .social-shell,.ll-page-localities .social-shell,.ll-page-collections .social-shell,.ll-page-questions .social-shell,.ll-page-discussions .social-shell,.ll-page-guides .social-shell,.ll-page-identify .social-shell,.ll-public-profile-page .social-shell{grid-template-columns:minmax(0,1fr)!important}
.ll-page-database .social-right,.ll-page-locations .social-right,.ll-page-profile .social-right,.ll-page-security .social-right,.ll-page-overview-lab .social-right,.ll-page-specimens .social-right,.ll-page-tests .social-right,.ll-page-field .social-right,.ll-page-equipment .social-right,.ll-page-localities .social-right,.ll-page-collections .social-right,.ll-page-questions .social-right,.ll-page-discussions .social-right,.ll-page-guides .social-right,.ll-page-identify .social-right,.ll-public-profile-page .social-right{display:none!important}

/* Shared surface, spacing and page-title system */
.integrated-portal-head{margin:0 0 14px!important;padding:18px 20px!important;border:1px solid var(--ll4-line)!important;border-radius:var(--ll4-radius)!important;background:linear-gradient(135deg,rgba(26,14,42,.94),rgba(10,16,26,.96))!important;box-shadow:0 12px 36px rgba(0,0,0,.15)!important}
.integrated-portal-head h1{margin:0!important;font-size:1.6rem!important;line-height:1.15!important;font-weight:850!important;letter-spacing:-.03em!important}
.panel,.card,.social-section,.social-feed-card,.home-compose-card,.knowledge-card{border:1px solid var(--ll4-line)!important;background:linear-gradient(180deg,rgba(13,18,29,.98),rgba(8,12,20,.98))!important;border-radius:var(--ll4-radius)!important;box-shadow:0 14px 38px rgba(0,0,0,.16)!important}
.card>.card-body,.panel{padding:20px!important}
.card h2,.card h3,.panel h2,.panel h3{line-height:1.2}
.eyebrow{color:#72f1c8!important;font-size:.68rem!important;letter-spacing:.14em!important;font-weight:900!important}
.library-row{padding:14px 0!important;min-height:58px!important;border-bottom:1px solid rgba(144,120,220,.16)!important}
.library-row:last-child{border-bottom:0!important}

/* Forms: compact Bootstrap-based alignment, not giant empty fields */
.form-label,label.form-label{margin:0 0 6px!important;color:#c7cbd5!important;font-size:.78rem!important;font-weight:760!important}
.form-control,.form-select,input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select{min-height:40px!important;padding:.55rem .72rem!important;border:1px solid rgba(143,105,193,.48)!important;border-radius:9px!important;background:#0a0f18!important;color:#f5f7fb!important;font-size:.86rem!important;box-shadow:none!important}
textarea.form-control,textarea{min-height:86px!important;line-height:1.5!important}
.form-control:focus,.form-select:focus,input:focus,textarea:focus,select:focus{border-color:var(--ll4-green)!important;background:#0a0f18!important;box-shadow:0 0 0 3px rgba(81,239,178,.08)!important}
.form-text{color:#8f98a9!important;font-size:.7rem!important;margin-top:5px!important}
.input-group-text{border-color:rgba(143,105,193,.48)!important;background:#171022!important;color:#d7baf6!important;font-size:.82rem!important}
.ll-compact-form{max-width:1180px}.ll-compact-form .form-control,.ll-compact-form .form-select{width:100%}.ll-bio-field{min-height:78px!important}

/* Reusable fluorescent controls */
.fluorescent-button{--glow:#ba63ff;--spread:rgba(186,99,255,.34);--dark:#25102f;min-height:38px;padding:0 14px;border:1px solid var(--glow)!important;border-radius:10px!important;background:var(--dark)!important;color:var(--glow)!important;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:.78rem;font-weight:850;box-shadow:0 0 12px var(--spread)!important;text-shadow:0 0 7px var(--glow);text-decoration:none!important}
.fluorescent-button:hover{background:var(--glow)!important;color:#080b10!important;box-shadow:0 0 18px var(--glow),0 0 30px var(--spread)!important}
.fluorescent-button.outline{background:transparent!important}.fluorescent-button.small{min-height:31px;padding:0 10px;font-size:.7rem}
.fluor-purple{--glow:#ba63ff;--spread:rgba(186,99,255,.34);--dark:#25102f}.fluor-green{--glow:#51efb2;--spread:rgba(81,239,178,.30);--dark:#09271f}.fluor-cyan{--glow:#3ddfff;--spread:rgba(61,223,255,.28);--dark:#08252d}.fluor-orange{--glow:#ff9b34;--spread:rgba(255,155,52,.28);--dark:#321d08}.fluor-blue{--glow:#4d91ff;--spread:rgba(77,145,255,.28);--dark:#0a1d38}
.ll-icon-button{width:34px;height:34px;padding:0!important;display:inline-grid!important;place-items:center!important;border:1px solid rgba(186,99,255,.50)!important;border-radius:9px!important;background:rgba(31,16,45,.72)!important;color:#c981ff!important;box-shadow:none!important;text-decoration:none!important}
.ll-icon-button:hover{background:#35194a!important;color:#e0b6ff!important;box-shadow:0 0 13px rgba(186,99,255,.20)!important}.ll-icon-button.danger{border-color:rgba(255,83,110,.62)!important;background:#250b12!important;color:#ff657e!important}.ll-icon-button .ll-icon{font-size:1rem}
.ll-icon-text-button{min-height:36px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(186,99,255,.46);border-radius:9px;background:transparent;color:#caa0ef;font-size:.77rem;font-weight:760;text-decoration:none}.ll-icon-text-button:hover{color:#fff;background:#21142d}.ll-icon-text-button.danger{border-color:rgba(255,83,110,.48);color:#ff6e86}
.ll-danger-button{min-height:38px;padding:0 14px;display:inline-flex;align-items:center;gap:7px;border:1px solid #ff536e;border-radius:9px;background:#2b0b14;color:#ff6e85;font-weight:800}
.ll-send-button{width:38px;height:38px;padding:0!important;display:grid!important;place-items:center!important;border:1px solid var(--ll4-green)!important;border-radius:50%!important;background:#09271f!important;color:var(--ll4-green)!important;box-shadow:0 0 15px rgba(81,239,178,.28)!important}
.ll-send-button:hover{background:var(--ll4-green)!important;color:#07110e!important}.ll-send-button .ll-icon{font-size:1.05rem}.ll-send-private{margin-left:auto}
.ll-row-actions,.ll-owner-actions{display:flex;align-items:center;gap:7px}.ll-owner-actions form{margin:0}

/* Account & Profile settings */
.ll-settings-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:0 2px}
.ll-settings-tab{min-height:34px;padding:0 13px;border:1px solid rgba(186,99,255,.42);border-radius:999px;background:transparent;color:#c8a2e8;font-size:.74rem;font-weight:800}
.ll-settings-tab:hover,.ll-settings-tab.active{border-color:#ba63ff;background:#271132;color:#d991ff;box-shadow:0 0 12px rgba(186,99,255,.20)}.ll-settings-tab.danger{border-color:rgba(255,83,110,.55);color:#ff657e}.ll-settings-tab.danger.active{background:#2c0b14}
.ll-settings-stack{display:grid;gap:14px}
.ll-profile-settings-hero{overflow:hidden;border:1px solid var(--ll4-line);border-radius:16px;background:#0b1019}
.ll-profile-settings-cover{height:190px;background:linear-gradient(135deg,rgba(38,28,67,.78),rgba(7,18,29,.88)),var(--profile-cover,none) center/cover no-repeat}
.ll-profile-settings-summary{display:grid;grid-template-columns:110px 1fr auto;gap:16px;align-items:end;padding:0 20px 18px;margin-top:-50px}
.ll-settings-avatar-wrap{width:104px;height:104px}.ll-settings-avatar{width:104px;height:104px;border-radius:50%;object-fit:cover;border:3px solid #7a45b6;background:#111624;box-shadow:0 0 20px rgba(186,99,255,.24)}.ll-settings-avatar.fallback{display:grid;place-items:center;font-size:2rem;font-weight:900;color:#fff}
.ll-profile-settings-copy{padding-bottom:6px}.ll-profile-settings-copy h2{margin:0;font-size:1.45rem}.ll-profile-settings-copy p{margin:3px 0 0;color:var(--ll4-muted);font-size:.78rem}
.ll-media-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ll-upload-card{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:18px;border:1px solid var(--ll4-line);border-radius:16px;background:linear-gradient(180deg,#0d121d,#090d15)}
.ll-upload-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;border:1px solid rgba(186,99,255,.35);background:#171020;color:#c275ff;font-size:1.15rem}
.ll-upload-copy h3{margin:0;font-size:1rem}.ll-upload-copy p{margin:4px 0 0;color:var(--ll4-muted);font-size:.72rem}
.ll-file-drop{grid-column:1/-1;position:relative;min-height:78px;margin:0!important;padding:13px;display:flex!important;align-items:center;gap:12px;border:1px dashed rgba(143,105,193,.65);border-radius:12px;background:#080d16;cursor:pointer;transition:.18s ease}.ll-file-drop:hover{border-color:#3ddfff;background:#0a121c}.ll-file-drop input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer}.ll-file-drop-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#151c29;color:#73ddff}.ll-file-drop span:last-child{display:flex;flex-direction:column;gap:3px}.ll-file-drop strong{font-size:.8rem}.ll-file-drop small{color:var(--ll4-muted);font-size:.68rem}
.ll-upload-submit{grid-column:1/-1;justify-self:start}.ll-settings-card{padding:20px;border:1px solid var(--ll4-line);border-radius:16px;background:linear-gradient(180deg,#0d121d,#090d15)}.ll-settings-card-head{display:flex;justify-content:space-between;gap:14px;margin-bottom:16px}.ll-settings-card-head h2{margin:2px 0 4px;font-size:1.28rem}.ll-settings-card-head p{margin:0;color:var(--ll4-muted);font-size:.78rem}.ll-settings-actions{display:flex;gap:9px;justify-content:flex-start;margin-top:16px}.ll-private-label{display:inline-block;padding:1px 6px;border-radius:999px;background:#171420;color:#938ba1;font-size:.62rem;font-weight:700}.ll-count-pill{display:grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#2a1739;color:#d397ff;font-size:.72rem;font-weight:800}

/* Public profile: approved screenshot proportions */
.ll-public-profile-page .social-middle{max-width:none!important}.ll-public-profile-page .fb-profile-shell{overflow:hidden!important;border:1px solid var(--ll4-line)!important;border-radius:16px!important;background:linear-gradient(180deg,#0c111b,#090d15)!important;box-shadow:0 18px 48px rgba(0,0,0,.22)!important}
.ll-public-profile-page .fb-profile-cover{height:275px!important;min-height:275px!important;border-radius:0!important;background:linear-gradient(180deg,rgba(5,7,12,.05),rgba(5,7,12,.35)),var(--profile-cover,linear-gradient(135deg,#1b0d3b,#07182a)) center/cover no-repeat!important}
.ll-public-profile-page .fb-profile-identity{display:grid!important;grid-template-columns:190px minmax(0,1fr) auto!important;gap:18px!important;align-items:end!important;margin-top:-74px!important;padding:0 28px 14px!important;position:relative!important}
.ll-public-profile-page .fb-profile-avatar-wrap{width:178px!important;height:178px!important}.ll-public-profile-page .fb-profile-avatar{width:178px!important;height:178px!important;border:4px solid #8a4dca!important;box-shadow:0 0 27px rgba(186,99,255,.30),0 12px 30px rgba(0,0,0,.45)!important;background:#090c12!important}
.ll-public-profile-page .fb-profile-copy{padding-bottom:3px!important}.ll-public-profile-page .fb-neon-profile-name{margin:0!important;color:#f7f8fb!important;font-family:Inter,ui-sans-serif,system-ui!important;font-size:2rem!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-.035em!important;text-shadow:none!important;white-space:normal!important}.ll-public-profile-page .fb-profile-handle{margin-top:4px!important;color:#969faf!important;font-size:.78rem!important}.ll-public-profile-page .fb-profile-counts{display:none!important}.ll-public-profile-page .fb-profile-copy p{max-width:720px!important;margin:12px 0 0!important;color:#c9ced8!important;font-size:.82rem!important;line-height:1.55!important}.ll-public-profile-page .fb-profile-actions{display:flex!important;gap:9px!important;align-items:center!important;justify-content:flex-end!important;padding-bottom:7px!important}.ll-public-profile-page .fb-profile-actions form{margin:0!important}
.ll-profile-stats-bar{margin:8px 28px 0;display:grid;grid-template-columns:repeat(6,1fr);border:1px solid rgba(150,113,205,.20);border-radius:18px;background:rgba(14,15,27,.72);overflow:hidden}.ll-profile-stats-bar>div{position:relative;padding:14px 8px;text-align:center}.ll-profile-stats-bar>div:not(:last-child):after{content:"";position:absolute;right:0;top:20%;bottom:20%;width:1px;background:rgba(255,255,255,.08)}.ll-profile-stats-bar strong{display:block;color:#be78ff;font-size:1.18rem}.ll-profile-stats-bar span{display:block;margin-top:2px;color:#aeb5c4;font-size:.68rem}
.ll-public-profile-page .fb-profile-tabs{margin-top:16px!important;padding:0 28px!important;border-top:1px solid rgba(255,255,255,.07)!important;background:transparent!important;display:flex!important;gap:5px!important;overflow:auto!important}.ll-public-profile-page .fb-profile-tabs a{padding:14px 15px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#b5bdcb!important;font-size:.78rem!important;font-weight:780!important}.ll-public-profile-page .fb-profile-tabs a.active{color:#ca75ff!important;border-bottom-color:#c55fff!important;background:transparent!important;box-shadow:none!important}
.ll-public-profile-page .fb-profile-content{display:grid!important;grid-template-columns:minmax(0,1.65fr) 380px!important;gap:12px!important;margin-top:12px!important;align-items:start!important}.ll-public-profile-page .fb-profile-column{min-width:0!important}.ll-profile-dashboard{display:flex;flex-direction:column;gap:12px;position:sticky;top:82px}.ll-profile-side-card{padding:17px;border:1px solid var(--ll4-line);border-radius:15px;background:linear-gradient(180deg,#0d121d,#090d15)}.ll-side-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.ll-profile-side-card h2{margin:0;font-size:1rem}.ll-profile-side-card h2 small{color:#a68abf;font-weight:600}.ll-side-card-title>a{color:#c98cff;font-size:.72rem}.ll-profile-side-card p{margin:12px 0;color:#b9c1ce;font-size:.76rem;line-height:1.6}.ll-profile-facts{display:grid;gap:9px;margin-top:12px}.ll-profile-facts>div{display:grid;grid-template-columns:18px 80px 1fr;gap:7px;align-items:center;color:#9da6b6;font-size:.7rem}.ll-profile-facts strong{color:#ba91e4;font-weight:650}.ll-wavelength-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:13px}.ll-wave{--uv:#ba63ff;min-height:76px;padding:10px 5px;border:1px solid var(--uv);border-radius:10px;background:rgba(255,255,255,.015);color:var(--uv);text-align:center;box-shadow:0 0 13px color-mix(in srgb,var(--uv) 22%,transparent)}.ll-wave strong,.ll-wave span{display:block}.ll-wave strong{font-size:.7rem}.ll-wave span{font-size:.68rem;margin-top:13px}.ll-wave.uv365{--uv:#c268ff}.ll-wave.uv310{--uv:#48b7ff}.ll-wave.uv275{--uv:#ff9d29}.ll-wave.uv254{--uv:#51efb2}.ll-top-mineral-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.ll-top-mineral-grid a{min-width:0;padding:8px 5px;border:1px solid rgba(130,104,177,.25);border-radius:10px;background:#0a0f18;text-align:center}.ll-mineral-orb{display:block;width:100%;aspect-ratio:1.25;border-radius:7px;background:radial-gradient(circle at 50% 50%,rgba(186,99,255,.8),transparent 14%),radial-gradient(circle at 50% 50%,rgba(61,223,255,.25),transparent 30%),#0b1020}.ll-top-mineral-grid strong,.ll-top-mineral-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ll-top-mineral-grid strong{margin-top:6px;font-size:.68rem}.ll-top-mineral-grid small{margin-top:2px;color:#858e9e;font-size:.6rem}.ll-activity-list{display:grid;gap:9px;margin-top:13px}.ll-activity-list>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;color:#aeb6c5;font-size:.7rem}.ll-activity-list time{color:#727c8c;font-size:.63rem}
.ll-public-profile-page .fb-compose-card{min-height:72px!important;margin-bottom:12px!important;padding:14px 16px!important;border:1px solid var(--ll4-line)!important;border-radius:15px!important;background:#0c111b!important}.ll-public-profile-page .fb-section-title{margin:0 0 9px!important}.ll-public-profile-page .fb-section-title h2{font-size:1rem!important}.ll-public-profile-page .fb-post-card{padding:0 16px 12px!important;border:1px solid var(--ll4-line)!important;border-radius:15px!important;background:linear-gradient(180deg,#0d121d,#090d15)!important;box-shadow:none!important}.ll-public-profile-page .fb-post-card>header{padding:14px 0 9px!important}.ll-public-profile-page .post-rich-body{padding:8px 0 11px!important;font-size:.79rem!important;line-height:1.55!important}.ll-public-profile-page .mention-comment-form.profile-inline-comment{margin-top:10px!important;padding-top:11px!important;border-top:1px solid rgba(255,255,255,.06)!important}.ll-public-profile-page .comment-input-wrap textarea{min-height:42px!important;height:42px!important;resize:none!important;padding:10px 12px!important}.ll-public-profile-page .comment-emoji-strip.compact{display:flex!important;align-items:center!important;gap:5px!important;margin-top:8px!important}.ll-public-profile-page .comment-emoji-strip.compact button:not(.ll-send-button){border:0!important;background:transparent!important;padding:3px!important;font-size:1rem!important}.ll-post-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;margin-top:9px!important;padding:9px 0 0!important;border-top:1px solid rgba(255,255,255,.06)!important;background:transparent!important}.ll-comment-action{min-height:34px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ll4-green);border-radius:9px;color:var(--ll4-green)!important;background:#09271f;font-size:.7rem;font-weight:800;box-shadow:0 0 12px rgba(81,239,178,.16)}

/* Messages and notifications: each item is a deliberate card, never grey pills */
.social-overlay-panel{width:min(390px,calc(100vw - 24px))!important;border:1px solid rgba(139,99,188,.56)!important;border-radius:14px!important;background:#100917!important;box-shadow:0 22px 62px rgba(0,0,0,.58)!important}.social-message-overlay{right:68px!important}.overlay-title{min-height:55px;padding:0 14px!important;border-bottom:1px solid rgba(139,99,188,.28)!important}.overlay-title strong{font-size:.9rem}.overlay-title [data-overlay-close]{width:30px!important;height:30px!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#c9bfd3!important}.overlay-scroll{padding:9px!important;display:flex!important;flex-direction:column!important;gap:7px!important}.overlay-row,.overlay-row.btn,.overlay-row.btn-outline-light{width:100%!important;margin:0!important;padding:10px!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;border:1px solid rgba(132,99,171,.22)!important;border-radius:10px!important;background:#171022!important;color:#eee9f4!important;box-shadow:none!important;text-align:left!important;white-space:normal!important}.overlay-row:hover{border-color:rgba(186,99,255,.45)!important;background:#20142c!important}.overlay-row.unread{border-color:rgba(186,99,255,.38)!important;background:#21142e!important}.overlay-avatar{width:40px!important;height:40px!important;border-radius:50%!important;background:#573287!important}.overlay-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.overlay-row strong{font-size:.76rem!important;line-height:1.25!important}.overlay-row small{margin-top:3px!important;font-size:.64rem!important;line-height:1.3!important;color:#a697b1!important;overflow:hidden!important;text-overflow:ellipsis!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}.overlay-footer{padding:9px 10px!important;border-top:1px solid rgba(139,99,188,.24)!important}.overlay-footer button{border-radius:999px!important;color:#ca92ef!important;border-color:#754494!important;background:transparent!important;font-size:.68rem!important}
.floating-chat{border-color:rgba(139,99,188,.52)!important;background:#100917!important}.floating-chat-head{background:#171022!important}.chat-bubble{border:1px solid rgba(126,98,167,.22)!important;background:#171022!important}.chat-bubble.mine{border-color:rgba(81,239,178,.28)!important;background:#0c2a22!important}.message-thread{padding:14px!important;gap:10px!important}.message-bubble{border:1px solid rgba(126,98,167,.25)!important;border-radius:13px!important;background:#15101e!important;box-shadow:none!important}.message-bubble.mine{background:#0d2a23!important;border-color:rgba(81,239,178,.28)!important}.message-bubble p{margin:0 0 6px!important}.message-compose{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:end!important}.message-compose label{margin:0!important}.message-compose textarea{min-height:58px!important}
.notification-list{display:grid!important;gap:9px!important}.notification-list .notification-row{margin:0!important;border:1px solid rgba(129,98,174,.24)!important;border-radius:12px!important;background:#11101a!important;padding:12px 14px!important}.notification-list .notification-row.unread{border-color:rgba(186,99,255,.40)!important;background:#191125!important}.notification-list .notification-row b{font-size:.8rem}.notification-list .notification-row small{margin-top:4px;color:#90869d;font-size:.68rem}

/* Resource forms and library panels */
.ll-page-equipment .row.g-3>.col-lg-5,.ll-page-collections .row.g-3>.col-lg-5{max-width:520px}.ll-page-equipment .row.g-3>.col-lg-7,.ll-page-collections .row.g-3>.col-lg-7{flex:1;max-width:none}.ll-page-equipment .card,.ll-page-collections .card,.ll-page-localities .card{box-shadow:none!important}.ll-page-equipment .card-body,.ll-page-collections .card-body,.ll-page-localities .card-body{padding:18px!important}.ll-page-equipment .mb-3,.ll-page-collections .mb-3{margin-bottom:13px!important}.ll-page-equipment textarea,.ll-page-collections textarea{min-height:76px!important}
.table-responsive{border-radius:14px!important;overflow:hidden!important;border:1px solid var(--ll4-line)!important}.table{margin:0!important}.table>:not(caption)>*>*{padding:.75rem .85rem!important;border-color:rgba(255,255,255,.06)!important;font-size:.76rem!important}.table thead th{background:#101521!important;color:#c5cbd6!important;font-size:.7rem!important;text-transform:none!important}

/* Public mineral database: denser premium cards instead of giant empty rectangles */
.catalog-shell{width:100%!important;max-width:none!important;padding:0!important}.catalog-hero{padding:20px!important;margin-bottom:14px!important;border:1px solid var(--ll4-line)!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(28,14,45,.95),rgba(12,18,29,.96))!important}.catalog-hero h1{margin:0 0 7px!important;font-family:Inter,ui-sans-serif,system-ui!important;font-size:2rem!important;font-weight:900!important;line-height:1.1!important}.catalog-hero p{margin:0!important;max-width:700px!important;font-size:.78rem!important;line-height:1.5!important}.catalog-results{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.catalog-card{min-height:170px!important;padding:15px!important;border:1px solid var(--ll4-line)!important;border-radius:13px!important;background:linear-gradient(180deg,#131022,#0b1018)!important}.catalog-card h2{margin:6px 0!important;font-family:Inter,ui-sans-serif,system-ui!important;font-size:1rem!important;font-weight:850!important}.catalog-card p{margin:5px 0!important;font-size:.72rem!important;line-height:1.45!important}.catalog-card .kind{display:inline-flex!important;padding:4px 7px!important;border-radius:999px!important;background:#55efb8!important;color:#07110e!important;font-size:.58rem!important;font-weight:900!important}.catalog-card .catalog-link{display:inline-flex!important;margin-top:8px!important;padding:0!important;border:0!important;background:transparent!important;color:#c589ff!important;font-size:.7rem!important}.catalog-searchbar{padding:0 0 12px!important}.catalog-searchbar input{min-height:40px!important}

/* Knowledge pages */
.knowledge-grid{grid-template-columns:minmax(0,1fr) 290px!important}.knowledge-card{padding:17px!important}.knowledge-card h2{font-size:1.05rem!important}.knowledge-card p{font-size:.77rem!important}.knowledge-grid .social-empty,.social-empty{padding:16px!important;border:1px dashed rgba(139,99,188,.28)!important;border-radius:12px!important;color:#8f98a9!important;background:#0a0e16!important}

@media(max-width:1180px){.ll-top-navigation a{padding:0 8px}.ll-top-navigation a span{font-size:.76rem}.social-shell{grid-template-columns:minmax(0,1fr)!important}.social-right{display:none!important}.ll-public-profile-page .fb-profile-content{grid-template-columns:minmax(0,1fr) 330px!important}}
@media(max-width:920px){.social-topbar-inner{grid-template-columns:190px 1fr auto!important}.ll-top-navigation a:nth-child(n+4){display:none!important}.ll-public-profile-page .fb-profile-content{grid-template-columns:1fr!important}.ll-profile-dashboard{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.ll-public-profile-page .fb-profile-identity{grid-template-columns:150px 1fr!important}.ll-public-profile-page .fb-profile-actions{grid-column:1/-1!important;justify-content:flex-start!important;margin-left:168px!important}.ll-public-profile-page .fb-profile-avatar,.ll-public-profile-page .fb-profile-avatar-wrap{width:145px!important;height:145px!important}.ll-media-settings-grid{grid-template-columns:1fr}}
@media(max-width:680px){.social-topbar-inner{grid-template-columns:1fr auto!important;padding:0 12px!important}.ll-top-navigation{display:none!important}.social-logo img{height:24px!important}.social-top-actions .social-top-create{display:none!important}.social-shell{padding:0 8px!important}.integrated-portal-head{padding:14px 15px!important}.integrated-portal-head h1{font-size:1.3rem!important}.ll-public-profile-page .fb-profile-cover{height:205px!important;min-height:205px!important}.ll-public-profile-page .fb-profile-identity{grid-template-columns:1fr!important;margin-top:-55px!important;text-align:center!important;padding:0 14px 13px!important}.ll-public-profile-page .fb-profile-avatar-wrap{margin:auto!important}.ll-public-profile-page .fb-profile-copy{padding:0!important}.ll-public-profile-page .fb-profile-actions{grid-column:auto!important;margin:8px 0 0!important;justify-content:center!important}.ll-public-profile-page .fb-neon-profile-name{font-size:1.55rem!important}.ll-profile-stats-bar{margin:8px 12px 0!important;grid-template-columns:repeat(3,1fr)!important}.ll-profile-stats-bar>div:nth-child(3):after,.ll-profile-stats-bar>div:nth-child(6):after{display:none}.ll-public-profile-page .fb-profile-tabs{padding:0 8px!important}.ll-profile-dashboard{display:block!important}.ll-profile-side-card{margin-top:10px}.ll-wavelength-grid{grid-template-columns:repeat(2,1fr)}.ll-profile-settings-summary{grid-template-columns:1fr;text-align:center;margin-top:-45px}.ll-settings-avatar-wrap{margin:auto}.ll-profile-settings-summary .ll-icon-text-button{justify-self:center}.ll-media-settings-grid{grid-template-columns:1fr}.catalog-results{grid-template-columns:1fr!important}.knowledge-grid{grid-template-columns:1fr!important}.message-compose{grid-template-columns:1fr auto!important}}

/* Profile mineral tab: readable cards, no clipped typography */
.ll-public-profile-page .profile-mineral-heading{margin-top:4px!important}.ll-public-profile-page .profile-mineral-search-wrap{max-width:760px;margin-bottom:12px!important}.ll-public-profile-page .ll-mineral-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.ll-public-profile-page .ll-mineral-card{min-height:245px!important;padding:0!important;border-radius:13px!important;background:linear-gradient(180deg,#0d121d,#090d15)!important}.ll-public-profile-page .ll-mineral-card-layout{grid-template-columns:78px minmax(0,1fr)!important;gap:12px!important;padding:14px!important}.ll-public-profile-page .ll-mineral-thumb{width:78px!important;border-radius:11px!important}.ll-public-profile-page .ll-mineral-card-top{margin:1px 0 7px!important}.ll-public-profile-page .ll-mineral-card h3{margin:0 0 8px!important;min-height:0!important;gap:6px!important}.ll-public-profile-page .ll-mineral-name{color:#f5f7fb!important;-webkit-text-fill-color:#f5f7fb!important;-webkit-text-stroke:0!important;font-family:Inter,ui-sans-serif,system-ui!important;font-size:.95rem!important;font-weight:850!important;line-height:1.15!important;text-shadow:none!important;overflow-wrap:anywhere!important}.ll-public-profile-page .ll-mineral-formula{min-height:0!important;margin-bottom:9px!important;font-size:.73rem!important}.ll-public-profile-page .ll-mineral-card dl{margin:0 0 9px!important}.ll-public-profile-page .ll-mineral-card dl>div{grid-template-columns:75px minmax(0,1fr)!important;gap:7px!important;padding:5px 0!important}.ll-public-profile-page .ll-mineral-card dt{font-size:.55rem!important}.ll-public-profile-page .ll-mineral-card dd{font-size:.63rem!important;overflow-wrap:anywhere!important}.ll-public-profile-page .ll-mineral-open{font-size:.59rem!important}.ll-public-profile-page .ll-mineral-class,.ll-public-profile-page .ll-mineral-fluorescent{font-size:.5rem!important}
@media(max-width:1000px){.ll-public-profile-page .ll-mineral-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:620px){.ll-public-profile-page .ll-mineral-grid{grid-template-columns:1fr!important}}
