
:root{
  --bg:#020817;--bg2:#06142d;--panel:#07162f;--panel2:#0a1b39;
  --line:#213d68;--text:#f8fbff;--muted:#b9c5d8;
  --blue:#2d9cff;--purple:#8b5cf6;--pink:#e842c5;--red:#ff2f72;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 80% 0,rgba(71,43,167,.18),transparent 31%),linear-gradient(180deg,#020817,#041126);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
a{text-decoration:none}
.ak-header{height:78px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:30px;padding:0 28px;border-bottom:1px solid #172d51;background:rgba(2,8,23,.98);position:relative;z-index:20}
.ak-brand{display:flex;align-items:center;gap:12px;color:white;min-width:270px}
.ak-shield{width:42px;height:52px;display:grid;place-items:center;background:white;color:#ef1762;font-weight:950;font-size:22px;clip-path:polygon(50% 0,95% 14%,84% 72%,50% 100%,16% 72%,5% 14%);filter:drop-shadow(0 6px 12px rgba(0,0,0,.35))}
.ak-brand-text strong{display:block;font-size:21px;line-height:1}.ak-brand-text em{font-style:normal;color:#ff2f78}.ak-brand-text small{display:block;margin-top:6px;color:#aeb9cd;font-size:10px}
.ak-nav{display:flex;justify-content:center;align-items:stretch;gap:26px;height:100%}
.ak-nav a{display:flex;align-items:center;color:white;font-size:13px;font-weight:750;border-bottom:3px solid transparent;padding-top:3px;white-space:nowrap}
.ak-nav a:hover,.ak-nav a.active{color:#ff397a;border-bottom-color:#ff397a}
.ak-login{border:0;border-radius:12px;padding:13px 23px;color:white;font-weight:850;background:linear-gradient(135deg,#ed236e,#7849ef);cursor:pointer}
.ak-shell{width:min(1460px,calc(100% - 64px));margin:auto;padding:26px 0 0}
.ak-hero{display:grid;grid-template-columns:minmax(470px,.78fr) minmax(650px,1.22fr);align-items:center;min-height:430px}
.ak-hero-copy{padding:24px 0 18px;position:relative;z-index:2}
.ak-eyebrow{display:inline-flex;padding:8px 14px;border:1px solid rgba(150,86,230,.45);border-radius:999px;background:rgba(92,40,165,.18);font-size:12px;text-transform:uppercase;font-weight:850}
.ak-hero h1{font-size:clamp(55px,5vw,78px);line-height:.98;letter-spacing:-3.7px;margin:26px 0 20px}
.ak-hero h1 span{background:linear-gradient(90deg,#31a2ff,#8a5cf5 52%,#ed45c8);-webkit-background-clip:text;color:transparent}
.ak-hero-copy>p{max-width:570px;color:#c5cfe0;font-size:17px;line-height:1.65}
.ak-search{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;max-width:680px;margin-top:24px;padding:6px 7px 6px 18px;border:1px solid #394f79;border-radius:16px;background:#07142b}
.ak-search input{height:50px;border:0;outline:0;background:transparent;color:white;padding:0 14px;font-size:15px}.ak-search button{height:45px;padding:0 34px;border:0;border-radius:12px;color:white;font-weight:850;background:linear-gradient(135deg,#ed2f9e,#704ff4)}.search-results{position:absolute;top:62px;left:0;right:0;z-index:30}
.ak-quick{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}.ak-quick b{font-size:11px;color:#b3bfd0}.ak-quick a{padding:8px 13px;border:1px solid #20385f;border-radius:999px;background:#07152d;color:white;font-size:12px}
.ak-hero-image{height:430px;overflow:hidden;position:relative}.ak-hero-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#020817 0%,rgba(2,8,23,.6) 7%,transparent 27%);z-index:1;pointer-events:none}.ak-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;mix-blend-mode:screen}
.ak-dashboard{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(370px,1fr);gap:20px;align-items:stretch;margin-top:12px}
.ak-dashboard-left{display:grid;grid-template-rows:auto 1fr;gap:14px}
.ak-feature-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ak-feature{min-height:210px;padding:20px;border:1px solid #23416d;border-radius:16px;background:linear-gradient(150deg,#0a1b39,#051228);color:white;display:flex;flex-direction:column}.ak-feature i{font-style:normal;font-size:28px;color:#8d54ff}.ak-feature h3{margin:15px 0 8px;font-size:20px}.ak-feature p{margin:0;color:#bdc8da;line-height:1.55;font-size:13px}.ak-feature b{margin-top:auto;font-size:20px}.ak-feature:last-child{border-color:#6c4b9f}
.ak-tools-panel{padding:18px;border:1px solid #23416d;border-radius:16px;background:linear-gradient(150deg,#091a36,#051228)}.ak-tools-panel h2{margin:0 0 12px;font-size:20px}.ak-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ak-tools-grid a{padding:10px 13px;border:1px solid #29466f;border-radius:9px;background:#06142c;color:white;font-size:13px}
.ak-chat{min-height:100%;display:flex;flex-direction:column;padding:20px;border:1px solid #67438f;border-radius:18px;background:linear-gradient(160deg,#0a1935,#061127);box-shadow:0 25px 70px rgba(0,0,0,.28)}
.ak-chat-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.ak-chat-head img{width:55px;height:51px;object-fit:cover;object-position:left}.ak-chat-head strong{font-size:20px}.ak-chat-head strong small{padding:3px 6px;border-radius:5px;background:#a8215a;font-size:9px}.ak-chat-head span{display:block;color:#19d47f;font-size:12px;margin-top:5px}.ak-chat-head>button{border:0;background:transparent;color:white;font-size:27px;cursor:pointer}
.ak-chat-body{flex:1;min-height:210px;margin:16px 0;padding:20px;border:1px solid #263e68;border-radius:15px;background:#10213f}.ak-chat-body .chat-message{background:transparent!important;color:white!important;padding:0!important;font-size:17px;line-height:1.55}
.ak-chat-input{display:grid!important;grid-template-columns:1fr 52px!important;gap:10px!important;margin:0!important}.ak-chat-input input{height:52px;border:1px solid #29446e!important;border-radius:13px;background:#0b1a35!important;color:white!important;padding:0 15px}.ak-chat-input button{width:52px!important;height:52px!important;border:0!important;border-radius:50%!important;background:linear-gradient(135deg,#ed2c9d,#684cf1)!important;color:white!important;font-size:20px!important}
.ak-footer{text-align:center;padding:26px 20px 34px;color:#9eabc0}.ak-footer p{margin:0 0 7px}.ak-footer strong{color:#ff397a}.ak-footer small{font-size:12px}
@media(max-width:1180px){.ak-nav{gap:13px}.ak-nav a{font-size:11px}.ak-hero{grid-template-columns:1fr}.ak-hero-image{height:380px}.ak-dashboard{grid-template-columns:1fr}.ak-chat{min-height:390px}.ak-feature-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.ak-header{height:auto;grid-template-columns:1fr auto;padding:12px 16px}.ak-nav{grid-column:1/-1;overflow:auto;justify-content:flex-start;height:45px}.ak-brand{min-width:0}.ak-shell{width:calc(100% - 28px)}.ak-hero h1{font-size:48px}.ak-hero-image{height:300px}.ak-feature-row,.ak-tools-grid{grid-template-columns:1fr 1fr}.ak-dashboard{margin-top:0}}

/* Shared theme and header on internal pages */
body:not(.ak-home){background:radial-gradient(circle at 85% 0,rgba(101,59,184,.17),transparent 29%),linear-gradient(180deg,#020817,#041126)!important;color:white!important}
body:not(.ak-home) .topbar{display:none!important}
body:not(.ak-home) .ak-header{position:sticky;top:0}
body:not(.ak-home) .page-hero{background:linear-gradient(115deg,#031027,#0a1b3b 60%,#251044)!important;border-bottom:1px solid #263e68!important}
body:not(.ak-home) .page-hero h1,body:not(.ak-home) .page-hero p{color:white!important}
body:not(.ak-home) .doc-card,body:not(.ak-home) .filters,body:not(.ak-home) .article-card,body:not(.ak-home) .toc-card,body:not(.ak-home) .score-panel,body:not(.ak-home) .question,body:not(.ak-home) .act-intro,body:not(.ak-home) .result-card,body:not(.ak-home) .input-card{background:linear-gradient(145deg,#0a1a38,#06132b)!important;border-color:#29436e!important;color:white!important}
body:not(.ak-home) p,body:not(.ak-home) li{color:#b8c4d8}
body:not(.ak-home) .score-tabs{background:rgba(3,12,30,.96)!important;border:1px solid #223d67!important}
body:not(.ak-home) .tab-btn{background:#091932!important;border-color:#29436e!important;color:white!important}
body:not(.ak-home) .tab-btn.active{background:linear-gradient(135deg,#355edb,#7b45cc,#ce3bb3)!important}
body:not(.ak-home) .options label{background:#07162f!important;border-color:#29436e!important;color:white!important}
body:not(.ak-home) input,body:not(.ak-home) select,body:not(.ak-home) textarea{background:#07162f!important;color:white!important;border-color:#29436e!important}


/* ===== v29 refinements ===== */
.ak-header{
  height:82px;
  grid-template-columns:minmax(250px,auto) 1fr auto;
  padding:0 30px;
  border-bottom:1px solid rgba(64,89,139,.45);
  background:
    linear-gradient(180deg,rgba(3,10,26,.98),rgba(2,8,23,.96));
  box-shadow:0 10px 35px rgba(0,0,0,.24);
  backdrop-filter:blur(16px);
}
.ak-brand{gap:14px}
.ak-shield{
  width:44px;
  height:54px;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));
}
.ak-brand-text strong{font-size:22px}
.ak-nav{
  width:min(100%,980px);
  margin:0 auto;
  gap:10px;
  padding:9px;
  height:auto;
  align-self:center;
  border:1px solid rgba(45,70,114,.48);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(9,24,50,.82),rgba(5,15,34,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.ak-nav a{
  min-height:44px;
  padding:0 15px;
  border:0;
  border-radius:12px;
  color:#dce5f4;
  transition:.2s ease;
}
.ak-nav a:hover{
  color:white;
  background:rgba(63,87,139,.22);
}
.ak-nav a.active{
  color:white;
  border:0;
  background:linear-gradient(135deg,rgba(237,44,151,.23),rgba(107,75,239,.24));
  box-shadow:inset 0 -2px 0 #ef3c9d,0 8px 24px rgba(111,64,221,.18);
}
.ak-login{
  min-width:112px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 10px 28px rgba(174,46,206,.2);
}

.ak-shell{
  width:min(1520px,calc(100% - 56px));
  padding-top:0;
}
.ak-hero{
  position:relative;
  grid-template-columns:minmax(500px,.86fr) minmax(620px,1.14fr);
  min-height:500px;
  overflow:hidden;
  isolation:isolate;
}
.ak-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 72% 42%,rgba(44,109,255,.16),transparent 31%),
    radial-gradient(circle at 83% 63%,rgba(237,45,151,.15),transparent 25%);
  pointer-events:none;
}
.ak-hero-copy{
  padding:48px 0 22px;
}
.ak-hero h1{
  margin-top:0;
}
.ak-hero-visual{
  position:absolute;
  z-index:-1;
  top:0;
  right:-3%;
  bottom:0;
  width:66%;
  background-image:
    linear-gradient(90deg,#020817 0%,rgba(2,8,23,.82) 9%,rgba(2,8,23,.15) 32%,rgba(2,8,23,.05) 70%,#020817 100%),
    linear-gradient(180deg,#020817 0%,transparent 10%,transparent 88%,#020817 100%),
    url("hero-mastocit-v28.webp?v=29");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:saturate(1.08) contrast(1.04);
  opacity:.98;
}
.ak-hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 42%,transparent 35%,rgba(2,8,23,.08) 58%,rgba(2,8,23,.62) 100%);
}

.ak-search button,
.ak-chat-input button{
  display:grid;
  place-items:center;
  font-size:21px!important;
  line-height:1;
}
.ak-search button{
  width:58px;
  min-width:58px;
  padding:0;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(210,53,202,.24);
}
.ak-search{
  grid-template-columns:auto 1fr 58px;
}

.ak-chat-head strong small{
  display:none;
}
.ak-chat-input button{
  font-family:Arial,sans-serif;
}
.ak-chat-input button::first-letter{
  transform:rotate(-18deg);
}
.ak-chat-body{
  background:
    linear-gradient(180deg,rgba(16,33,63,.94),rgba(10,24,49,.96));
}
.ak-footer{
  border-top:1px solid rgba(38,61,103,.35);
  margin-top:24px;
}

/* Keep the hero art seamless on smaller screens. */
@media(max-width:1180px){
  .ak-header{grid-template-columns:1fr auto}
  .ak-nav{grid-column:1/-1;width:100%;overflow:auto;justify-content:flex-start}
  .ak-hero{grid-template-columns:1fr;min-height:820px}
  .ak-hero-visual{
    top:360px;
    width:100%;
    right:0;
    opacity:.88;
    background-position:center;
  }
}
@media(max-width:720px){
  .ak-header{padding:12px 14px}
  .ak-hero{min-height:700px}
  .ak-hero-copy{padding-top:30px}
  .ak-hero-visual{top:390px;height:310px;bottom:auto}
}


/* ===== v30: seamless hero, refined navigation, improved search ===== */
.ak-home{
  overflow-x:hidden;
  background:
    radial-gradient(circle at 82% 17%,rgba(80,47,206,.15),transparent 30%),
    radial-gradient(circle at 15% 70%,rgba(25,91,190,.10),transparent 35%),
    linear-gradient(180deg,#020817 0%,#031027 54%,#041126 100%);
}

.ak-header{
  width:min(1540px,calc(100% - 44px));
  margin:20px auto 0;
  height:78px;
  padding:0 18px 0 22px;
  border:1px solid rgba(54,80,130,.62);
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(9,23,49,.92),rgba(5,15,34,.92));
  box-shadow:
    0 22px 65px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.ak-brand{
  min-width:270px;
}
.ak-shield{
  width:42px;
  height:50px;
}
.ak-brand-text strong{
  font-size:21px;
}

.ak-nav{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:0;
  gap:6px;
}
.ak-nav a{
  height:52px;
  padding:0 17px;
  border-radius:14px;
  color:#e2e8f3;
  font-size:13px;
}
.ak-nav a.active{
  background:linear-gradient(180deg,rgba(15,32,65,.92),rgba(8,22,48,.92));
  box-shadow:
    inset 0 -3px 0 #f2368e,
    0 10px 24px rgba(240,45,141,.08);
}
.ak-nav a:hover{
  background:rgba(30,51,90,.52);
}
.ak-login{
  min-width:118px;
  height:48px;
  border-radius:16px;
  font-size:14px;
}

.ak-shell{
  width:min(1540px,calc(100% - 44px));
}

.ak-hero{
  min-height:510px;
  margin-top:-10px;
  overflow:visible;
}
.ak-hero::before{
  content:"";
  position:absolute;
  z-index:-3;
  top:-40px;
  right:-11vw;
  width:78vw;
  height:640px;
  background:
    radial-gradient(ellipse at 54% 49%,transparent 0 46%,rgba(2,8,23,.02) 58%,rgba(2,8,23,.58) 82%,#020817 100%),
    url("hero-mastocit-v28.webp?v=30");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  filter:saturate(1.13) contrast(1.06);
  opacity:.98;
  pointer-events:none;
}
.ak-hero::after{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-20px -8vw -25px 35%;
  background:
    linear-gradient(90deg,#020817 0%,rgba(2,8,23,.76) 8%,rgba(2,8,23,.16) 27%,transparent 53%),
    linear-gradient(180deg,#020817 0%,transparent 13%,transparent 83%,#020817 100%),
    radial-gradient(circle at 73% 45%,transparent 0 39%,rgba(2,8,23,.05) 61%,rgba(2,8,23,.55) 100%);
  pointer-events:none;
}
.ak-hero-visual{
  display:none;
}

.ak-hero-copy{
  padding-top:74px;
}
.ak-hero h1{
  max-width:720px;
  font-size:clamp(57px,4.9vw,80px);
}
.ak-hero-copy>p{
  max-width:570px;
}

.ak-search{
  max-width:735px;
  height:66px;
  grid-template-columns:54px 1fr 58px;
  padding:5px 7px;
  border:1px solid rgba(66,93,145,.85);
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(8,23,48,.96),rgba(5,16,35,.96));
  box-shadow:
    0 18px 46px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.025);
}
.ak-search>span{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  font-size:0;
  color:white;
}
.ak-search>span::before{
  content:"";
  width:18px;
  height:18px;
  border:2px solid #f4f7ff;
  border-radius:50%;
  position:relative;
  display:block;
  box-sizing:border-box;
  box-shadow:0 0 0 4px rgba(255,255,255,.02);
}
.ak-search>span::after{
  content:"";
  position:absolute;
  width:9px;
  height:2px;
  background:#f4f7ff;
  transform:translate(8px,8px) rotate(45deg);
  border-radius:3px;
}
.ak-search input{
  height:54px;
  font-size:16px;
  padding-left:4px;
}
.ak-search button{
  width:52px;
  min-width:52px;
  height:52px;
  border-radius:50%;
  font-size:0!important;
  position:relative;
  background:linear-gradient(135deg,#ef2e9d,#684cf2);
  box-shadow:
    0 12px 30px rgba(211,54,204,.28),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.ak-search button::before{
  content:"";
  width:0;
  height:0;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  border-left:20px solid white;
  transform:translateX(2px);
  display:block;
}
.ak-search button::after{
  content:"";
  position:absolute;
  width:16px;
  height:2px;
  background:white;
  transform:translate(-5px,0) rotate(-18deg);
  opacity:.92;
  border-radius:2px;
}

.ak-dashboard{
  position:relative;
  z-index:2;
  margin-top:-8px;
}
.ak-chat{
  background:
    radial-gradient(circle at 90% 5%,rgba(103,55,205,.16),transparent 30%),
    linear-gradient(160deg,#0a1935,#061127);
}

@media(max-width:1180px){
  .ak-header{
    width:calc(100% - 24px);
    margin-top:12px;
  }
  .ak-hero::before{
    right:-20vw;
    width:120vw;
    opacity:.72;
  }
  .ak-hero::after{
    inset:300px -15vw -15px -15vw;
    background:linear-gradient(180deg,#020817 0%,rgba(2,8,23,.1) 20%,rgba(2,8,23,.78) 82%,#020817 100%);
  }
}
@media(max-width:720px){
  .ak-header{
    border-radius:20px;
  }
  .ak-search{
    grid-template-columns:46px 1fr 52px;
    height:60px;
  }
  .ak-search>span{
    width:46px;
    height:48px;
  }
  .ak-search button{
    width:48px;
    min-width:48px;
    height:48px;
  }
}


/* ===== v31: true seamless/infinity hero and friendly icons ===== */
.ak-hero::before{
  top:-70px;
  right:-10vw;
  width:min(1180px,76vw);
  height:650px;
  background-image:url("hero-infinity-v31.webp?v=31");
  background-size:contain;
  background-position:center right;
  background-repeat:no-repeat;
  filter:saturate(1.1) contrast(1.04);
  opacity:1;
  -webkit-mask-image:
    radial-gradient(ellipse 76% 72% at 64% 48%,#000 42%,rgba(0,0,0,.92) 60%,transparent 100%);
  mask-image:
    radial-gradient(ellipse 76% 72% at 64% 48%,#000 42%,rgba(0,0,0,.92) 60%,transparent 100%);
}
.ak-hero::after{
  inset:-30px -12vw -40px 31%;
  background:
    linear-gradient(90deg,#020817 0%,rgba(2,8,23,.92) 5%,rgba(2,8,23,.5) 16%,rgba(2,8,23,.08) 36%,transparent 67%),
    linear-gradient(180deg,#020817 0%,rgba(2,8,23,.12) 12%,transparent 32%,transparent 72%,rgba(2,8,23,.35) 88%,#020817 100%);
}
.ak-home::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-10;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 30%,rgba(91,56,210,.13),transparent 31%),
    radial-gradient(circle at 64% 58%,rgba(233,44,150,.08),transparent 30%);
}
.ak-feature i{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:14px;
  font-size:25px;
  line-height:1;
  background:linear-gradient(145deg,rgba(24,67,126,.72),rgba(18,31,70,.86));
  border:1px solid rgba(95,118,174,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 26px rgba(0,0,0,.18);
}
.ak-feature .icon-doc{background:linear-gradient(145deg,#083a76,#08234d)}
.ak-feature .icon-pill{background:linear-gradient(145deg,#43207e,#221449)}
.ak-feature .icon-leaf{background:linear-gradient(145deg,#07543e,#062e2b)}
.ak-feature .icon-calc{background:linear-gradient(145deg,#552397,#27144f)}
.ak-tools-grid a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  transition:.18s ease;
}
.ak-tools-grid a:hover{
  transform:translateY(-1px);
  border-color:#7557c6;
  background:#0a1d3d;
}
.tool-icon{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  font-size:16px;
  filter:saturate(1.25);
}
@media(max-width:1180px){
  .ak-hero::before{
    right:-28vw;
    width:135vw;
    height:570px;
    opacity:.72;
  }
}
@media(max-width:720px){
  .ak-hero::before{
    top:350px;
    right:-45vw;
    width:160vw;
    height:390px;
  }
}


/* ===== v32 approved homepage ===== */
.ak-home{
  min-height:100vh;
  overflow-x:hidden;
  background:
    linear-gradient(rgba(2,10,30,.79),rgba(2,10,30,.86)),
    url("antibodies-infinity-v32.webp?v=32") center/cover fixed no-repeat;
}
.ak-home::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-5;
  pointer-events:none;
  background:
    radial-gradient(circle at 68% 28%,rgba(36,96,238,.15),transparent 32%),
    radial-gradient(circle at 90% 82%,rgba(185,36,205,.12),transparent 28%),
    linear-gradient(180deg,rgba(2,8,23,.1),rgba(2,8,23,.42));
}

.ak-header{
  width:calc(100% - 40px);
  max-width:none;
  margin:6px 20px 0;
  height:84px;
  grid-template-columns:290px 1fr 150px;
  padding:0 22px;
  border:1px solid rgba(39,101,171,.75);
  border-radius:25px;
  background:rgba(3,18,49,.84);
  box-shadow:0 18px 48px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(18px);
}
.ak-brand{min-width:0}
.ak-shield{
  width:45px;
  height:52px;
  color:#4254d9;
  font-size:22px;
}
.ak-brand-text strong{font-size:22px}
.ak-brand-text em{color:#e950c3}
.ak-brand-text small{color:#9ba9c2;font-size:10px}
.ak-nav{
  width:100%;
  max-width:1050px;
  justify-self:center;
  justify-content:space-between;
  gap:4px;
}
.ak-nav a{
  height:58px;
  padding:0 13px;
  font-size:13px;
  border-radius:13px;
}
.ak-nav a.active{
  background:rgba(10,28,63,.82);
  box-shadow:inset 0 -3px 0 #f2368e;
}
.ak-login{
  justify-self:end;
  height:48px;
  min-width:128px;
  border-radius:17px;
  background:linear-gradient(135deg,#ed2f99,#714bf1);
}

.ak-shell{
  width:calc(100% - 80px);
  max-width:none;
  margin:0 40px;
  padding:0;
}
.ak-hero{
  min-height:420px;
  display:block;
  position:relative;
  margin-top:0;
}
.ak-hero::before,
.ak-hero::after,
.ak-hero-visual{
  display:none!important;
}
.ak-hero-copy{
  width:53%;
  min-width:620px;
  padding:54px 0 8px 30px;
}
.ak-hero h1{
  max-width:760px;
  margin:0 0 18px;
  font-size:clamp(54px,4.4vw,74px);
  line-height:1.04;
  letter-spacing:-3px;
}
.ak-hero h1 span{
  background:linear-gradient(90deg,#38a7ff,#8c5cf6 52%,#ef4ec8);
  -webkit-background-clip:text;
  color:transparent;
}
.ak-hero-copy>p{
  max-width:560px;
  margin:0 0 22px;
  color:#d2daea;
  font-size:16px;
  line-height:1.65;
}
.ak-search{
  width:100%;
  max-width:720px;
  height:60px;
  grid-template-columns:52px 1fr 52px;
  border:1px solid #1767b1;
  border-radius:16px;
  background:rgba(4,24,55,.75);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.ak-search input{
  height:50px;
  color:#dce5f6;
  font-size:16px;
}
.ak-search button{
  width:48px;
  min-width:48px;
  height:48px;
}
.ak-quick{
  max-width:735px;
  margin-top:14px;
}
.ak-quick b{font-size:12px}
.ak-quick a{
  border-color:#174b80;
  background:rgba(5,25,57,.72);
}

.ak-dashboard{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(440px,1fr);
  gap:16px;
  margin-top:0;
  align-items:stretch;
}
.ak-dashboard-left{
  gap:14px;
}
.ak-feature-row{
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.ak-feature,
.ak-tools-panel,
.ak-chat{
  background:
    linear-gradient(rgba(5,29,65,.80),rgba(3,20,48,.86)),
    url("antibodies-infinity-v32.webp?v=32") center/cover;
  background-blend-mode:multiply;
  border:1px solid rgba(29,113,183,.86);
  backdrop-filter:blur(12px);
}
.ak-feature{
  min-height:238px;
  border-radius:13px;
  padding:20px;
}
.ak-feature i{
  width:48px;
  height:48px;
  border-radius:13px;
  font-size:27px;
  font-family:system-ui,sans-serif;
}
.ak-feature h3{
  margin-top:16px;
  font-size:20px;
}
.ak-feature p{
  color:#d0d9e8;
  font-size:13px;
}
.ak-feature:last-child{
  border-color:#8463cc;
}
.ak-tools-panel{
  border-radius:13px;
  padding:18px 22px;
}
.ak-tools-panel h2{
  font-size:21px;
  margin-bottom:12px;
}
.ak-tools-grid{
  grid-template-columns:repeat(4,1fr);
  gap:7px 14px;
}
.ak-tools-grid a{
  min-height:38px;
  border-color:#1d578b;
  background:rgba(3,21,50,.72);
}
.tool-icon{
  width:26px;
  height:26px;
  border-radius:7px;
  color:#f14b9e;
  font-weight:900;
  font-size:18px;
}

.ak-chat{
  min-height:100%;
  border-color:#824cb1;
  border-radius:22px;
  padding:20px;
  box-shadow:0 28px 75px rgba(0,0,0,.28);
}
.ak-chat-head img{
  width:59px;
  height:56px;
}
.ak-chat-head strong{
  font-size:21px;
}
.ak-chat-body{
  min-height:260px;
  margin:18px 0 12px;
  border-color:#2a5787;
  background:
    linear-gradient(rgba(7,34,73,.73),rgba(5,25,57,.83)),
    url("antibodies-infinity-v32.webp?v=32") center/cover;
  background-blend-mode:multiply;
}
.ak-chat-input input{
  background:rgba(4,25,56,.82)!important;
}
.ak-chat-input button{
  box-shadow:0 10px 26px rgba(213,48,190,.26);
}
.ak-footer{
  margin-top:14px;
  padding:15px 20px 22px;
  border:0;
  background:transparent;
}
.ak-footer p{font-size:14px}
.ak-footer small{color:#9ca9be}

@media(max-width:1180px){
  .ak-header{grid-template-columns:1fr auto;height:auto;padding-top:10px}
  .ak-nav{grid-column:1/-1;overflow:auto;justify-content:flex-start}
  .ak-shell{width:calc(100% - 28px);margin:0 14px}
  .ak-hero-copy{width:100%;min-width:0;padding-left:14px}
  .ak-dashboard{grid-template-columns:1fr}
  .ak-chat{min-height:430px}
}
@media(max-width:720px){
  .ak-header{margin:8px 8px 0;width:calc(100% - 16px)}
  .ak-feature-row,.ak-tools-grid{grid-template-columns:1fr 1fr}
  .ak-hero h1{font-size:47px}
}


/* ===== AllergyKit PRO v33: transparent glass cards, clean search and SVG icons ===== */
:root{--glass:rgba(5,20,47,.48);--glass-strong:rgba(5,19,45,.62);--glass-line:rgba(96,171,236,.32);--glass-highlight:rgba(255,255,255,.055)}
.ak-home{
  background:
    linear-gradient(180deg,rgba(2,8,23,.36),rgba(2,10,27,.76) 65%,#031027 100%),
    radial-gradient(circle at 82% 17%,rgba(107,65,222,.18),transparent 31%),
    url("antibodies-infinity-v32.webp?v=33") center top/cover fixed no-repeat,
    #020817!important;
}
.ak-home::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,rgba(2,8,23,.92) 0%,rgba(2,8,23,.48) 48%,rgba(2,8,23,.22) 100%),radial-gradient(circle at 50% 65%,transparent 0 40%,rgba(2,8,23,.52) 100%)}
.ak-header{background:linear-gradient(180deg,rgba(7,21,48,.72),rgba(3,13,32,.70))!important;backdrop-filter:blur(22px) saturate(130%);border-color:rgba(110,167,225,.25)!important}
.ak-nav a{gap:7px}.nav-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ak-search{height:66px;max-width:750px;padding:7px 8px 7px 18px!important;grid-template-columns:36px 1fr 52px!important;border:1px solid rgba(60,159,243,.58)!important;border-radius:20px!important;background:linear-gradient(180deg,rgba(7,27,61,.68),rgba(3,18,44,.72))!important;backdrop-filter:blur(20px) saturate(135%);box-shadow:0 20px 55px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.055)!important;transition:border-color .2s,box-shadow .2s,transform .2s}
.ak-search:focus-within{border-color:rgba(105,190,255,.92)!important;box-shadow:0 22px 65px rgba(0,0,0,.34),0 0 0 4px rgba(50,149,240,.10),inset 0 1px 0 rgba(255,255,255,.07)!important;transform:translateY(-1px)}
.search-icon{width:23px;height:23px;fill:none;stroke:#82c8ff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ak-search input{font-size:15px!important;letter-spacing:.01em}.ak-search input::placeholder{color:#aebdd1}.ak-search button,.ak-chat-input button{border-radius:15px!important;background:linear-gradient(135deg,#ee3c9a,#7456f4)!important;box-shadow:0 10px 28px rgba(175,52,215,.28)!important;transition:transform .18s,filter .18s}.ak-search button:hover,.ak-chat-input button:hover{transform:translateY(-2px) scale(1.03);filter:brightness(1.08)}
.send-icon{width:21px;height:21px;fill:none;stroke:white;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ak-feature,.ak-tools-panel,.ak-chat,.ak-chat-body{background:linear-gradient(150deg,rgba(8,29,65,.52),rgba(3,17,43,.40))!important;background-image:none!important;backdrop-filter:blur(22px) saturate(128%)!important;border:1px solid var(--glass-line)!important;box-shadow:inset 0 1px 0 var(--glass-highlight),0 22px 60px rgba(0,0,0,.18)!important}
.ak-feature{position:relative;overflow:hidden;transition:transform .22s,border-color .22s,background .22s}.ak-feature::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.035),transparent 42%);pointer-events:none}.ak-feature:hover{transform:translateY(-5px);border-color:rgba(104,191,255,.62)!important;background:linear-gradient(150deg,rgba(10,38,82,.63),rgba(4,20,48,.48))!important}.ak-feature:last-child{border-color:rgba(152,103,231,.52)!important}
.ak-feature i{display:grid!important;place-items:center;width:48px!important;height:48px!important;border:1px solid rgba(124,176,241,.24);background:rgba(12,38,79,.52);color:#9f7cff!important}.feature-svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ak-feature:nth-child(2) i{color:#62c5ff!important}.ak-feature:nth-child(3) i{color:#55dfb1!important}.ak-feature:nth-child(4) i{color:#f06ac2!important}
.ak-tools-grid a{display:flex;align-items:center;gap:10px;min-height:42px;background:rgba(4,20,48,.40)!important;border-color:rgba(83,148,211,.26)!important;backdrop-filter:blur(10px);transition:background .18s,border-color .18s,transform .18s}.ak-tools-grid a:hover{background:rgba(14,43,86,.58)!important;border-color:rgba(91,181,255,.55)!important;transform:translateY(-2px)}.tool-icon{display:grid;place-items:center;background:rgba(237,66,168,.08)!important}.tool-svg{width:18px;height:18px;fill:none;stroke:#f16eb7;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ak-chat{background:linear-gradient(155deg,rgba(10,28,62,.52),rgba(4,17,41,.40))!important;border-color:rgba(155,97,216,.45)!important}.ak-chat-body{background:rgba(6,24,54,.34)!important;border-color:rgba(86,147,207,.27)!important}.ak-chat-input input{background:rgba(3,18,43,.46)!important;backdrop-filter:blur(12px);border-color:rgba(84,147,210,.30)!important}.ak-chat-head img{filter:drop-shadow(0 8px 17px rgba(0,0,0,.35))}
.search-results{overflow:hidden;border-radius:14px;background:rgba(4,18,43,.96);backdrop-filter:blur(20px)}
@media(max-width:720px){.ak-search{grid-template-columns:32px 1fr 48px!important;height:61px}.ak-nav a{gap:6px}.nav-icon{width:16px;height:16px}}


/* v33 search dropdown fix */
.searchbar-active{position:relative;z-index:500}
.search-results{
 top:74px!important;
 z-index:9999!important;
 background:rgba(8,16,34,.98);
 backdrop-filter:blur(20px);
 border:1px solid rgba(110,170,255,.25);
 border-radius:18px;
 overflow:hidden;
 box-shadow:0 20px 50px rgba(0,0,0,.55);
}
.search-results.active{display:block}
.search-results a{
 display:flex;
 flex-direction:column;
 padding:14px 18px;
 text-decoration:none;
 border-bottom:1px solid rgba(255,255,255,.06);
 background:transparent;
}
.search-results a:hover{
 background:rgba(91,147,255,.12);
}
.search-results span{
 color:#f8fbff!important;
 font-size:15px;
 font-weight:700;
}
.search-results small{
 color:#9ec6ff!important;
 font-size:13px;
 margin-top:4px;
}
.ak-dashboard,.ak-cards,.cards-grid{position:relative;z-index:1;}

/* ===== v33.2 search: readable overlay, proper magnifier and search button ===== */
.ak-hero,.ak-hero-copy,.ak-shell{overflow:visible!important}
.ak-hero-copy{z-index:80!important}
.ak-search.searchbar-active{
  position:relative!important;
  z-index:1000!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 132px!important;
  align-items:center!important;
  min-height:70px!important;
  max-width:760px!important;
  padding:6px 7px 6px 8px!important;
  border:1px solid rgba(72,177,255,.82)!important;
  border-radius:22px!important;
  background:rgba(3,17,42,.94)!important;
  box-shadow:0 18px 52px rgba(0,0,0,.42),0 0 0 1px rgba(124,92,246,.12),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
.ak-search.searchbar-active:focus-within{
  border-color:#67c7ff!important;
  box-shadow:0 22px 62px rgba(0,0,0,.5),0 0 0 4px rgba(57,174,255,.13),0 0 34px rgba(119,78,246,.18)!important;
}
.search-leading{
  width:48px!important;height:48px!important;display:grid!important;place-items:center!important;
  border-radius:15px!important;background:linear-gradient(145deg,rgba(39,119,226,.23),rgba(50,80,160,.10))!important;
  border:1px solid rgba(94,180,255,.20)!important;
}
.search-icon{width:31px!important;height:31px!important;fill:none!important;stroke:#7dd3fc!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 0 8px rgba(55,180,255,.36))}
.ak-search.searchbar-active input{
  width:100%!important;height:56px!important;min-width:0!important;padding:0 17px!important;
  border:0!important;outline:0!important;background:transparent!important;
  color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;
  caret-color:#71d4ff!important;font-size:17px!important;font-weight:650!important;line-height:1.2!important;
}
.ak-search.searchbar-active input::placeholder{color:#91a9c8!important;-webkit-text-fill-color:#91a9c8!important;font-weight:500!important;opacity:1!important}
.ak-search.searchbar-active button{
  width:124px!important;height:54px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  border:1px solid rgba(255,255,255,.14)!important;border-radius:16px!important;
  color:#fff!important;font-size:15px!important;font-weight:850!important;cursor:pointer!important;
  background:linear-gradient(135deg,#2e9cff 0%,#7a5bf5 48%,#ed43bd 100%)!important;
  box-shadow:0 10px 28px rgba(93,86,238,.34),inset 0 1px 0 rgba(255,255,255,.2)!important;
}
.ak-search.searchbar-active button:hover{transform:translateY(-1px)!important;filter:brightness(1.1)!important}
.button-search-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.search-results{
  display:none!important;position:absolute!important;left:0!important;right:0!important;top:calc(100% + 10px)!important;
  z-index:99999!important;max-height:390px!important;overflow:auto!important;padding:9px!important;
  border:1px solid rgba(99,178,255,.42)!important;border-radius:18px!important;
  background:#07162f!important;background-image:linear-gradient(145deg,rgba(13,39,80,.98),rgba(5,18,43,.99))!important;
  box-shadow:0 28px 75px rgba(0,0,0,.68),0 0 0 1px rgba(139,92,246,.12)!important;
  backdrop-filter:blur(24px)!important;
}
.search-results.active{display:block!important}
.search-results a{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 18px!important;align-items:center!important;
  padding:13px 15px!important;border:1px solid transparent!important;border-bottom:1px solid rgba(132,174,222,.13)!important;
  border-radius:12px!important;background:transparent!important;text-decoration:none!important;
}
.search-results a:last-child{border-bottom-color:transparent!important}
.search-results a:hover,.search-results a:focus{
  background:linear-gradient(90deg,rgba(40,130,230,.20),rgba(123,76,222,.14))!important;
  border-color:rgba(91,181,255,.28)!important;outline:none!important;
}
.search-results span{display:block!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;font-size:15px!important;font-weight:850!important;line-height:1.3!important}
.search-results small{display:block!important;color:#7dd3fc!important;-webkit-text-fill-color:#7dd3fc!important;font-size:12.5px!important;font-weight:650!important;line-height:1.35!important;text-align:right!important}
.ak-dashboard{position:relative!important;z-index:1!important}
@media(max-width:720px){
  .ak-search.searchbar-active{grid-template-columns:48px minmax(0,1fr) 54px!important;min-height:64px!important;padding-left:7px!important}
  .search-leading{width:42px!important;height:42px!important}.search-icon{width:27px!important;height:27px!important}
  .ak-search.searchbar-active input{height:50px!important;padding:0 10px!important;font-size:15px!important}
  .ak-search.searchbar-active button{width:48px!important;height:48px!important;padding:0!important;border-radius:14px!important}
  .ak-search.searchbar-active button span{display:none!important}.button-search-icon{width:21px;height:21px}
  .search-results a{grid-template-columns:1fr!important}.search-results small{text-align:left!important}
}


/* ===== v33.3 final search overlay and paper-plane button ===== */
.ak-hero{
  position:relative!important;
  z-index:3000!important;
  overflow:visible!important;
}
.ak-hero-copy{
  position:relative!important;
  z-index:3100!important;
  overflow:visible!important;
}
.ak-dashboard{
  position:relative!important;
  z-index:1!important;
}
.ak-search.searchbar-active{
  grid-template-columns:58px minmax(0,1fr) 62px!important;
  max-width:760px!important;
}
.ak-search.searchbar-active button#homeSearchBtn{
  width:54px!important;
  min-width:54px!important;
  height:54px!important;
  padding:0!important;
  border-radius:17px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(145deg,#4aa8ff 0%,#725cf4 48%,#df45c8 100%)!important;
  border:1px solid rgba(255,255,255,.2)!important;
  box-shadow:0 12px 28px rgba(102,81,239,.38),inset 0 1px 0 rgba(255,255,255,.26)!important;
}
.ak-search.searchbar-active button#homeSearchBtn:hover{
  transform:translateY(-2px) scale(1.035)!important;
  filter:brightness(1.12)!important;
  box-shadow:0 16px 34px rgba(124,75,239,.48),0 0 22px rgba(74,168,255,.18)!important;
}
.ak-search.searchbar-active button#homeSearchBtn:active{
  transform:translateY(0) scale(.98)!important;
}
.ak-search.searchbar-active button#homeSearchBtn .button-search-icon{
  width:27px!important;
  height:27px!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.28));
}
.search-results{
  z-index:2147483000!important;
  isolation:isolate!important;
  background:#071a38!important;
  background-image:linear-gradient(160deg,#0c2c5a 0%,#081d40 50%,#07162f 100%)!important;
  border:1px solid rgba(104,190,255,.68)!important;
  box-shadow:0 34px 90px rgba(0,0,0,.82),0 0 0 1px rgba(126,87,246,.2),0 0 28px rgba(61,160,255,.16)!important;
}
.search-results a{
  background:rgba(8,27,59,.9)!important;
  margin:3px 0!important;
  border:1px solid rgba(120,175,228,.13)!important;
}
.search-results a:hover,.search-results a:focus{
  background:linear-gradient(90deg,rgba(35,128,226,.34),rgba(126,73,221,.24))!important;
  border-color:rgba(104,196,255,.48)!important;
}
.search-results span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 10px rgba(0,0,0,.28);
}
.search-results small{
  color:#7ee1ff!important;
  -webkit-text-fill-color:#7ee1ff!important;
}
@media(max-width:720px){
  .ak-search.searchbar-active{
    grid-template-columns:48px minmax(0,1fr) 54px!important;
  }
  .ak-search.searchbar-active button#homeSearchBtn{
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
  }
  .ak-search.searchbar-active button#homeSearchBtn .button-search-icon{
    width:25px!important;
    height:25px!important;
  }
}

/* v34 — pictograme simplificate și card Alergologie moleculară */
.ak-search .search-leading{
  width:52px!important;
  height:52px!important;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(20,79,145,.50),rgba(4,24,58,.78))!important;
  box-shadow:inset 0 0 0 1px rgba(77,170,255,.28),0 8px 24px rgba(0,0,0,.18)!important;
}
.ak-search .search-icon{
  width:28px!important;
  height:28px!important;
  fill:none!important;
  stroke:#76caff!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#homeSearchBtn{
  width:58px!important;
  min-width:58px!important;
  height:52px!important;
  padding:0!important;
  border-radius:17px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
#homeSearchBtn .button-search-icon{
  width:27px!important;
  height:27px!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.icon-dna{background:linear-gradient(145deg,rgba(6,182,212,.24),rgba(99,102,241,.25))!important;color:#67e8f9!important}
.icon-dna .feature-svg{stroke:#67e8f9!important}
.ak-chat-head{grid-template-columns:auto 1fr!important}
.ak-chat-head>button{display:none!important}


/* ===== v35 definitive single-icon search component ===== */
.ak-search.searchbar-active > .search-leading::before,
.ak-search.searchbar-active > .search-leading::after,
.ak-search.searchbar-active > span::before,
.ak-search.searchbar-active > span::after,
.ak-search.searchbar-active button::before,
.ak-search.searchbar-active button::after,
#homeSearchBtn::before,
#homeSearchBtn::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}
.ak-search.searchbar-active .search-leading{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
}
.ak-search.searchbar-active .search-leading > svg{
  display:block!important;
  flex:none!important;
}
.ak-search.searchbar-active #homeSearchBtn{
  font-size:0!important;
  line-height:0!important;
}
.ak-search.searchbar-active #homeSearchBtn > svg{
  display:block!important;
  flex:none!important;
  margin:0!important;
}


/* ===== v41 · Noțiuni fundamentale ===== */
.fundamentals-page{background:radial-gradient(circle at 88% 8%,rgba(26,166,184,.16),transparent 27%),radial-gradient(circle at 12% 42%,rgba(109,74,222,.13),transparent 30%),linear-gradient(180deg,#020817,#06152d 58%,#041127)!important}
.fundamentals-shell{width:min(1380px,calc(100% - 48px));margin:0 auto;padding:34px 0 64px}
.fundamentals-hero{min-height:520px;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);align-items:center;gap:44px;padding:42px 48px;border:1px solid rgba(62,105,154,.55);border-radius:30px;background:linear-gradient(135deg,rgba(7,27,58,.94),rgba(8,52,69,.72));box-shadow:0 30px 90px rgba(0,0,0,.28);overflow:hidden;position:relative}
.fundamentals-hero:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-130px;top:-170px;background:radial-gradient(circle,rgba(53,211,198,.22),transparent 68%)}
.fundamentals-kicker{display:inline-flex;padding:8px 13px;border-radius:999px;border:1px solid rgba(57,208,194,.45);color:#7ceade;background:rgba(22,114,112,.15);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.fundamentals-hero h1{font-size:clamp(52px,5vw,78px);line-height:1;letter-spacing:-3px;margin:22px 0 18px;color:#fff}
.fundamentals-hero h1 span{background:linear-gradient(90deg,#39d5c7,#68a7ff,#ca62e8);-webkit-background-clip:text;color:transparent}
.fundamentals-hero-copy>p{max-width:700px;color:#c7d5e7;font-size:18px;line-height:1.65}
.fundamentals-toc{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
.fundamentals-toc a{padding:9px 13px;border:1px solid #31577d;border-radius:999px;color:#edf8ff;background:rgba(8,30,59,.64);font-size:13px}
.fundamentals-toc a:hover{border-color:#52d5cb;background:rgba(20,109,108,.26)}
.fundamentals-hero-art{margin:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}
.fundamentals-hero-art img{width:100%;max-height:450px;object-fit:cover;object-position:center 40%;border-radius:26px;border:1px solid rgba(130,237,227,.42);box-shadow:0 26px 60px rgba(0,0,0,.34)}
.fundamentals-hero-art figcaption{text-align:center;color:#93acbf;font-size:12px;margin-top:10px}
.fundamentals-intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 32px}
.fundamentals-intro-grid article{display:grid;grid-template-columns:auto 1fr;gap:4px 13px;padding:20px;border:1px solid #27456c;border-radius:17px;background:rgba(7,25,53,.76);backdrop-filter:blur(12px)}
.fundamentals-intro-grid span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#176f7a,#7955d6);font-weight:900}
.fundamentals-intro-grid strong{color:#fff;font-size:15px}.fundamentals-intro-grid p{margin:0;color:#9fb0c5;font-size:12px;line-height:1.45}
.fundamentals-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.fundamentals-side{position:sticky;top:98px}.fundamentals-side-card{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid #2a486f;border-radius:16px;background:rgba(6,22,48,.88)}
.fundamentals-side-card strong{margin-bottom:7px;color:#fff}.fundamentals-side-card a{padding:9px 10px;border-radius:9px;color:#aebfd2;font-size:13px}.fundamentals-side-card a:hover{background:#102a4d;color:#69e0d4}
.fundamentals-content{display:grid;gap:18px}
.fundamentals-section{scroll-margin-top:110px;display:grid;grid-template-columns:68px 1fr;gap:21px;padding:30px;border:1px solid #294a73;border-radius:21px;background:linear-gradient(145deg,rgba(9,30,62,.9),rgba(5,20,45,.88));box-shadow:0 20px 50px rgba(0,0,0,.18)}
.fundamentals-section-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;font-size:20px;font-weight:950;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.fundamentals-section-icon.blue{background:linear-gradient(135deg,#1167af,#2848c7)}.fundamentals-section-icon.violet{background:linear-gradient(135deg,#6940ba,#a245ca)}.fundamentals-section-icon.pink{background:linear-gradient(135deg,#be2a75,#e851a9)}.fundamentals-section-icon.green{background:linear-gradient(135deg,#087868,#18ae79)}.fundamentals-section-icon.gold{background:linear-gradient(135deg,#ad7014,#e6ac2b)}
.fundamentals-section h2{font-size:32px;margin:3px 0 15px;color:#fff}.fundamentals-section h3{font-size:18px;margin:23px 0 12px;color:#dff7f3}.fundamentals-section p{color:#c4cede;line-height:1.72;font-size:15px}.section-label{margin:0!important;color:#65ddd0!important;font-size:11px!important;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.fundamentals-callout{margin:17px 0;padding:17px 19px;border-left:4px solid #49d8cb;border-radius:0 13px 13px 0;background:rgba(19,99,101,.18)}.fundamentals-callout p{margin:5px 0 0}
.manifestations-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0}.manifestations-grid span{padding:11px 12px;border:1px solid #2d517a;border-radius:10px;background:#071a35;color:#dfeafa;font-size:13px}
.allergen-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 20px}.allergen-grid article{padding:17px;border:1px solid #2b5376;border-radius:15px;background:rgba(5,28,53,.72)}.allergen-grid span{font-size:25px}.allergen-grid strong{display:block;color:#fff;margin:8px 0 4px}.allergen-grid p{margin:0;font-size:13px}
.atopy-path{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;padding:14px;border:1px solid #5a4f7d;border-radius:13px;background:rgba(63,35,92,.2)}.atopy-path span{padding:8px 10px;border-radius:9px;background:#101d3b;color:#fff;font-size:12px}.atopy-path b{color:#d28af0}
.fundamentals-library-entry{margin-bottom:30px}.fundamentals-doc-card{display:grid!important;grid-template-columns:230px 1fr!important;align-items:stretch;overflow:hidden}.fundamentals-doc-image{min-height:230px;background:#0b3141}.fundamentals-doc-image img{width:100%;height:100%;object-fit:cover}.fundamentals-doc-card .doc-main{padding:23px}
.ak-nav .fundamentals-nav{color:#6fe1d5}
@media(max-width:1150px){.ak-nav .fundamentals-nav{display:none}.fundamentals-hero{grid-template-columns:1fr}.fundamentals-hero-art img{max-height:390px}.fundamentals-layout{grid-template-columns:1fr}.fundamentals-side{display:none}}
@media(max-width:720px){.fundamentals-shell{width:calc(100% - 24px);padding-top:18px}.fundamentals-hero{padding:27px 20px;border-radius:21px}.fundamentals-hero h1{font-size:48px}.fundamentals-intro-grid{grid-template-columns:1fr}.fundamentals-section{grid-template-columns:1fr;padding:23px}.manifestations-grid,.allergen-grid{grid-template-columns:1fr}.atopy-path{flex-direction:column}.atopy-path b{transform:rotate(90deg)}.fundamentals-doc-card{grid-template-columns:1fr!important}.fundamentals-doc-image{height:250px}}


/* ===== v42 · simplificare Noțiuni fundamentale ===== */
.fundamentals-hero.simplified{
  grid-template-columns:1fr!important;
  min-height:360px!important;
  padding:48px 54px!important;
}
.fundamentals-hero.simplified .fundamentals-hero-copy{
  max-width:900px;
}
.fundamentals-image-banner{
  margin:22px 0 34px;
  display:grid;
  grid-template-columns:minmax(260px,.62fr) minmax(420px,1.38fr);
  gap:26px;
  align-items:center;
  padding:26px;
  border:1px solid #2d5578;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(8,34,62,.92),rgba(8,65,74,.62));
  box-shadow:0 22px 65px rgba(0,0,0,.23);
}
.fundamentals-image-banner img{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:20px;
  border:1px solid rgba(116,221,211,.34);
  background:#9ddadf;
  display:block;
}
.fundamentals-image-copy span{
  display:inline-block;
  color:#6be0d3;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  font-size:11px;
  margin-bottom:10px;
}
.fundamentals-image-copy h2{
  margin:0 0 12px;
  color:#fff;
  font-size:30px;
  line-height:1.15;
}
.fundamentals-image-copy p{
  margin:0;
  color:#b8c7d8;
  line-height:1.65;
}
.fundamentals-section{
  grid-template-columns:1fr!important;
  padding:30px 34px!important;
}
.fundamentals-section h2{
  margin-top:0!important;
}
.fundamentals-intro-grid,
.fundamentals-section-icon,
.section-label,
.fundamentals-callout,
.manifestations-grid{
  display:none!important;
}
@media(max-width:900px){
  .fundamentals-image-banner{grid-template-columns:1fr}
  .fundamentals-image-copy{text-align:center}
}
@media(max-width:720px){
  .fundamentals-hero.simplified{padding:28px 22px!important}
  .fundamentals-image-banner{padding:14px}
  .fundamentals-image-copy h2{font-size:24px}
}


/* ===== v43 · Noțiuni infinity, Bibliotecă dropdown, Brandi floating ===== */

/* Fundamentals: one large infinity background image */
.fundamentals-page{
  position:relative;
  isolation:isolate;
  background:#031127!important;
}
.fundamentals-page::before{
  content:"";
  position:fixed;
  z-index:-2;
  inset:78px 0 0;
  background:
    linear-gradient(90deg,rgba(3,17,39,.97) 0%,rgba(3,17,39,.91) 34%,rgba(3,17,39,.66) 60%,rgba(3,17,39,.86) 100%),
    linear-gradient(180deg,rgba(3,17,39,.56),rgba(3,17,39,.88)),
    url("/brandi-notiuni-fundamentale.png") right 11% center / min(56vw,920px) auto no-repeat;
  background-attachment:fixed;
  filter:saturate(.94);
  pointer-events:none;
}
.fundamentals-page::after{
  content:"";
  position:fixed;
  z-index:-1;
  inset:78px 0 0;
  background:
    radial-gradient(circle at 80% 28%,rgba(66,213,198,.09),transparent 32%),
    radial-gradient(circle at 18% 74%,rgba(102,79,218,.09),transparent 32%);
  pointer-events:none;
}
.fundamentals-hero.simplified{
  min-height:270px!important;
  padding:52px 50px 35px!important;
  background:linear-gradient(135deg,rgba(5,25,54,.89),rgba(5,43,60,.56))!important;
  backdrop-filter:blur(8px);
}
.fundamentals-hero.simplified h1{margin-top:0}
.fundamentals-image-banner,
.fundamentals-kicker,
.fundamentals-toc{display:none!important}
.fundamentals-section{
  background:linear-gradient(145deg,rgba(7,28,59,.86),rgba(4,19,43,.82))!important;
  backdrop-filter:blur(10px);
}
.fundamentals-section strong{color:#f9fcff;font-weight:800}
.fundamentals-side-card>strong{
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#72e4d8;
  font-size:12px;
}
.fundamentals-side-card{
  background:rgba(5,24,50,.88)!important;
  backdrop-filter:blur(12px);
}

/* Premium Library dropdown */
.ak-nav-dropdown{position:relative;display:flex;align-items:stretch}
.ak-nav-library{display:flex!important}
.nav-chevron{width:15px;height:15px;margin-left:3px;fill:none;stroke:currentColor;stroke-width:2}
.ak-nav-menu{
  position:absolute;
  z-index:200;
  top:calc(100% + 10px);
  left:50%;
  width:390px;
  padding:10px;
  border:1px solid #31527e;
  border-radius:16px;
  background:rgba(4,18,43,.98);
  box-shadow:0 24px 65px rgba(0,0,0,.48);
  backdrop-filter:blur(18px);
  transform:translateX(-50%) translateY(-7px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.18s ease;
}
.ak-nav-dropdown:hover .ak-nav-menu,
.ak-nav-dropdown:focus-within .ak-nav-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.ak-nav-menu>a{
  display:grid!important;
  grid-template-columns:42px 1fr;
  gap:10px;
  height:auto!important;
  min-height:67px;
  padding:11px!important;
  border-radius:11px!important;
  border:0!important;
  color:#fff!important;
  align-items:center;
}
.ak-nav-menu>a:hover{background:#0d2a50!important}
.ak-nav-menu>a>span{
  width:40px;height:40px;display:grid;place-items:center;
  border-radius:11px;background:linear-gradient(135deg,#174e7e,#6945b0);
  font-size:20px;
}
.ak-nav-menu strong{display:block;font-size:14px}
.ak-nav-menu small{display:block;margin-top:4px;color:#9fb1c8;font-size:11px;line-height:1.35}

/* Floating Brandi, hidden from homepage because markup is not injected there */
.brandi-float{
  position:fixed;
  z-index:9999;
  right:24px;
  bottom:22px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.brandi-float-button{
  display:flex;align-items:center;gap:8px;
  height:58px;padding:6px 16px 6px 6px;
  border:1px solid #7650bb;border-radius:999px;
  color:#fff;background:linear-gradient(135deg,#0a2348,#191544);
  box-shadow:0 18px 45px rgba(0,0,0,.38),0 0 30px rgba(155,73,224,.17);
  cursor:pointer;
}
.brandi-float-button img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.brandi-float-button span{font-weight:850}
.brandi-float-panel{
  position:absolute;right:0;bottom:72px;
  width:min(400px,calc(100vw - 28px));
  height:520px;
  padding:16px;
  border:1px solid #70489d;border-radius:20px;
  background:linear-gradient(160deg,rgba(7,26,56,.98),rgba(5,18,43,.98));
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.brandi-float-panel[hidden]{display:none}
.brandi-float-panel header{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center}
.brandi-float-panel header img{width:48px;height:48px;border-radius:13px;object-fit:cover}
.brandi-float-panel header strong{display:block;color:#fff;font-size:17px}
.brandi-float-panel header span{display:block;color:#22d789;font-size:11px;margin-top:3px}
.brandi-panel-close{border:0;background:transparent;color:#fff;font-size:25px;cursor:pointer}
.brandi-float-messages{
  height:365px;overflow:auto;margin:14px 0;padding:14px;
  border:1px solid #27466f;border-radius:14px;background:#0b1d3a;
}
.brandi-message{max-width:88%;margin-bottom:10px;padding:10px 12px;border-radius:13px;color:#fff;font-size:13px;line-height:1.5}
.brandi-message.bot{background:#13294b}
.brandi-message.user{margin-left:auto;background:linear-gradient(135deg,#854bd3,#c339a3)}
.brandi-float-form{display:grid;grid-template-columns:1fr 48px;gap:8px}
.brandi-float-form input{
  height:48px;padding:0 14px;border:1px solid #2b4a73;border-radius:12px;
  outline:0;color:#fff;background:#081a36;
}
.brandi-float-form input:focus{border-color:#825bd4;box-shadow:0 0 0 3px rgba(130,91,212,.12)}
.brandi-float-form button{
  width:48px;height:48px;border:0;border-radius:50%;
  color:#fff;background:linear-gradient(135deg,#e5359d,#674cf0);cursor:pointer;
}
.brandi-float-form button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9}
@media(max-width:1150px){
  .ak-nav-menu{left:0;transform:translateY(-7px)}
  .ak-nav-dropdown:hover .ak-nav-menu,.ak-nav-dropdown:focus-within .ak-nav-menu{transform:translateY(0)}
}
@media(max-width:720px){
  .fundamentals-page::before{
    background:
      linear-gradient(180deg,rgba(3,17,39,.9),rgba(3,17,39,.94)),
      url("/brandi-notiuni-fundamentale.png") center top 170px / 100% auto no-repeat;
  }
  .brandi-float{right:12px;bottom:12px}
  .brandi-float-button span{display:none}
  .brandi-float-button{width:58px;padding:5px}
}


/* ===== v44 · Header compact left, dropdown overlay, no Biblioteca page ===== */
.ak-header{
  position:relative!important;
  z-index:10000!important;
  overflow:visible!important;
  grid-template-columns:auto 1fr auto!important;
}
.ak-nav{
  position:relative!important;
  z-index:10001!important;
  justify-content:flex-start!important;
  justify-self:start!important;
  width:auto!important;
  max-width:none!important;
  margin-left:28px!important;
  gap:10px!important;
  overflow:visible!important;
}
.ak-nav>a,
.ak-nav-library{
  height:54px!important;
  min-height:54px!important;
  padding:0 17px!important;
  border:0;
  border-radius:13px!important;
  color:#eef4ff!important;
  background:transparent;
  font-family:inherit;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  white-space:nowrap;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  cursor:pointer;
}
.ak-nav>a span,
.ak-nav-library>span{
  display:inline!important;
}
.ak-nav>a:hover,
.ak-nav-library:hover{
  background:rgba(19,45,83,.7)!important;
}
.ak-nav>a.active,
.ak-nav-library.active{
  color:#fff!important;
  background:linear-gradient(180deg,rgba(18,43,82,.95),rgba(9,26,57,.95))!important;
  box-shadow:inset 0 -3px 0 #f2358f!important;
}
.ak-nav-dropdown{
  position:relative!important;
  z-index:10002!important;
  display:flex!important;
  overflow:visible!important;
}
.ak-nav-menu{
  position:absolute!important;
  z-index:100000!important;
  top:calc(100% + 8px)!important;
  left:0!important;
  width:440px!important;
  padding:12px!important;
  border:1px solid #3a6090!important;
  border-radius:17px!important;
  background:
    linear-gradient(145deg,rgba(4,20,48,.985),rgba(7,28,58,.985))!important;
  box-shadow:0 30px 90px rgba(0,0,0,.7),0 0 0 1px rgba(95,148,211,.08)!important;
  backdrop-filter:blur(20px)!important;
  transform:translateY(-7px)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
}
.ak-nav-dropdown:hover .ak-nav-menu,
.ak-nav-dropdown:focus-within .ak-nav-menu,
.ak-nav-dropdown.is-open .ak-nav-menu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
}
.ak-nav-menu>a{
  display:grid!important;
  grid-template-columns:48px 1fr!important;
  gap:12px!important;
  align-items:center!important;
  min-height:76px!important;
  height:auto!important;
  padding:12px!important;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  color:#fff!important;
  text-decoration:none!important;
}
.ak-nav-menu>a:hover,
.ak-nav-menu>a:focus{
  background:#102f59!important;
  outline:none!important;
}
.ak-nav-menu .menu-icon{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#245c99,#7049bd)!important;
  font-size:22px!important;
}
.ak-nav-menu strong{
  display:block!important;
  color:#fff!important;
  font-size:14px!important;
  letter-spacing:.025em!important;
}
.ak-nav-menu small{
  display:block!important;
  margin-top:5px!important;
  color:#b5c4d7!important;
  font-size:11px!important;
  line-height:1.4!important;
}

/* The infinity tree stays visible behind the page and under the open dropdown. */
.fundamentals-page::before{
  inset:78px 0 0!important;
  background:
    linear-gradient(90deg,rgba(3,17,39,.98) 0%,rgba(3,17,39,.92) 28%,rgba(3,17,39,.66) 57%,rgba(3,17,39,.82) 100%),
    linear-gradient(180deg,rgba(3,17,39,.45),rgba(3,17,39,.88)),
    url("/brandi-notiuni-fundamentale.png") right center / min(63vw,1040px) auto no-repeat!important;
  background-attachment:fixed!important;
}
.fundamentals-hero.simplified{
  background:rgba(5,28,57,.76)!important;
  backdrop-filter:blur(7px)!important;
}

/* Remove any remaining library-page promo links/cards from search/display. */
a[href="/biblioteca.html"],
a[href="biblioteca.html"]{
  cursor:default;
}

@media(max-width:1200px){
  .ak-nav{margin-left:12px!important;gap:4px!important}
  .ak-nav>a,.ak-nav-library{font-size:13px!important;padding:0 11px!important}
}
@media(max-width:850px){
  .ak-header{grid-template-columns:1fr auto!important}
  .ak-nav{
    grid-column:1/-1!important;
    margin:0!important;
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
  }
  .ak-nav-menu{position:fixed!important;top:145px!important;left:14px!important;right:14px!important;width:auto!important}
}


/* ===== v45 · Noțiuni fundamentale transparente, fără casete opace ===== */
.fundamentals-shell{
  width:min(1480px,calc(100% - 44px))!important;
  padding-top:34px!important;
}
.fundamentals-hero.simplified{
  min-height:220px!important;
  padding:28px 18px 24px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.fundamentals-hero.simplified::before{
  display:none!important;
}
.fundamentals-hero.simplified h1{
  font-size:clamp(50px,5vw,76px)!important;
  margin:0 0 12px!important;
  text-shadow:0 10px 35px rgba(0,0,0,.42);
}
.fundamentals-hero.simplified p{
  max-width:760px!important;
  color:#d3deec!important;
  font-size:17px!important;
}
.fundamentals-layout{
  grid-template-columns:270px minmax(0,1fr)!important;
  gap:34px!important;
}
.fundamentals-side{
  top:100px!important;
}
.fundamentals-side-card{
  padding:24px 20px!important;
  border:1px solid rgba(90,148,193,.45)!important;
  border-radius:20px!important;
  background:rgba(3,18,40,.32)!important;
  box-shadow:none!important;
  backdrop-filter:blur(4px)!important;
}
.fundamentals-side-card>strong{
  font-size:14px!important;
  color:#61e1d5!important;
  margin-bottom:12px!important;
}
.fundamentals-side-card>a{
  position:relative;
  padding:10px 8px 10px 20px!important;
  border-radius:0!important;
  color:#e3ecf7!important;
  font-size:14px!important;
  font-weight:700!important;
  background:transparent!important;
}
.fundamentals-side-card>a::before{
  content:"";
  position:absolute;
  left:2px;
  top:50%;
  width:7px;
  height:7px;
  border-radius:50%;
  transform:translateY(-50%);
  background:#63e2d6;
  box-shadow:0 0 12px rgba(99,226,214,.7);
}
.fundamentals-side-card>a:hover{
  color:#64e2d6!important;
}
.fundamentals-subtoc{
  display:flex;
  flex-direction:column;
  margin:0 0 4px 17px;
  gap:2px;
}
.fundamentals-subtoc a{
  position:relative;
  padding:7px 8px 7px 18px;
  color:#c0cede;
  font-size:12px;
  text-decoration:none;
}
.fundamentals-subtoc a::before{
  content:"";
  position:absolute;
  left:2px;
  top:50%;
  width:5px;
  height:5px;
  border-radius:50%;
  transform:translateY(-50%);
  background:#58d9cc;
}
.fundamentals-content{
  display:block!important;
}
.fundamentals-section{
  position:relative;
  display:block!important;
  padding:30px 0 34px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.fundamentals-section:not(:last-child)::after{
  content:"";
  position:absolute;
  left:0;
  right:16%;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,rgba(78,213,201,.75),rgba(77,113,162,.25),transparent);
}
.fundamentals-section h2{
  font-size:34px!important;
  line-height:1.1!important;
  margin:0 0 20px!important;
  letter-spacing:-.02em!important;
  text-shadow:0 8px 26px rgba(0,0,0,.42);
}
#alergologia h2{color:#57dfd3!important}
#hipersensibilitatea h2{color:#58b9ff!important}
#alergiile h2{color:#d471f1!important}
#alergenele h2{color:#46db9a!important}
#atopia h2{color:#f0c75e!important}
.fundamentals-section h3{
  color:#dfe9f4!important;
}
.fundamentals-section p{
  max-width:940px!important;
  color:#e0e7f1!important;
  font-size:16px!important;
  line-height:1.78!important;
  text-shadow:0 2px 12px rgba(0,0,0,.42);
}
.fundamentals-section strong{
  color:#fff!important;
  font-weight:850!important;
}
.allergen-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px 28px!important;
  margin:18px 0 24px!important;
}
.allergen-grid article{
  scroll-margin-top:110px;
  padding:15px 0!important;
  border:0!important;
  border-bottom:1px solid rgba(80,138,178,.24)!important;
  border-radius:0!important;
  background:transparent!important;
}
.allergen-grid article span{
  font-size:21px!important;
}
.allergen-grid article strong{
  display:inline-block!important;
  margin:0 0 4px 7px!important;
  color:#6fe4d8!important;
}
.allergen-grid article p{
  margin:3px 0 0!important;
  padding-left:33px;
  font-size:14px!important;
  line-height:1.6!important;
}
.atopy-path{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:15px 0!important;
}
.atopy-path span{
  border:1px solid rgba(106,93,180,.5)!important;
  background:rgba(19,29,62,.34)!important;
}
.fundamentals-page::before{
  background:
    linear-gradient(90deg,rgba(3,17,39,.96) 0%,rgba(3,17,39,.84) 31%,rgba(3,17,39,.48) 60%,rgba(3,17,39,.74) 100%),
    linear-gradient(180deg,rgba(3,17,39,.32),rgba(3,17,39,.78)),
    url("/brandi-notiuni-fundamentale.png") right center / min(64vw,1050px) auto no-repeat!important;
}
@media(max-width:1000px){
  .fundamentals-layout{grid-template-columns:1fr!important}
  .fundamentals-side{position:static!important}
  .fundamentals-side-card{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .fundamentals-side-card>strong{grid-column:1/-1}
  .fundamentals-subtoc{grid-column:1/-1}
}
@media(max-width:720px){
  .fundamentals-shell{width:calc(100% - 24px)!important}
  .fundamentals-side-card{grid-template-columns:1fr!important}
  .allergen-grid{grid-template-columns:1fr!important}
  .fundamentals-section h2{font-size:29px!important}
  .fundamentals-section p{font-size:15px!important}
}


/* ===== v46 · titlu Instrumente de calcul și scoruri ===== */
.page-hero.compact .pill{
  display:none!important;
}


/* ===== v47 · tabs statice, PDF complet, Noțiuni transparente ===== */

/* Bara chestionarelor rămâne în poziția ei inițială și NU urmărește scroll-ul. */
.score-tabs,
body:not(.home-v26) .score-tabs,
body:not(.ak-home) .score-tabs{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  transform:none!important;
  margin-top:24px!important;
}

/* Noțiuni fundamentale: text mai mare și toate suprafețele complet transparente. */
.fundamentals-page{
  background:#031127!important;
}
.fundamentals-page::before{
  inset:78px 0 0!important;
  background:
    linear-gradient(90deg,rgba(3,17,39,.82),rgba(3,17,39,.62) 44%,rgba(3,17,39,.58)),
    linear-gradient(180deg,rgba(3,17,39,.35),rgba(3,17,39,.72)),
    url("/brandi-notiuni-fundamentale.png") center center / cover no-repeat!important;
  background-attachment:fixed!important;
  opacity:1!important;
}
.fundamentals-page::after{
  background:
    radial-gradient(circle at 20% 20%,rgba(27,129,170,.10),transparent 38%),
    radial-gradient(circle at 80% 72%,rgba(114,72,189,.10),transparent 36%)!important;
}
.fundamentals-hero.simplified,
.fundamentals-side-card,
.fundamentals-section,
.allergen-grid article,
.atopy-path,
.atopy-path span{
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.fundamentals-hero.simplified,
.fundamentals-side-card,
.fundamentals-section{
  border-color:transparent!important;
}
.fundamentals-side-card{
  border:1px solid rgba(111,181,210,.28)!important;
}
.fundamentals-hero.simplified h1{
  font-size:clamp(58px,5.4vw,84px)!important;
}
.fundamentals-hero.simplified p{
  font-size:19px!important;
  line-height:1.7!important;
}
.fundamentals-section h2{
  font-size:39px!important;
}
.fundamentals-section h3{
  font-size:22px!important;
}
.fundamentals-section p{
  max-width:1020px!important;
  font-size:18px!important;
  line-height:1.82!important;
  color:#f0f5fb!important;
}
.fundamentals-side-card>a{
  font-size:15px!important;
}
.fundamentals-subtoc a{
  font-size:13px!important;
}
.allergen-grid article p{
  font-size:16px!important;
}
.fundamentals-section:not(:last-child)::after{
  right:5%!important;
  background:linear-gradient(90deg,rgba(78,213,201,.6),rgba(100,129,180,.22),transparent)!important;
}
@media(max-width:720px){
  .fundamentals-page::before{
    background:
      linear-gradient(180deg,rgba(3,17,39,.74),rgba(3,17,39,.82)),
      url("/brandi-notiuni-fundamentale.png") center top / cover no-repeat!important;
  }
  .fundamentals-hero.simplified h1{font-size:48px!important}
  .fundamentals-hero.simplified p{font-size:17px!important}
  .fundamentals-section h2{font-size:32px!important}
  .fundamentals-section p{font-size:16px!important}
}


/* ===== v48 · background complet + Brandi site search + PDF buttons ===== */
.fundamentals-page::before{
  inset:0!important;
  top:0!important;
  min-height:100vh!important;
  background:
    linear-gradient(90deg,rgba(3,17,39,.82),rgba(3,17,39,.62) 44%,rgba(3,17,39,.58)),
    linear-gradient(180deg,rgba(3,17,39,.30),rgba(3,17,39,.70)),
    url("/brandi-notiuni-fundamentale.png") center center / cover no-repeat!important;
  background-attachment:fixed!important;
}
.fundamentals-page{min-height:100vh!important}
.fundamentals-shell{padding-top:18px!important}

/* PDF/print actions always visible */
.pdf-actions{
  display:flex!important;
  gap:10px!important;
  margin:18px 0 28px!important;
  flex-wrap:wrap!important;
}
.pdf-btn{
  appearance:none;
  border:1px solid #405d89;
  border-radius:10px;
  padding:10px 15px;
  color:#fff;
  background:linear-gradient(135deg,#7754df,#d13a9a);
  font-weight:800;
  cursor:pointer;
}
.pdf-btn.pdf-print{
  background:#0c2347;
}
.pdf-btn:hover{filter:brightness(1.08)}

/* Brandi local search results */
.brandi-search-result{
  display:block;
  margin:8px 0;
  padding:10px 12px;
  border:1px solid #31527a;
  border-radius:11px;
  background:#0b2347;
  color:#fff;
  text-decoration:none;
}
.brandi-search-result:hover{background:#12315d}
.brandi-search-result strong{display:block;color:#72e3d7;font-size:13px}
.brandi-search-result span{display:block;margin-top:4px;color:#c2cfdf;font-size:12px;line-height:1.45}
.brandi-no-result{color:#cbd5e1}


/* ===== v49 · fundal vizibil și PDF funcțional ===== */
html{
  background:#031127!important;
}
body.fundamentals-page{
  position:relative!important;
  isolation:isolate!important;
  background:transparent!important;
  min-height:100vh!important;
}
body.fundamentals-page::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,rgba(2,13,31,.50),rgba(2,13,31,.34) 48%,rgba(2,13,31,.40)),
    linear-gradient(180deg,rgba(2,13,31,.24),rgba(2,13,31,.54)),
    url("/brandi-notiuni-fundamentale.png") center center / cover no-repeat!important;
  background-attachment:fixed!important;
  filter:saturate(.98)!important;
}
body.fundamentals-page::after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 17% 28%,rgba(47,198,192,.08),transparent 32%),
    radial-gradient(circle at 82% 68%,rgba(127,77,210,.08),transparent 34%)!important;
}
body.fundamentals-page > *{
  position:relative!important;
  z-index:1!important;
}
body.fundamentals-page .fundamentals-shell,
body.fundamentals-page .fundamentals-layout,
body.fundamentals-page .fundamentals-content,
body.fundamentals-page .fundamentals-hero,
body.fundamentals-page .fundamentals-section,
body.fundamentals-page .fundamentals-side,
body.fundamentals-page .fundamentals-side-card,
body.fundamentals-page .allergen-grid,
body.fundamentals-page .allergen-grid article,
body.fundamentals-page .atopy-path,
body.fundamentals-page .atopy-path span{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.fundamentals-page .fundamentals-hero,
body.fundamentals-page .fundamentals-section{
  border-color:transparent!important;
}
body.fundamentals-page .fundamentals-side-card{
  border:1px solid rgba(106,193,205,.32)!important;
}
body.fundamentals-page .fundamentals-section p,
body.fundamentals-page .fundamentals-section h2,
body.fundamentals-page .fundamentals-section h3{
  text-shadow:0 2px 9px rgba(0,0,0,.78)!important;
}

/* Butoanele PDF sunt mereu vizibile și active */
.pdf-actions{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  gap:10px!important;
  margin:20px 0 30px!important;
  position:relative!important;
  z-index:5!important;
}
.pdf-actions .pdf-btn{
  pointer-events:auto!important;
}


/* ===== v50 · dropdown, Brandi și sticker mobil ===== */
.ak-header{
  position:relative!important;
  z-index:2147483000!important;
  overflow:visible!important;
}
.ak-nav,
.ak-nav-dropdown{
  position:relative!important;
  z-index:2147483001!important;
  overflow:visible!important;
}
.ak-nav-menu{
  z-index:2147483002!important;
  isolation:isolate!important;
}
.fundamentals-page .ak-header{
  z-index:2147483000!important;
}
.fundamentals-page .fundamentals-shell{
  z-index:1!important;
}

/* Brandi floating bubble stays fully visible on the right */
.brandi-float{
  position:fixed!important;
  right:24px!important;
  left:auto!important;
  bottom:22px!important;
  z-index:2147482000!important;
  transform:none!important;
}
.brandi-float-button{
  min-width:132px!important;
  overflow:visible!important;
}
.brandi-float-panel{
  right:0!important;
  left:auto!important;
  z-index:2147482001!important;
}

/* Draggable Brandi tree sticker */
.brandi-sticker{
  position:fixed;
  right:34px;
  top:145px;
  width:170px;
  height:215px;
  z-index:2147481500;
  cursor:grab;
  user-select:none;
  touch-action:none;
  filter:drop-shadow(0 18px 25px rgba(0,0,0,.38));
}
.brandi-sticker.is-dragging{cursor:grabbing}
.brandi-sticker canvas{
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
  animation:brandiFloat 3.4s ease-in-out infinite;
}
.brandi-sticker .brandi-wave{
  position:absolute;
  right:-4px;
  top:95px;
  font-size:34px;
  transform-origin:20% 80%;
  animation:brandiWave .9s ease-in-out infinite alternate;
  pointer-events:none;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.35));
}
.brandi-sticker .brandi-sticker-close{
  position:absolute;
  right:-7px;
  top:-8px;
  width:26px;
  height:26px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:50%;
  color:#fff;
  background:rgba(4,18,43,.8);
  cursor:pointer;
  font-size:16px;
  line-height:1;
}
@keyframes brandiFloat{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  50%{transform:translateY(-8px) rotate(1deg)}
}
@keyframes brandiWave{
  from{transform:rotate(-18deg)}
  to{transform:rotate(22deg)}
}
@media(max-width:720px){
  .brandi-float{right:12px!important;bottom:12px!important}
  .brandi-sticker{width:120px;height:155px;right:14px;top:120px}
  .brandi-sticker .brandi-wave{font-size:27px;top:70px}
}


/* ===== v51 · fără sticker, fără brad în fundal, Brandi în dreapta ===== */
body.fundamentals-page,
body.fundamentals-page::before,
body.fundamentals-page::after{
  background-image:none!important;
}
body.fundamentals-page::before{
  background:linear-gradient(180deg,#041127,#071a36)!important;
  filter:none!important;
}
.brandi-sticker{display:none!important}
.brandi-float{
  left:auto!important;
  right:24px!important;
  transform:none!important;
  z-index:2147482000!important;
}
.brandi-float-panel{
  left:auto!important;
  right:0!important;
}
.ak-nav-menu{
  z-index:2147483640!important;
}
@media(max-width:720px){
  .brandi-float{right:12px!important}
}


/* ===== v52 · Brandi fixat permanent în dreapta jos ===== */
html body .brandi-float,
body.fundamentals-page .brandi-float{
  position:fixed!important;
  right:24px!important;
  left:auto!important;
  bottom:22px!important;
  top:auto!important;
  transform:none!important;
  margin:0!important;
  z-index:2147482000!important;
}
html body .brandi-float-panel,
body.fundamentals-page .brandi-float-panel{
  position:absolute!important;
  right:0!important;
  left:auto!important;
  bottom:72px!important;
  top:auto!important;
  transform:none!important;
  z-index:2147482001!important;
}
@media(max-width:720px){
  html body .brandi-float,
  body.fundamentals-page .brandi-float{
    right:12px!important;
    bottom:12px!important;
  }
  html body .brandi-float-panel,
  body.fundamentals-page .brandi-float-panel{
    right:0!important;
    bottom:68px!important;
  }
}


/* ===== v53 · Alergia moleculară + meniuri fără pictograme ===== */
.ak-nav-menu>a:not(:has(.menu-icon)){grid-template-columns:1fr!important;min-height:58px!important;}
.ak-molecular-menu{
  width:min(780px,calc(100vw - 32px))!important;
  max-height:min(72vh,680px)!important;
  overflow-y:auto!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;
  z-index:2147483646!important;
}
.ak-molecular-menu>a{grid-template-columns:1fr!important;min-height:48px!important;padding:10px 12px!important;}
.ak-molecular-menu strong{font-size:13px!important;text-transform:none!important;}
.ak-nav-molecular{white-space:nowrap!important;}
@media(max-width:900px){.ak-molecular-menu{grid-template-columns:1fr!important;left:50%!important;transform:translate(-50%,-7px)!important}.ak-nav-dropdown:hover .ak-molecular-menu,.ak-nav-dropdown:focus-within .ak-molecular-menu,.ak-nav-dropdown.is-open .ak-molecular-menu{transform:translate(-50%,0)!important}}
.ak-tools-grid>a{padding-left:16px!important;}

/* V54 — Alergia moleculară: polenul de arbori */
.molecular-topic{background:rgba(14,25,45,.86);border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:26px;box-shadow:0 16px 38px rgba(0,0,0,.14)}
.molecular-topic h2{margin:0 0 10px;color:#f3f7ff;font-size:clamp(1.55rem,2.4vw,2.1rem)}
.molecular-topic h3{margin:30px 0 14px;color:#eef6ff;font-size:1.35rem}
.molecular-topic h4{margin:24px 0 10px;color:#dbeaff;font-size:1.08rem}
.molecular-topic p,.molecular-topic li{color:#d4deeb;line-height:1.65}
.molecular-intro{margin:0 0 22px!important;color:#b9c9dd!important}
.molecular-subnav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 28px}
.molecular-subnav a{display:inline-block;padding:8px 12px;border-radius:999px;background:rgba(91,173,255,.09);border:1px solid rgba(91,173,255,.24);color:#dcecff;text-decoration:none;font-size:.9rem}
.molecular-subnav a:hover{background:rgba(91,173,255,.16)}
.molecular-panel{margin-top:20px;padding:20px;border-radius:15px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.molecular-table-wrap{overflow-x:auto;margin:14px 0 24px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#fff}
.molecular-table{width:100%;border-collapse:collapse;min-width:920px;color:#1c2733;font-size:.84rem;line-height:1.35}
.molecular-table th,.molecular-table td{padding:9px 10px;border:1px solid #d6dce4;vertical-align:top;text-align:left}
.molecular-table thead th{background:#12643c;color:#fff;font-weight:700}
.molecular-table tbody th{background:#eef7f1;color:#193426}
.molecular-table .taxon{font-style:italic}
.molecular-table .major{background:#ed1c24;color:#fff;font-weight:700;text-align:center}
.molecular-table .minor{background:#fff200;color:#141414;font-weight:700;text-align:center}
.molecular-table .dash{text-align:center;color:#637083}
.pollen-calendar{min-width:1050px}
.pollen-calendar thead th.month{text-align:center;background:#d8eafa;color:#153451}
.pollen-calendar td.month{min-width:48px;padding:9px 4px;text-align:center;background:#fff}
.pollen-calendar td.in-season{background:#25c45b;color:#073c1a;font-weight:700}
.pollen-calendar .order{background:#12643c;color:#fff;font-weight:700;vertical-align:middle}
.pollen-calendar .family{background:#8ee6ad;color:#17492b;font-style:italic;font-weight:700;vertical-align:middle}
.molecular-note{font-size:.88rem;color:#aebed2!important;margin-top:-12px!important}
.molecular-flow{display:grid;gap:7px;max-width:760px;margin:18px 0}
.molecular-flow .step{padding:12px 15px;border:1px solid rgba(115,193,255,.18);background:rgba(115,193,255,.06);border-radius:10px;color:#e8f2ff;text-align:center;font-weight:650}
.molecular-flow .arrow{text-align:center;color:#87bfff;font-size:1.25rem;line-height:1}
.molecular-highlight{padding:16px 18px;border-left:4px solid #5bb4ff;background:rgba(91,180,255,.07);border-radius:0 10px 10px 0;margin:16px 0}
.molecular-highlight p{margin:.3rem 0}
.pfs-table{min-width:560px}
.pfs-table thead th{background:#284f78}
@media(max-width:760px){.molecular-topic{padding:18px}.molecular-table{font-size:.79rem}.molecular-panel{padding:14px}}

/* V55 — molecular pages split + searchable HTML tables */
.molecular-page-shell{padding-top:34px;padding-bottom:70px}.molecular-index,.molecular-topic-page{max-width:1120px;margin:0 auto}.molecular-breadcrumb{display:flex;gap:8px;align-items:center;font-size:.9rem;color:#9fb0c8;margin-bottom:18px}.molecular-breadcrumb a{color:#7dd3fc;text-decoration:none}.molecular-index h1,.molecular-topic-page h1{margin:0 0 10px}.molecular-lead{max-width:800px;color:#b9c5d9;line-height:1.65}.molecular-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}.molecular-index-card{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:18px 20px;border:1px solid rgba(148,163,184,.2);border-radius:16px;background:rgba(15,23,42,.68);text-decoration:none;color:inherit}.molecular-index-card:hover{transform:translateY(-1px);border-color:rgba(125,211,252,.55)}.molecular-index-num{font-weight:800;color:#7dd3fc}.molecular-index-card>span:last-child{color:#9fb0c8;font-size:.88rem}.molecular-topic-page .molecular-table{font-size:.88rem}.molecular-topic-page table,.molecular-topic-page th,.molecular-topic-page td{user-select:text}.molecular-topic-page .molecular-table-wrap{overflow-x:auto}.molecular-topic-page .molecular-subnav{position:relative;z-index:1}.molecular-topic-page .molecular-panel{scroll-margin-top:110px}@media(max-width:800px){.molecular-index-grid{grid-template-columns:1fr}.molecular-index-card{grid-template-columns:34px 1fr}.molecular-index-card>span:last-child{display:none}}
