/* lyren-dashboard.css — matches Lyren homepage look */

:root{
  --c900:#663d29;
  --c700:#9a674d;
  --c600:#b97c5d;
  --c500:#da926e;
  --c300:#b59d55;
  --c200:#e3c56b;

  --bg0:#070606;
  --bg1:#0d0b0a;
  --stroke: rgba(227,197,107,.16);
  --text:#f2ece8;
  --muted: rgba(242,236,232,.72);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}

body{
  background:
    radial-gradient(1200px 520px at 18% 12%, rgba(227,197,107,.10), transparent 60%),
    radial-gradient(900px 460px at 84% 0%, rgba(102,61,41,.22), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(227,197,107,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227,197,107,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.35;
  mix-blend-mode: screen;
}

/* Typography helpers */
.ly-h1{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  margin:0;
}
.ly-muted{ color: var(--muted); }
.ly-mono{ font-family: var(--mono); }
.ly-label{
  color: rgba(242,236,232,.78);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ly-value{
  color: rgba(242,236,232,.95);
  font-weight: 800;
  font-size: 1.02rem;
}
.ly-note{
  color: rgba(242,236,232,.72);
  font-size: .95rem;
  line-height: 1.45;
}

/* Chips / pills */
.ly-chip{
  display:inline-flex;
  align-items:center;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(227,197,107,.18);
  background: rgba(0,0,0,.20);
  color: rgba(242,236,232,.88);
  font-weight: 900;
  font-size: .85rem;
}
.ly-chip-ok{
  border-color: rgba(69, 218, 150, .25);
  background: rgba(69, 218, 150, .10);
  color: rgba(230,255,245,.92);
}
.ly-pill{
  display:inline-flex;
  align-items:center;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(227,197,107,.18);
  background: rgba(0,0,0,.20);
  color: rgba(242,236,232,.88);
  font-weight: 900;
  font-size: .82rem;
}
.ly-pill-soft{
  border-color: rgba(227,197,107,.12);
  color: rgba(227,197,107,.92);
  background: rgba(227,197,107,.06);
}
.ly-inline-chip{
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(227,197,107,.16);
  background: rgba(0,0,0,.25);
  margin-inline: 4px;
}

/* Divider */
.ly-divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(227,197,107,.18), transparent);
}

/* Card */
.ly-card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(10px);
}
.ly-card-head{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(227,197,107,.10);
  background:
    radial-gradient(700px 220px at 30% 0%, rgba(227,197,107,.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.08), transparent);
}
.ly-card-body{ padding: 18px; }
.ly-card-title{
  font-weight: 900;
  font-size: 1.12rem;
}

/* Topbar */
.ly-topbar{
  position: sticky;
  top: 0;
  z-index: 1030;
  border-radius: 16px;
  border: 1px solid rgba(227,197,107,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.ly-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
}
.ly-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
  min-width: 220px;
}
.ly-brandmark{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(227,197,107,.18);
  background:
    radial-gradient(circle at 35% 30%, rgba(227,197,107,.35), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(102,61,41,.55), transparent 60%),
    rgba(0,0,0,.35);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.ly-brandtext{ display:flex; flex-direction:column; line-height:1.05; }
.ly-brandname{ font-weight: 900; letter-spacing:-0.01em; }
.ly-brandsub{ color: var(--muted); font-size: .92rem; }

.ly-topbar-right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.ly-navpill{
  display:flex;
  align-items:center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(227,197,107,.14);
  background: rgba(0,0,0,.22);
}
.ly-navpill a{
  text-decoration:none;
  color: rgba(242,236,232,.78);
  font-weight: 900;
  font-size: .92rem;
  padding: 8px 10px;
  border-radius: 999px;
}
.ly-navpill a:hover{
  color: rgba(242,236,232,.92);
  background: rgba(227,197,107,.06);
}
.ly-navpill a.active{
  color: rgba(20,14,12,.95);
  background: rgba(227,197,107,.92);
  border: 1px solid rgba(227,197,107,.22);
}

/* Buttons */
.ly-btn{
  background: linear-gradient(180deg, rgba(227,197,107,.95), rgba(181,157,85,.92));
  border: 1px solid rgba(0,0,0,.25);
  color: rgba(20,14,12,.95);
  font-weight: 900;
  border-radius: 12px;
  padding: 10px 14px;
}
.ly-btn:hover{ filter: brightness(1.03); }
.ly-btn-outline{
  border-radius: 12px;
  border: 1px solid rgba(227,197,107,.22);
  background: rgba(0,0,0,.18);
  color: rgba(242,236,232,.90);
  font-weight: 900;
  padding: 10px 14px;
}
.ly-btn-outline:hover{
  background: rgba(227,197,107,.06);
}
.ly-btn-ghost{
  border-radius: 12px;
  border: 1px solid rgba(227,197,107,.14);
  background: rgba(0,0,0,.14);
  color: rgba(242,236,232,.90);
  font-weight: 900;
  padding: 10px 12px;
}
.ly-btn-ghost:hover{ background: rgba(0,0,0,.22); }

/* Key box */
.ly-keybox{
  border-radius: 16px;
  border: 1px solid rgba(227,197,107,.14);
  background: rgba(0,0,0,.18);
  padding: 14px;
}
.ly-key{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(227,197,107,.14);
  background: rgba(0,0,0,.28);
  overflow:auto;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: .01em;
}

/* Hero/KPIs */
.ly-hero{
  border-radius: 18px;
  border: 1px solid rgba(227,197,107,.12);
  background: rgba(0,0,0,.18);
  padding: 16px 18px;
}
.ly-kpis{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ly-kpi{
  border-radius: 14px;
  border: 1px solid rgba(227,197,107,.12);
  background: rgba(0,0,0,.16);
  padding: 10px 12px;
  min-width: 160px;
}
.ly-kpi-label{
  color: rgba(242,236,232,.70);
  font-weight: 900;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.ly-kpi-value{
  margin-top: 6px;
  font-weight: 900;
}

/* Alert (pageMsg) */
.ly-alert{
  border-radius: 14px;
  border: 1px solid rgba(227,197,107,.18);
  background: rgba(227,197,107,.08);
  padding: 12px 14px;
  color: rgba(242,236,232,.92);
}

/* Mobile */
@media (max-width: 576px){
  .ly-topbar-inner{ flex-direction: column; align-items: stretch; }
  .ly-brand{ min-width: 0; }
  .ly-topbar-right{ justify-content: space-between; }
  .ly-navpill{ width: 100%; justify-content: space-between; }
}