
@font-face{
  font-family:"Horizon";
  src:url("fonts/horizon.woff") format("woff");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root{
  --cse-ink:#000000;
  --cse-terminal:#000000;
  --cse-muted:rgba(0,0,0,.65);
  --cse-border:rgba(0,0,0,.10);
  --cse-surface:#ffffff;
  --cse-soft:#ffffff;
  --cse-soft2:#ffffff;
  --cse-accent:#91F88D;
  --cse-up:#91F88D;
  --cse-down:#000000;
  --cse-radius:14px;
  --cse-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.cse-shell{
  max-width:1100px;
  margin:0 auto;
  padding:18px 16px 36px;
  color:var(--cse-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.cse-terminalbar{
  background: var(--cse-terminal);
  color:#fff;
  border-radius: var(--cse-radius);
  padding:14px 14px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--cse-shadow);
}

.cse-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.cse-brand{
  display:flex;
  align-items:baseline;
  gap:10px;
}
.cse-brand .title{
  font-size:18px;
  font-weight:800;
  letter-spacing:.2px;
  margin:0;
}
.cse-badge{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background: var(--cse-accent);
  border:1px solid rgba(0,0,0,.15);
  color:#000;
}

.cse-search{
  flex:1 1 320px;
  max-width:520px;
  display:flex;
  gap:8px;
  align-items:center;
}
.cse-search input{
  width:100%;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size:14px;
  outline:none;
}
.cse-search input::placeholder{ color: rgba(255,255,255,.65); }
.cse-search button{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background: rgba(255,255,255,.10);
  color:#fff;
  font-weight:700;
}

.cse-tape{
  margin-top:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}
.cse-tape .row{
  display:flex;
  gap:18px;
  white-space:nowrap;
  padding:10px 12px;
  font-size:13px;
  color: rgba(255,255,255,.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.cse-tape .sym{font-weight:800; letter-spacing:.3px;}
.cse-tape .chg.up{ color: #7ff3e3; font-weight:700;}
.cse-tape .chg.down{ color: rgba(255,255,255,.80); font-weight:700;}
.cse-tape .dot{ opacity:.45; }

.cse-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:12px;
  margin-top:12px;
}
@media (max-width: 980px){ .cse-grid{ grid-template-columns: 1fr; } }

.cse-card{
  border:1px solid var(--cse-border);
  border-radius: var(--cse-radius);
  background: var(--cse-surface);
  padding:12px 14px;
  box-shadow: var(--cse-shadow);
}
.cse-card h2{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.2px;
}
.cse-sub{ color: var(--cse-muted); font-size:12px; margin-top:-4px; }

.cse-indices{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:10px;
}
@media (max-width: 700px){ .cse-indices{ grid-template-columns: 1fr; } }

.cse-indexbox{
  border:1px solid var(--cse-border);
  border-radius:12px;
  padding:10px 12px;
  background: var(--cse-soft2);
}
.cse-indexbox .name{ font-size:12px; color: var(--cse-muted); }
.cse-indexbox .val{ font-size:18px; font-weight:800; margin-top:4px; }
.cse-indexbox .chg{ font-size:12px; font-weight:700; margin-top:4px; }
.cse-indexbox .up{ color: var(--cse-up); }
.cse-indexbox .down{ color: var(--cse-down); opacity:.85; }

.cse-table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--cse-border);
}
.cse-table th, .cse-table td{
  padding:10px 10px;
  border-bottom:1px solid var(--cse-border);
  font-size:13px;
  text-align:left;
}
.cse-table th{
  font-size:12px;
  color: var(--cse-muted);
  background: var(--cse-soft2);
}
.cse-table tr:last-child td{ border-bottom:none; }

.cse-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background: var(--cse-soft);
  border:1px solid var(--cse-border);
}
.cse-pill.up{ background: rgba(15,118,110,.10); border-color: rgba(15,118,110,.25); color: var(--cse-teal); }
.cse-pill.down{ background: rgba(17,24,39,.06); color: var(--cse-ink); opacity:.9; }

.cse-kpi{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
.cse-kpi .box{
  border:1px solid var(--cse-border);
  border-radius:12px;
  padding:10px 12px;
  background: var(--cse-soft2);
}
.cse-kpi .label{ font-size:12px; color: var(--cse-muted); }
.cse-kpi .num{ font-size:18px; font-weight:800; margin-top:4px; }

.cse-prose h1{ margin:0 0 8px 0; }
.cse-prose .cse-disclosure{ font-size:12px; color: var(--cse-muted); margin-top:14px; }
.cse-facts{ padding-left:18px; }

/* Horizon (Bold) for entity page main title only */
.cse-entity h1,
.cse-entity .cse-title{
  font-family:"Horizon-Bold", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: .2px;
}


/* Highlighted titles: black text on accent rectangle */
.cse-title-hl{
  display:inline-block;
  background: var(--cse-accent);
  color: #000;
  padding: 6px 10px;
  border-radius: 10px;
  line-height: 1.1;
}

/* Entity hero layout */
.cse-entity-hero{ padding: 16px; }
.cse-entity-hero-grid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: start;
}
.cse-hero{ border-radius: 18px; border:1px solid var(--cse-border); overflow:hidden; background:#fff; }
.cse-hero img{ width:100%; height: 420px; object-fit:cover; object-position:center; display:block; }
.cse-hero--empty{ height:420px; display:flex; align-items:center; justify-content:center; }
.cse-hero-placeholder{ color: var(--cse-muted); font-size: 13px; }
@media (max-width: 860px){
  .cse-entity-hero-grid{ grid-template-columns: 1fr; }
  .cse-hero img, .cse-hero--empty{ height: 320px; }
}

.cse-pills{ display:flex; gap: 8px; flex-wrap:wrap; margin: 10px 0 12px; }
.cse-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius:999px;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#000;
  font-size: 12px;
  font-weight: 700;
}
.cse-pill--accent{
  background: var(--cse-accent);
  border-color: rgba(0,0,0,.15);
}

.cse-stats{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 6px; }
.cse-stat{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 12px 12px;
  background:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}
.cse-stat .k{ font-size: 12px; font-weight: 800; color: rgba(0,0,0,.65); letter-spacing:.2px; }
.cse-stat .v{ font-size: 22px; font-weight: 900; margin: 6px 0 2px; }
.cse-stat .s{ font-size: 12px; color: rgba(0,0,0,.65); }
@media (max-width: 600px){
  .cse-stats{ grid-template-columns: 1fr; }
}

.cse-entity-body{ padding: 18px; }
.cse-h2{
  display:inline-block;
  background: var(--cse-accent);
  color:#000;
  padding: 6px 10px;
  border-radius: 10px;
}
.cse-section{ margin: 10px 0 22px; }
.cse-sub--tight{ margin-top: 6px; }

/* PQ card */
.cse-pq{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 14px 16px;
  background:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}
.cse-pq-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cse-pq .tag{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  background: #000;
  color: var(--cse-accent);
  padding: 6px 10px;
  border-radius: 999px;
}
.cse-pq .label{ font-size: 12px; font-weight: 900; color:#000; }
.cse-pq-main{ display:flex; align-items:baseline; justify-content:space-between; margin-top: 10px; gap: 12px; flex-wrap:wrap; }
.cse-pq .big{ font-size: 28px; font-weight: 950; }
.cse-pq .score{ font-size: 14px; font-weight: 900; color: rgba(0,0,0,.65); }


/* Entity pages: force H1 to use hosted HORIZON BOLD (no other changes) */
.single-cse_entity h1,
.single-cse-entity h1,
.single-cse_entity .cse-title,
.single-cse-entity .cse-title,
.cse-entity h1,
.cse-entity .cse-title {
  font-family: 'HORIZON BOLD', 'Horizon-Bold', 'Horizon', sans-serif !important;
}



/* CSE: Trending badge (logic only; minimal styling) */
.cse-trending-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:12px;
  line-height:1.4;
  background:#91F88D;
  color:#000;
  vertical-align:middle;
}
