/* ============================================================
   HOMEPAGE — nav, hero, grid, cards, feed, trust
   ============================================================ */

/* ---------- Top nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{ display: flex; align-items: center; gap: 22px; height: 62px; }
.brand{ display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-mark{
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
}
.brand-name{ font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; }
.brand-name b{ color: var(--accent); font-weight: 800; }
.nav-links{ display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-links a{
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding: 7px 11px; border-radius: 7px;
  transition: background .14s, color .14s; white-space: nowrap;
}
.nav-links a:hover{ background: var(--bg-2); color: var(--ink); }
.nav-links a.is-active{ color: var(--accent-ink); background: var(--accent-soft); }
.nav-right{ margin-left: auto; display: flex; align-items: center; gap: 9px; }
.nav-search{
  display: flex; align-items: center; gap: 8px;
  width: 230px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--muted); cursor: text;
  font-size: 13.5px; transition: border-color .15s, background .15s;
}
.nav-search:hover{ border-color: #d3d9e1; }
.nav-search kbd{ margin-left: auto; font-family: var(--ff-mono); font-size: 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--faint); }

/* ---------- Hero ---------- */
.hero{ padding-top: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.hero-eyebrow{ display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.hero-eyebrow .dot-live{ width: 7px; height: 7px; border-radius: 999px; background: var(--c-justice); box-shadow: 0 0 0 3px var(--c-justice-soft); }
.hero h1{
  font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.02; max-width: 18ch; text-wrap: balance;
}
.hero h1 .hl{ color: var(--accent); }
.hero-lead{ font-size: 16.5px; color: var(--ink-2); max-width: 56ch; margin: 16px 0 24px; line-height: 1.5; }

.hero-search{
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md); padding: 7px 7px 7px 16px;
  max-width: 760px;
  transition: border-color .15s, box-shadow .15s;
}
.hero-search:focus-within{ border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-search svg{ color: var(--muted); flex: none; }
.hero-search input{
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--ff-sans); font-size: 15.5px; color: var(--ink); padding: 8px 0;
}
.hero-search input::placeholder{ color: var(--faint); }
.hero-prompts{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; max-width: 760px; }

/* ---------- Main grid: map + AI ---------- */
.stage-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}
.map-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.map-card-head{
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px 0;
}
.map-card-title{ font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.map-card-title .sub{ display:block; font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.map-body{ padding: 8px 18px 14px; position: relative; }

/* ---------- Sections below ---------- */
.section{ margin-top: 40px; }
.section-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; border-top: 2px solid var(--ink); padding-top: 14px; }
.section-head h2{ font-size: 20px; font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 11px; }
.section-head h2::before{ content: ''; width: 9px; height: 9px; background: var(--accent); flex: none; }
.section-head a{ margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.section-head a:hover{ color: var(--accent-ink); }

/* interest cards */
.interest-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.interest{
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px; cursor: pointer;
  display: flex; flex-direction: column; gap: 14px; min-height: 116px;
  box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s, transform .12s;
}
.interest:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.interest .ic{ width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.interest .k{ font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.interest .v{ font-size: 13px; color: var(--muted); margin-top: auto; display: flex; align-items: center; gap: 5px; }
.interest .v b{ color: var(--accent-ink); font-weight: 700; }

/* updates feed */
.feed{ display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--sh-1); }
.feed-item{
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; cursor: pointer;
  border-bottom: 1px solid var(--line-2);
  transition: background .14s;
}
.feed-item:last-child{ border-bottom: none; }
.feed-item:hover{ background: var(--surface-2); }
.feed-tag{
  flex: none; width: 78px;
  font-family: var(--ff-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 7px; color: var(--ft-c, var(--muted));
}
.feed-tag .bar{ width: 3px; height: 26px; border-radius: 3px; background: var(--ft-c, var(--muted)); flex: none; }
.feed-main{ flex: 1; min-width: 0; }
.feed-title{ font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.feed-meta{ font-size: 12.5px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.feed-when{ flex: none; font-size: 12px; color: var(--faint); white-space: nowrap; }

/* trust strip */
.trust{
  margin: 40px auto 56px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg);
  padding: 26px 28px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.trust-ic{ width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; flex: none; }
.trust-line{ font-size: 16px; font-weight: 600; letter-spacing: -.01em; max-width: 50ch; line-height: 1.4; }
.trust-stats{ margin-left: auto; display: flex; gap: 28px; }
.trust-stat .v{ font-family: var(--ff-mono); font-size: 22px; font-weight: 600; }
.trust-stat .k{ font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.trust-links{ display: flex; gap: 8px; width: 100%; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 4px; }
.trust-links a{ font-size: 13px; color: rgba(255,255,255,.8); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.trust-links a:hover{ color: #fff; }
.trust-links .sep{ color: rgba(255,255,255,.25); }

/* ---------- density ---------- */
.density-compact .hero{ padding: 26px 0 8px; }
.density-compact .section{ margin-top: 26px; }
.density-compact .stage-grid{ margin-top: 20px; }
.density-compact .feed-item{ padding: 11px 18px; }
.density-compact .interest{ padding: 13px; min-height: 100px; }

/* ============================================================
   GLOBAL CHROME — shared header extras + footer
   ============================================================ */
.nav-links-more{
  font-family: var(--ff-sans); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: transparent; border: none; cursor: pointer;
  padding: 7px 11px; border-radius: 7px; display: inline-flex; align-items: center; gap: 5px;
  transition: background .14s, color .14s; white-space: nowrap;
}
.nav-links-more:hover{ background: var(--bg-2); color: var(--ink); }
.nav-links-more svg{ transition: transform .2s; }
.nav-links-more.open svg{ transform: rotate(180deg); }
.hp-more-wrap{ position: relative; }
.hp-more-menu{
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-pop); padding: 6px; min-width: 248px; z-index: 60;
  animation: popIn .16s ease; display: flex; flex-direction: column; gap: 1px;
}
.hp-more-menu a{
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 9px 11px; border-radius: 8px; transition: background .12s, color .12s;
}
.hp-more-menu a:hover{ background: var(--accent-soft); color: var(--accent-ink); }
.hp-more-menu a svg{ color: var(--muted); flex: none; }
.hp-more-menu a:hover svg{ color: var(--accent); }
.hp-more-sep{ height: 1px; background: var(--line-2); margin: 5px 4px; }
.hp-more-label{ font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 8px 11px 4px; }

.hp-menu-btn{ display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; cursor: pointer; color: var(--ink); place-items: center; }
.hp-mobile{ display: none; }

/* ---------- Global footer ---------- */
.hp-foot{ background: var(--surface); border-top: 1px solid var(--line); }
.hp-foot-inner{ padding-top: 46px; padding-bottom: 26px; }
.hp-foot-top{ display: flex; gap: 48px; flex-wrap: wrap; }
.hp-foot-brand{ max-width: 300px; }
.hp-foot-brand .brand{ margin-bottom: 14px; }
.hp-foot-tagline{ font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.hp-foot-trust{ display: flex; gap: 10px; margin-top: 16px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 13px; }
.hp-foot-trust svg{ flex: none; color: var(--c-justice); margin-top: 1px; }
.hp-foot-cols{ flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; min-width: 380px; }
.hp-foot-col h5{ font-family: var(--ff-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.hp-foot-col a{ display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; padding: 6px 0; transition: color .12s; white-space: nowrap; }
.hp-foot-col a:hover{ color: var(--accent); }
.hp-foot-col a svg{ color: var(--faint); flex: none; }
.hp-foot-col a:hover svg{ color: var(--accent); }
.hp-foot-meta{ display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.hp-foot-stat{ display: flex; justify-content: space-between; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.hp-foot-stat .k{ color: var(--muted); }
.hp-foot-stat .v{ font-family: var(--ff-mono); font-weight: 600; color: var(--ink); }
.hp-foot-bottom{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0 0; margin-top: 34px; border-top: 1px solid var(--line); }
.hp-foot-bottom .copy{ font-size: 12.5px; color: var(--muted); }
.hp-foot-bottom .demo{ font-size: 12px; color: var(--faint); }
.hp-foot-bottom .spacer{ flex: 1; }
.hp-foot-bottom .links{ display: flex; gap: 16px; }
.hp-foot-bottom .links a{ font-size: 12.5px; color: var(--muted); text-decoration: none; }
.hp-foot-bottom .links a:hover{ color: var(--accent); }

@media (max-width: 1080px){
  .hp-menu-btn{ display: grid; }
  .hp-more-wrap{ display: none; }
  .hp-mobile{ display: block; border-top: 1px solid var(--line); background: var(--surface); padding: 10px 0; max-height: 70vh; overflow-y: auto; animation: fadeIn .16s ease; }
  .hp-mobile .wrap{ display: flex; flex-direction: column; gap: 2px; }
  .hp-mobile a{ display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 12px 8px; border-radius: 9px; }
  .hp-mobile a.is-active{ color: var(--accent-ink); background: var(--accent-soft); }
  .hp-mobile a svg{ color: var(--muted); flex: none; }
  .hp-mobile .hp-more-label{ padding: 12px 8px 4px; }
}
@media (max-width: 760px){
  .hp-foot-top{ gap: 28px; flex-direction: column; }
  .hp-foot-brand{ max-width: none; width: 100%; }
  .hp-foot-cols{ grid-template-columns: 1fr 1fr; min-width: 0; width: 100%; }
  .hp-foot-col a{ white-space: normal; }
  .hp-foot-bottom .links{ width: 100%; flex-wrap: wrap; }
}
@media (max-width: 480px){
  .hp-foot-cols{ grid-template-columns: 1fr; }
}

/* ============================================================
   POLITICIENI directory (politicieni.html)
   ============================================================ */
.po-layout{ display: grid; grid-template-columns: 248px minmax(0,1fr); gap: 26px; align-items: start; }
.po-rail{ position: sticky; top: 78px; display: flex; flex-direction: column; gap: 18px; }
.po-fgroup h5{ font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 9px; }
.po-fopt{ display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: none; background: transparent; font-family: var(--ff-sans); font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 7px 9px; border-radius: var(--r-sm); cursor: pointer; transition: background .12s, color .12s; }
.po-fopt:hover{ background: var(--bg-2); color: var(--ink); }
.po-fopt.is-on{ background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.po-fopt .sw{ width: 10px; height: 10px; border-radius: 3px; flex: none; }
.po-fopt .ct{ margin-left: auto; font-family: var(--ff-mono); font-size: 11px; color: var(--faint); }
.po-fopt.is-on .ct{ color: var(--accent); }
.po-select{ width: 100%; font-family: var(--ff-sans); font-size: 13.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; }
.po-railsep{ height: 1px; background: var(--line-2); }
.po-reset{ font-size: 12.5px; font-weight: 600; color: var(--accent); background: none; border: none; cursor: pointer; padding: 0; text-align: left; }

.po-toolbar{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.po-search{ display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 9px 14px; flex: 1; min-width: 220px; transition: border-color .15s, box-shadow .15s; }
.po-search:focus-within{ border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.po-search svg{ color: var(--muted); flex: none; }
.po-search input{ flex: 1; border: none; outline: none; background: transparent; font-family: var(--ff-sans); font-size: 14.5px; color: var(--ink); }
.po-count{ font-size: 13px; color: var(--muted); white-space: nowrap; }
.po-count b{ color: var(--ink); font-family: var(--ff-mono); }
.po-sort{ font-family: var(--ff-sans); font-size: 13px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; }

.po-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.po-card{ display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 16px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .1s; }
.po-card:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.po-card-top{ display: flex; align-items: center; gap: 12px; }
.po-av{ width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.po-card-id{ min-width: 0; flex: 1; }
.po-card-name{ font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.po-card-role{ font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.po-partytag{ display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px 3px 7px; flex: none; }
.po-partytag .sw{ width: 9px; height: 9px; border-radius: 3px; }
.po-card-meta{ display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.po-pin{ display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.po-pin svg{ color: var(--faint); }
.po-card-stats{ display: flex; gap: 16px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line-2); }
.po-st{ display: flex; flex-direction: column; }
.po-st .v{ font-family: var(--ff-mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.po-st .k{ font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.po-card-flag{ margin-top: 12px; }
.po-empty{ text-align: center; padding: 60px 20px; color: var(--muted); }
.po-empty svg{ color: var(--faint); margin-bottom: 12px; }

@media (max-width: 1000px){
  .po-layout{ grid-template-columns: 1fr; }
  .po-rail{ position: static; flex-direction: row; flex-wrap: wrap; gap: 14px 24px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
  .po-fgroup{ min-width: 150px; }
}
@media (max-width: 680px){
  .po-grid{ grid-template-columns: 1fr; }
  .po-rail{ flex-direction: column; }
}

/* ============================================================
   LEGI & VOTURI index (legi.html) — list cards
   ============================================================ */
.le-list{ display: flex; flex-direction: column; gap: 12px; }
.le-card{ display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 17px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .1s; }
.le-card:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-1px); }
.le-card-top{ display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }
.le-num{ font-family: var(--ff-mono); font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.le-type{ font-family: var(--ff-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--bg-2); border-radius: 4px; padding: 3px 7px; }
.le-date{ margin-left: auto; font-family: var(--ff-mono); font-size: 12px; color: var(--faint); }
.le-card-title{ font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.le-card-plain{ font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 6px; max-width: 86ch; }
.le-card-bottom{ display: flex; align-items: center; gap: 16px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.le-domains{ display: flex; gap: 6px; flex-wrap: wrap; }
.le-domain{ font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.le-vote{ display: flex; align-items: center; gap: 10px; margin-left: auto; }
.le-vote-mini{ display: flex; height: 7px; width: 120px; border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.le-vote-mini div{ height: 100%; }
.le-vote-nums{ font-family: var(--ff-mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.le-vote-nums b.p{ color: var(--st-clear); } .le-vote-nums b.c{ color: var(--st-grave); }
.le-novote{ margin-left: auto; font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.le-init{ display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.le-init .sw{ width: 9px; height: 9px; border-radius: 3px; }

/* ============================================================
   PARTY PROFILE (partid.html)
   ============================================================ */
.pp-head{ background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0 28px; position: relative; overflow: hidden; }
.pp-head::before{ content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pp-color, var(--accent)); }
.pp-head-row{ display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.pp-badge{ width: 72px; height: 72px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 26px; letter-spacing: -.02em; flex: none; }
.pp-id{ flex: 1; min-width: 260px; }
.pp-name{ font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.pp-tagline{ font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.pp-chips{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pp-actions{ display: flex; flex-direction: column; gap: 8px; flex: none; }

.pp-bars{ display: flex; align-items: flex-end; gap: 14px; height: 150px; padding-top: 10px; }
.pp-bar-col{ flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; height: 100%; }
.pp-bar{ width: 100%; max-width: 56px; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--pp-color, var(--accent)); position: relative; transition: height .5s; min-height: 4px; }
.pp-bar .val{ position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--ink); }
.pp-bar-x{ font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }

.pp-align{ display: flex; gap: 16px; flex-wrap: wrap; }
.pp-gauge{ flex: 1; min-width: 150px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 16px; }
.pp-gauge .v{ font-family: var(--ff-mono); font-size: 28px; font-weight: 600; color: var(--pp-color, var(--accent)); }
.pp-gauge .k{ font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pp-gauge .track{ height: 6px; border-radius: 999px; background: var(--bg-2); margin-top: 10px; overflow: hidden; }
.pp-gauge .fill{ height: 100%; border-radius: 999px; background: var(--pp-color, var(--accent)); }

.pp-switch{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pp-switch h6{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; display: flex; align-items: center; gap: 7px; }
.pp-switch .in h6{ color: var(--st-clear); }
.pp-switch .out h6{ color: var(--st-process); }

.pp-stance{ font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; flex: none; }
.pp-stance.pentru{ color: var(--st-clear); background: var(--c-justice-soft); }
.pp-stance.contra{ color: var(--st-grave); background: #f6e9e9; }

.pp-tl{ display: flex; flex-direction: column; }
.pp-tl-item{ display: flex; gap: 14px; position: relative; padding-bottom: 16px; }
.pp-tl-item:last-child{ padding-bottom: 0; }
.pp-tl-item:not(:last-child)::before{ content: ''; position: absolute; left: 5px; top: 16px; bottom: -2px; width: 2px; background: var(--line); }
.pp-tl-dot{ width: 12px; height: 12px; border-radius: 999px; flex: none; margin-top: 4px; z-index: 1; }
.pp-tl-year{ font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--muted); width: 42px; flex: none; }
.pp-tl-label{ font-size: 14px; color: var(--ink); }

/* ============================================================
   COMPARĂ (compara.html)
   ============================================================ */
.cm-pick{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.cm-slot{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 16px; }
.cm-slot-head{ display: flex; align-items: center; gap: 11px; }
.cm-slot-av{ width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.cm-slot-id{ flex: 1; min-width: 0; }
.cm-slot-name{ font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.cm-slot-role{ font-size: 12.5px; color: var(--muted); }
.cm-slot select{ width: 100%; margin-top: 12px; font-family: var(--ff-sans); font-size: 13.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--r-sm); padding: 9px 10px; cursor: pointer; }
.cm-slot-empty{ display: flex; align-items: center; gap: 11px; color: var(--muted); }
.cm-slot-empty .ph{ width: 46px; height: 46px; border-radius: var(--r-sm); border: 1.5px dashed var(--line); display: grid; place-items: center; flex: none; }

.cm-table{ width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.cm-table th, .cm-table td{ padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.cm-table thead th{ background: var(--surface-2); font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cm-table tbody tr:last-child td{ border-bottom: none; }
.cm-row-label{ font-size: 13px; color: var(--muted); width: 30%; }
.cm-val{ font-size: 14px; color: var(--ink); font-weight: 600; }
.cm-val.num{ font-family: var(--ff-mono); }
.cm-val.win{ color: var(--st-clear); }
.cm-val.win::after{ content: '●'; font-size: 7px; vertical-align: middle; margin-left: 7px; color: var(--st-clear); }
.cm-barcell{ display: flex; align-items: center; gap: 9px; }
.cm-barcell .bar{ flex: 1; height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; max-width: 120px; }
.cm-barcell .bar div{ height: 100%; border-radius: 999px; }
.cm-ptag{ display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.cm-ptag .sw{ width: 10px; height: 10px; border-radius: 3px; }
.cm-flagcell{ display: flex; flex-direction: column; gap: 5px; }
.cm-noflag{ font-size: 12.5px; color: var(--st-clear); display: inline-flex; align-items: center; gap: 5px; }

/* ============================================================
   EXPLAINER article (explainer.html)
   ============================================================ */
.ex-layout{ display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 30px; align-items: start; }
.ex-article{ min-width: 0; }
.ex-kicker{ font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ex-h1{ font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-top: 8px; }
.ex-lead{ font-size: 17px; color: var(--ink-2); line-height: 1.55; margin-top: 12px; max-width: 70ch; }
.ex-section{ margin-top: 30px; }
.ex-section > h2{ font-size: 19px; font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ex-section > h2::before{ content: ''; width: 8px; height: 8px; background: var(--accent); flex: none; }
.ex-simple{ font-size: 15.5px; color: var(--ink); line-height: 1.6; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: 18px 20px; }

/* flow diagram */
.ex-flow{ display: flex; flex-direction: column; gap: 0; }
.ex-flow-step{ display: flex; gap: 14px; position: relative; padding-bottom: 14px; }
.ex-flow-step:last-child{ padding-bottom: 0; }
.ex-flow-step:not(:last-child)::before{ content: ''; position: absolute; left: 15px; top: 34px; bottom: -2px; width: 2px; background: var(--accent-line); }
.ex-flow-num{ width: 32px; height: 32px; flex: none; border-radius: var(--r-sm); background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--ff-mono); font-size: 14px; font-weight: 600; z-index: 1; }
.ex-flow-body{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 15px; flex: 1; }
.ex-flow-t{ font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ex-flow-d{ font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }

/* split diagram */
.ex-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-split-col{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.ex-split-col h3{ font-size: 15px; font-weight: 700; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.ex-split-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ex-split-col li{ display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.ex-split-col li svg{ flex: none; color: var(--accent); margin-top: 2px; }

.ex-examples{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ex-examples li{ display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 13px 15px; }
.ex-examples li svg{ flex: none; color: var(--c-exec); margin-top: 2px; }

.ex-faq{ display: flex; flex-direction: column; gap: 8px; }
.ex-faq button{ display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; cursor: pointer; font-family: var(--ff-sans); font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .14s, background .14s; }
.ex-faq button:hover{ border-color: var(--accent-line); background: var(--accent-soft); }
.ex-faq button svg{ flex: none; color: var(--accent); }
.ex-faq button .ar{ margin-left: auto; color: var(--faint); }

/* AI cta */
.ex-aicta{ background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.ex-aicta .ic{ width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.ex-aicta .tx{ flex: 1; min-width: 220px; }
.ex-aicta h3{ font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.ex-aicta p{ margin: 4px 0 0; font-size: 13.5px; color: rgba(255,255,255,.74); line-height: 1.5; }

/* sidebar */
.ex-side{ position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }

/* ============================================================
   WATCHLIST & ALERTE (watchlist.html)
   ============================================================ */
.wl-tabs{ display: flex; gap: 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.wl-tab{ font-family: var(--ff-sans); font-size: 14px; font-weight: 600; border: none; background: transparent; color: var(--muted); padding: 12px 4px; margin-right: 8px; cursor: pointer; border-bottom: 2px solid transparent; transition: color .14s, border-color .14s; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.wl-tab:hover{ color: var(--ink); }
.wl-tab.is-on{ color: var(--accent-ink); border-bottom-color: var(--accent); }
.wl-tab .ct{ font-family: var(--ff-mono); font-size: 11px; background: var(--bg-2); color: var(--ink-2); border-radius: 999px; padding: 1px 7px; }
.wl-tab.is-on .ct{ background: var(--accent-soft); color: var(--accent); }
.wl-tab .badge-unread{ width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }

/* alerts feed */
.wl-feedbar{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.wl-mark{ margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wl-alert{ display: flex; gap: 14px; padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); text-decoration: none; transition: border-color .14s, box-shadow .14s; margin-bottom: 10px; position: relative; }
.wl-alert:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); }
.wl-alert.unread{ border-left: 3px solid var(--accent); }
.wl-alert-ic{ width: 38px; height: 38px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; }
.wl-alert-main{ flex: 1; min-width: 0; }
.wl-alert-kind{ font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wl-alert-title{ font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-top: 2px; }
.wl-alert-detail{ font-size: 13px; color: var(--ink-2); margin-top: 4px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.wl-alert-when{ flex: none; font-size: 12px; color: var(--faint); white-space: nowrap; }
.wl-alert-right{ flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.wl-dot-unread{ width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }

/* followed grid */
.wl-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wl-foll{ display: flex; align-items: center; gap: 13px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); }
.wl-foll-av{ width: 42px; height: 42px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.wl-foll-main{ flex: 1; min-width: 0; }
.wl-foll-name{ font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.wl-foll-name a{ color: inherit; text-decoration: none; }
.wl-foll-name a:hover{ color: var(--accent); }
.wl-foll-sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.wl-foll-type{ font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.wl-follow-btn{ flex: none; font-family: var(--ff-sans); font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: all .14s; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; }
.wl-follow-btn.on{ background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.wl-follow-btn.on:hover{ background: #f6dadd; }
.wl-follow-btn.off{ background: var(--ink); color: #fff; border-color: var(--ink); }
.wl-follow-btn.off:hover{ background: #000; }

/* prefs */
.wl-pref{ display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.wl-pref:last-child{ border-bottom: none; }
.wl-pref-main{ flex: 1; }
.wl-pref-label{ font-size: 14px; font-weight: 600; color: var(--ink); }
.wl-pref-sub{ font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.wl-toggle{ flex: none; width: 42px; height: 24px; border-radius: 999px; border: none; cursor: pointer; position: relative; transition: background .18s; }
.wl-toggle.on{ background: var(--accent); }
.wl-toggle.off{ background: #cfcfcf; }
.wl-toggle::after{ content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; transition: transform .18s; }
.wl-toggle.on::after{ transform: translateX(18px); }

/* ============================================================
   CORECTURI / DREPT LA REPLICĂ (corecturi.html)
   ============================================================ */
.co-form{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 24px; }
.co-field{ margin-bottom: 18px; }
.co-field > label{ display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.co-field .hint{ font-weight: 400; color: var(--muted); font-size: 12.5px; }
.co-input, .co-textarea, .co-sel{ width: 100%; font-family: var(--ff-sans); font-size: 14px; color: var(--ink); border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--r-sm); padding: 11px 13px; transition: border-color .15s, box-shadow .15s, background .15s; }
.co-input:focus, .co-textarea:focus, .co-sel:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
.co-textarea{ resize: vertical; min-height: 120px; line-height: 1.5; }
.co-type{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-typecard{ display: flex; gap: 11px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .14s, background .14s; }
.co-typecard:hover{ border-color: var(--accent-line); background: var(--surface-2); }
.co-typecard.sel{ border-color: var(--accent); background: var(--accent-soft); }
.co-typecard .ic{ width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent); }
.co-typecard.sel .ic{ background: var(--accent); color: #fff; border-color: var(--accent); }
.co-typecard h4{ font-size: 14px; font-weight: 700; }
.co-typecard p{ margin: 3px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.co-row2{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-submitbar{ display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.co-note{ font-size: 12px; color: var(--muted); flex: 1; min-width: 200px; display: flex; gap: 8px; }
.co-note svg{ flex: none; color: var(--c-justice); margin-top: 1px; }

/* success */
.co-success{ text-align: center; padding: 30px 24px; }
.co-success .tick{ width: 60px; height: 60px; border-radius: 999px; background: var(--c-justice-soft); color: var(--c-justice); display: grid; place-items: center; margin: 0 auto 16px; }
.co-success h3{ font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.co-success p{ font-size: 14.5px; color: var(--ink-2); max-width: 50ch; margin: 8px auto 0; line-height: 1.5; }
.co-ticket{ display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-mono); font-size: 14px; font-weight: 600; background: var(--bg-2); border-radius: var(--r-sm); padding: 9px 14px; margin-top: 18px; }

/* status tracker */
.co-track{ display: flex; gap: 0; margin-top: 22px; }
.co-track-step{ flex: 1; text-align: center; position: relative; }
.co-track-step::before{ content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.co-track-step:first-child::before{ display: none; }
.co-track-step.done::before{ background: var(--c-justice); }
.co-track-dot{ width: 28px; height: 28px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; margin: 0 auto 8px; position: relative; z-index: 1; color: var(--faint); }
.co-track-step.done .co-track-dot{ background: var(--c-justice); border-color: var(--c-justice); color: #fff; }
.co-track-step.current .co-track-dot{ border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.co-track-label{ font-size: 12px; color: var(--muted); line-height: 1.3; }
.co-track-step.done .co-track-label, .co-track-step.current .co-track-label{ color: var(--ink); font-weight: 600; }

/* recent corrections list (transparency) */
.co-recent{ display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.co-recent:last-child{ border-bottom: none; }

/* ============================================================
   LEGAL / CONTACT pages (termeni / confidentialitate / contact)
   ============================================================ */
.lg-layout{ display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 40px; align-items: start; }
.lg-toc{ position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.lg-toc h5{ font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.lg-toc a{ font-size: 13px; color: var(--muted); text-decoration: none; padding: 7px 10px; border-radius: var(--r-sm); border-left: 2px solid transparent; transition: color .14s, background .14s, border-color .14s; }
.lg-toc a:hover{ color: var(--ink); background: var(--bg-2); }
.lg-toc a.is-on{ color: var(--accent-ink); border-left-color: var(--accent); background: var(--accent-soft); }
.lg-updated{ font-size: 12px; color: var(--muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 7px; }
.lg-updated svg{ color: var(--faint); }

.lg-article{ max-width: 76ch; }
.lg-sec{ margin-bottom: 32px; scroll-margin-top: 84px; }
.lg-sec h2{ font-size: 21px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.lg-sec h2 .n{ font-family: var(--ff-mono); font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-sm); width: 28px; height: 28px; display: grid; place-items: center; flex: none; }
.lg-sec p{ font-size: 15px; color: var(--ink-2); line-height: 1.65; margin: 0 0 12px; }
.lg-sec ul{ list-style: none; margin: 6px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lg-sec ul li{ display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.lg-sec ul li svg{ flex: none; color: var(--accent); margin-top: 3px; }

.lg-cta{ background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.lg-cta .ic{ width: 46px; height: 46px; border-radius: var(--r-md); background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.lg-cta .tx{ flex: 1; min-width: 220px; }
.lg-cta h3{ font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.lg-cta p{ margin: 4px 0 0; font-size: 13.5px; color: rgba(255,255,255,.74); }

/* contact */
.ct-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.ct-channel{ display: flex; gap: 13px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); text-decoration: none; transition: border-color .14s, box-shadow .14s, transform .1s; }
.ct-channel:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.ct-channel .ic{ width: 42px; height: 42px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ct-channel h4{ font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.ct-channel p{ margin: 4px 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.ct-channel .link{ font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }

/* ============================================================
   INSTITUTION PROFILE (institutie.html#key)
   ============================================================ */
.it-head{ background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0 26px; position: relative; }
.it-head::before{ content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c-justice); }
.it-switch{ display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.it-switch button{ font-family: var(--ff-sans); font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 7px 15px; cursor: pointer; transition: all .14s; }
.it-switch button:hover{ border-color: var(--c-justice); color: var(--c-justice); }
.it-switch button.on{ background: var(--c-justice); border-color: var(--c-justice); color: #fff; }
.it-head-row{ display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.it-badge{ width: 78px; height: 78px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; background: var(--c-justice); flex: none; }
.it-id{ flex: 1; min-width: 280px; }
.it-type{ font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-justice); font-weight: 500; }
.it-name{ font-size: clamp(24px, 3vw, 33px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-top: 5px; }
.it-lead{ font-size: 15.5px; color: var(--ink-2); line-height: 1.6; margin-top: 12px; max-width: 76ch; }

.it-note{ display: flex; gap: 12px; font-size: 13.5px; color: #265f51; line-height: 1.55; background: var(--c-justice-soft); border: 1px solid #cfe5df; border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 22px; }
.it-note svg{ flex: none; color: var(--c-justice); margin-top: 1px; }

.it-process{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.it-pstep{ position: relative; padding: 0 16px 0 0; }
.it-pstep:not(:last-child)::after{ content: ''; position: absolute; right: 8px; top: 13px; width: 14px; height: 14px; border-right: 2px solid var(--c-justice); border-top: 2px solid var(--c-justice); transform: rotate(45deg); opacity: .5; }
.it-pnum{ width: 28px; height: 28px; border-radius: 999px; background: var(--c-justice); color: #fff; display: grid; place-items: center; font-family: var(--ff-mono); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.it-pstep h4{ font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.it-pstep p{ margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }

.it-statusterm{ display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.it-statusterm:last-child{ border-bottom: none; }
.it-statusterm .st-wrap{ flex: none; width: 200px; }
.it-statusterm .d{ font-size: 13px; color: var(--ink-2); line-height: 1.4; padding-top: 4px; }

@media (max-width: 760px){
  .it-process{ grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .it-pstep:nth-child(2)::after{ display: none; }
  .it-statusterm{ flex-direction: column; gap: 5px; }
  .it-statusterm .st-wrap{ width: auto; }
}

/* ============================================================
   RAPOARTE (rapoarte.html)
   ============================================================ */
.rp-featured{ background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.rp-featured-ic{ width: 64px; height: 64px; border-radius: var(--r-md); background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.rp-featured-body{ flex: 1; min-width: 280px; }
.rp-featured-kicker{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.rp-featured h2{ font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 7px 0 7px; line-height: 1.15; }
.rp-featured p{ margin: 0; font-size: 14px; color: rgba(255,255,255,.76); line-height: 1.55; max-width: 64ch; }
.rp-featured-meta{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.rp-featured-meta span{ display: inline-flex; align-items: center; gap: 6px; }
.rp-featured-actions{ display: flex; flex-direction: column; gap: 8px; flex: none; }

.rp-toolbar{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-cats{ display: flex; gap: 8px; flex-wrap: wrap; }
.rp-count{ margin-left: auto; font-size: 13px; color: var(--muted); }
.rp-count b{ color: var(--ink); font-family: var(--ff-mono); }

.rp-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rp-card{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 18px; display: flex; flex-direction: column; transition: border-color .14s, box-shadow .14s, transform .1s; }
.rp-card:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.rp-card-top{ display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.rp-card-cat{ font-family: var(--ff-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 3px 8px; }
.rp-card-pages{ margin-left: auto; font-size: 11.5px; color: var(--faint); font-family: var(--ff-mono); }
.rp-card h3{ font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.rp-card-sum{ font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 8px; flex: 1; }
.rp-card-tags{ display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.rp-tag{ font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.rp-card-foot{ display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.rp-period{ font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.rp-fmts{ display: flex; gap: 6px; margin-left: auto; }
.rp-fmt{ font-family: var(--ff-mono); font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 5px; cursor: pointer; border: 1px solid transparent; transition: opacity .14s; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.rp-fmt:hover{ opacity: .82; }

.rp-how{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rp-how-step{ position: relative; padding-right: 18px; }
.rp-how-step:not(:last-child)::after{ content: ''; position: absolute; right: 7px; top: 12px; width: 13px; height: 13px; border-right: 2px solid var(--accent); border-top: 2px solid var(--accent); transform: rotate(45deg); opacity: .45; }
.rp-how-num{ width: 26px; height: 26px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--ff-mono); font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.rp-how-step h4{ font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.rp-how-step p{ margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }

@media (max-width: 860px){
  .rp-grid{ grid-template-columns: 1fr; }
  .rp-how{ grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .rp-how-step:nth-child(2)::after{ display: none; }
}

/* ============================================================
   API / DATE DESCHISE (api.html)
   ============================================================ */
.api-base{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 14px 16px; margin-top: 22px; }
.api-base .lbl{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.api-base code{ font-family: var(--ff-mono); font-size: 14px; color: #fff; overflow-wrap: anywhere; min-width: 0; }
.api-base .copy{ margin-left: auto; font-family: var(--ff-sans); font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.12); border: none; border-radius: var(--r-sm); padding: 7px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .14s; }
.api-base .copy:hover{ background: rgba(255,255,255,.2); }

.api-group{ margin-bottom: 20px; }
.api-group-head{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.api-group-head .ic{ width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.api-group-head h3{ font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.api-ep{ display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 7px; box-shadow: var(--sh-1); }
.api-method{ font-family: var(--ff-mono); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; color: #fff; flex: none; width: 46px; text-align: center; }
.api-path{ font-family: var(--ff-mono); font-size: 13px; color: var(--ink); font-weight: 500; flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.api-ep-d{ font-size: 12.5px; color: var(--muted); margin-left: auto; text-align: right; max-width: 48%; }

.api-code{ background: #15171b; border-radius: var(--r-md); overflow: hidden; border: 1px solid #262a30; }
.api-code-head{ display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid #262a30; }
.api-code-head .dot{ width: 10px; height: 10px; border-radius: 999px; }
.api-code-head .t{ margin-left: 8px; font-family: var(--ff-mono); font-size: 11.5px; color: #8b929c; }
.api-code-head .copy{ margin-left: auto; font-family: var(--ff-sans); font-size: 11.5px; font-weight: 600; color: #c7ccd3; background: #262a30; border: none; border-radius: 5px; padding: 4px 9px; cursor: pointer; }
.api-code-head .copy:hover{ background: #323841; }
.api-code pre{ margin: 0; padding: 15px 16px; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-code code{ font-family: var(--ff-mono); font-size: 12.5px; line-height: 1.6; color: #d7dbe0; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-code .tok-key{ color: #7fb5e6; } .api-code .tok-str{ color: #8fcf9c; } .api-code .tok-cmd{ color: #e0a872; } .api-code .tok-flag{ color: #b69bd6; }

.api-tier{ display: flex; align-items: center; gap: 10px 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.api-tier:last-child{ border-bottom: none; }
.api-tier-name{ font-size: 14px; font-weight: 700; color: var(--ink); width: 110px; flex: none; }
.api-tier-key{ font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted); flex: 1 1 90px; min-width: 0; overflow-wrap: anywhere; }
.api-tier-limit{ font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; color: var(--accent); flex: 1 1 110px; min-width: 0; overflow-wrap: anywhere; }
.api-key-once{ margin-top: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--r-sm); padding: 10px; display: grid; gap: 8px; }
.api-key-once span{ font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.api-key-once code{ font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink); overflow-wrap: anywhere; }
.api-key-once .copy{ justify-self: start; font-family: var(--ff-sans); font-size: 11.5px; font-weight: 700; color: var(--accent); background: var(--surface); border: 1px solid var(--accent-line); border-radius: 5px; padding: 5px 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.api-key-list{ margin-top: 12px; display: grid; gap: 7px; }
.api-key-row{ display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 9px; background: var(--surface-2); }
.api-key-row span{ min-width: 0; font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-key-row code{ font-family: var(--ff-mono); font-size: 11px; color: var(--accent); flex: none; }

.api-dataset{ display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.api-dataset:last-child{ border-bottom: none; }
.api-dataset .ic{ width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.api-dataset-main{ flex: 1; min-width: 0; }
.api-dataset-name{ font-size: 14px; font-weight: 600; color: var(--ink); }
.api-dataset-d{ font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.api-dataset-meta{ font-family: var(--ff-mono); font-size: 11.5px; color: var(--faint); flex: none; text-align: right; }
.api-dl{ display: flex; gap: 5px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.api-dlbtn{ font-family: var(--ff-mono); font-size: 10.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 4px 9px; cursor: pointer; text-decoration: none; transition: all .14s; }
.api-dlbtn:hover{ border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }

@media (max-width: 760px){
  .api-ep{ flex-wrap: wrap; }
  .api-ep-d{ max-width: 100%; margin-left: 0; text-align: left; width: 100%; }
  .api-tier{ flex-wrap: wrap; }
  .api-tier-name{ width: auto; }
}

/* ============================================================
   REȚEA — relationship graph (retea.html)
   ============================================================ */
.rt-wrap{ display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
.rt-stage{ position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; height: 620px; }
.rt-svg{ width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.rt-svg:active{ cursor: grabbing; }
.rt-edge{ stroke: #c9cfd7; stroke-width: 1.5; transition: stroke .2s, stroke-width .2s, opacity .2s; }
.rt-edge.soft{ stroke-dasharray: 2 5; }
.rt-edge.hot{ stroke: var(--accent); stroke-width: 2.4; }
.rt-edge.dim{ opacity: .12; }
.rt-elabel{ font-family: var(--ff-mono); font-size: 9px; fill: var(--muted); pointer-events: none; }
.rt-node{ cursor: pointer; }
.rt-node .ring{ fill: var(--surface); stroke-width: 2; transition: stroke-width .15s; }
.rt-node:hover .ring{ stroke-width: 3.5; }
.rt-node.sel .ring{ stroke-width: 4; }
.rt-node.dim{ opacity: .22; }
.rt-node-label{ font-family: var(--ff-sans); font-size: 11px; font-weight: 600; fill: var(--ink); pointer-events: none; }
.rt-node-flag{ fill: var(--st-watch); }

.rt-hint{ position: absolute; left: 14px; bottom: 12px; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.86); backdrop-filter: blur(4px); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; display: flex; align-items: center; gap: 7px; }
.rt-reset{ position: absolute; right: 12px; top: 12px; }

/* side */
.rt-side{ display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.rt-detail-empty{ text-align: center; padding: 28px 18px; color: var(--muted); }
.rt-detail-empty svg{ color: var(--faint); margin-bottom: 10px; }
.rt-dhead{ display: flex; align-items: center; gap: 12px; }
.rt-dav{ width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; flex: none; }
.rt-dtype{ font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rt-dname{ font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.rt-dsub{ font-size: 12.5px; color: var(--muted); }
.rt-rel{ display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.rt-rel:last-child{ border-bottom: none; }
.rt-rel-dot{ width: 9px; height: 9px; border-radius: 999px; flex: none; }
.rt-rel-main{ flex: 1; min-width: 0; }
.rt-rel-name{ font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rt-rel-kind{ font-size: 11.5px; color: var(--muted); }

.rt-filter{ display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.rt-filter:last-child{ border-bottom: none; }
.rt-filter .sw{ width: 11px; height: 11px; border-radius: 3px; flex: none; }
.rt-filter .lbl{ flex: 1; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.rt-filter .ct{ font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted); }
.rt-filter .tg{ width: 38px; height: 22px; border-radius: 999px; border: none; cursor: pointer; position: relative; transition: background .16s; flex: none; }
.rt-filter .tg.on{ background: var(--accent); } .rt-filter .tg.off{ background: #cfcfcf; }
.rt-filter .tg::after{ content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 999px; background: #fff; transition: transform .16s; }
.rt-filter .tg.on::after{ transform: translateX(16px); }

.rt-klegend{ display: flex; flex-direction: column; gap: 8px; }
.rt-kli{ display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-2); }
.rt-kli .ln{ width: 22px; height: 0; border-top: 2px solid var(--muted); flex: none; }
.rt-kli .ln.dash{ border-top-style: dashed; }

@media (max-width: 1000px){
  .rt-wrap{ grid-template-columns: 1fr; }
  .rt-side{ position: static; }
  .rt-stage{ height: 480px; }
}

/* ============================================================
   CINE MĂ REPREZINTĂ (reprezentanti.html)
   ============================================================ */
.rep-picker{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 16px 18px; margin-bottom: 22px; }
.rep-picker .lbl{ font-size: 14px; font-weight: 700; color: var(--ink); }
.rep-picker select{ font-family: var(--ff-sans); font-size: 14px; font-weight: 600; color: var(--ink); border: 1.5px solid var(--ink); background: var(--surface); border-radius: var(--r-sm); padding: 9px 13px; cursor: pointer; min-width: 200px; }
.rep-picker select:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rep-picker .note{ margin-left: auto; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }

.rep-grouphead{ display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; }
.rep-grouphead h2{ font-size: 17px; font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; line-height: 1.2; }
.rep-grouphead h2::before{ content: ''; width: 8px; height: 8px; background: var(--accent); flex: none; }
.rep-grouphead .ct{ font-family: var(--ff-mono); font-size: 12px; color: var(--muted); margin-left: auto; }

.rep-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rep-card{ display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 14px; text-decoration: none; transition: border-color .14s, box-shadow .14s, transform .1s; }
.rep-card:hover{ border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.rep-av{ width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; position: relative; }
.rep-av .fl{ position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; border-radius: 999px; background: var(--st-watch); border: 2px solid var(--surface); display: grid; place-items: center; }
.rep-main{ flex: 1; min-width: 0; }
.rep-name{ font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.rep-card:hover .rep-name{ color: var(--accent); }
.rep-role{ font-size: 12.5px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 7px; }
.rep-pchip{ font-family: var(--ff-mono); font-size: 10px; font-weight: 700; color: #fff; border-radius: 4px; padding: 1px 6px; }

.rep-engage{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rep-eng{ display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px; }
.rep-eng .ic{ width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.rep-eng h4{ font-size: 14px; font-weight: 700; }
.rep-eng p{ margin: 3px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }

@media (max-width: 860px){ .rep-grid{ grid-template-columns: 1fr 1fr; } .rep-engage{ grid-template-columns: 1fr; } }
@media (max-width: 560px){ .rep-grid{ grid-template-columns: 1fr; } .rep-picker .note{ margin-left: 0; width: 100%; } }

/* footer */
.foot{ padding: 22px 0 40px; color: var(--muted); font-size: 12.5px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); }
.foot .grow{ flex: 1; }

/* ---------- mobile AI bar ---------- */
.m-aibar{ display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .stage-grid{ grid-template-columns: 1fr; }
  .ai-panel{ height: 560px; }
  .interest-grid{ grid-template-columns: repeat(2, 1fr); }
  .nav-links{ display: none; }
}
@media (max-width: 720px){
  .wrap{ padding: 0 16px; }
  .nav-search{ display: none; }
  .hero{ padding: 26px 0 8px; }
  .hero-lead{ font-size: 15px; }
  .trust-stats{ margin-left: 0; width: 100%; }
  .feed-tag{ width: 56px; }
  .feed-tag span.t{ display: none; }
  /* desktop AI panel hidden; replaced by sticky bar + sheet */
  .stage-grid .ai-panel{ display: none; }
  .m-aibar{
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; padding: 10px 12px; box-shadow: var(--sh-pop);
  }
  .m-aibar .ic{ width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
  .m-aibar input{ flex: 1; border: none; outline: none; background: transparent; font-family: var(--ff-sans); font-size: 14px; }
  .m-sheet{ position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; }
  .m-sheet-scrim{ position: absolute; inset: 0; background: rgba(20,26,36,.4); }
  .m-sheet .ai-panel{ display: flex; position: absolute; left: 0; right: 0; bottom: 0; height: 84vh; border-radius: 18px 18px 0 0; animation: drawerIn .26s ease; }
  .interest-grid{ grid-template-columns: 1fr; }
}
