/* DOCKET: light desk with a side rail. Green-black ink, Robinhood green, three level colours. */
:root {
  --bg: #f2f6f2; --card: #ffffff; --ink: #121a14; --text: #1c291f; --muted: #5c6b61; --line: #d7e3d8; --soft: #e5f3e4;
  --green: #00C805; --a1: #06730f; --a2: #00C805; --grad: linear-gradient(135deg, var(--green), #00a806);
  --l3: #e5484d; --l2: #e09400; --l1: #9aa89c; --buy: #0b8a4b; --sell: #d6455a;
  --sans: 'Inter', 'Segoe UI', Arial, sans-serif; --mono: 'JetBrains Mono', Consolas, monospace;
  --rail: 236px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); }
a { color: var(--a1); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .88em; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; }
[hidden] { display: none !important; }

/* ---- side rail ---- */
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); background: var(--ink); color: #c5d4c8; display: flex; flex-direction: column; padding: 22px 14px 18px; z-index: 5; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 700; font-size: 19px; letter-spacing: .06em; padding: 0 8px 22px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; display: block; }
.rail nav { display: flex; flex-direction: column; gap: 3px; }
.rail nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #b7c9bb; font-weight: 500; }
.rail nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.rail nav a.on { background: var(--green); color: var(--ink); }
.rail-foot { margin-top: auto; display: grid; gap: 12px; }
.status { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8ea394; padding: 0 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #5d7264; flex: none; }
.status.live i { background: #2fd28a; box-shadow: 0 0 0 4px rgba(47, 210, 138, .16); }
.status.stale i { background: var(--l2); }
.ca { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font: 600 13px var(--sans); cursor: pointer; }
.ca:hover { text-decoration: none; border-color: rgba(255, 255, 255, .3); }
.ca code { color: #b7c9bb; }
.ca.done { border-color: #2fd28a; }

/* ---- main column ---- */
.main { margin-left: var(--rail); padding: 44px clamp(20px, 4vw, 56px) 30px; max-width: calc(var(--rail) + 1080px); }
section { margin-bottom: 44px; }
.eyebrow { margin: 0 0 12px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--a1); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; max-width: 15ch; }
.grad { background: linear-gradient(135deg, var(--a1), #00a806); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.lede { font-size: 17px; color: #3a4a3e; max-width: 62ch; margin: 16px 0 22px; }
h2 { font-size: 21px; margin: 34px 0 14px; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.head h2 { margin: 0; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); max-width: 78ch; }
.empty { padding: 26px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 14px; margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14.5px var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #c5cbdc; text-decoration: none; }
.btn.primary { background: var(--green); border-color: transparent; color: var(--ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 9px; }

.ask { display: flex; gap: 10px; flex-wrap: wrap; max-width: 760px; }
.ask input, .search { flex: 1 1 280px; min-width: 0; padding: 12px 15px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 500 14.5px var(--mono); outline: none; }
.ask input:focus, .search:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 200, 5, .18); }
.ask input.bad { border-color: var(--l3); }
.search { flex: 0 1 240px; }
.search.wide { flex: none; width: 100%; max-width: 620px; display: block; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 1px 2px rgba(11, 16, 32, .04); }
.panel h2 { margin-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.panel .tile { background: var(--bg); }
.tile b { display: block; font: 700 26px/1.1 var(--sans); color: var(--ink); letter-spacing: -.02em; }
.tile span { font-size: 12.5px; color: var(--muted); }
.tile.hot b { color: var(--l3); }
.holdings { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.holdings a { display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 11px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13px; }
.holdings b { font-family: var(--mono); }
.holdings span { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filters .chips { margin: 0; }
.chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 13px var(--sans); cursor: pointer; }
.chips button:hover { border-color: #c5cbdc; }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips i { font-style: normal; opacity: .6; margin-left: 2px; font-family: var(--mono); font-size: 12px; }

/* ---- the list of entries ---- */
.list { display: grid; gap: 6px; }
.day { margin: 14px 0 2px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.day:first-child { margin-top: 0; }
.row { display: grid; grid-template-columns: 92px 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text); }
.row:hover { border-color: #c5cbdc; text-decoration: none; box-shadow: 0 2px 10px rgba(11, 16, 32, .05); }
.lvl { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.dot.l3 { background: var(--l3); } .dot.l2 { background: var(--l2); } .dot.l1 { background: var(--l1); }
.row.l3 .lvl { color: var(--l3); }
.row.l3 { border-left: 3px solid var(--l3); }
.sym { font: 700 14px var(--mono); color: var(--ink); }
.what { min-width: 0; }
.what b { display: block; color: var(--ink); font-weight: 600; }
.what small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.buy .what b { color: var(--buy); }
.kind { font-size: 12px; color: var(--muted); padding: 4px 9px; border-radius: 999px; background: var(--soft); white-space: nowrap; }

/* ---- companies ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 9px; }
.co { display: grid; gap: 2px; padding: 13px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; color: var(--text); }
.co:hover { border-color: var(--a1); text-decoration: none; }
.co b { font: 700 15px var(--mono); color: var(--ink); }
.co span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co small { font-size: 12px; color: var(--text); margin-top: 5px; }
.co.hot { border-left: 3px solid var(--l3); }
#co-detail { margin-bottom: 18px; scroll-margin-top: 16px; }

/* ---- alerts ---- */
.builder { margin: 6px 0 20px; }
.builder label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.way h3 { font-size: 17px; }
.way p { margin: 0; color: #3a4a3e; font-size: 14px; }
.way > div { margin-top: auto; padding-top: 8px; }
.copy { display: flex; gap: 8px; align-items: center; }
.copy code { flex: 1; min-width: 0; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.soon-note { font-size: 13.5px; color: var(--muted); background: var(--bg); border-radius: 9px; padding: 9px 11px; }
.sample { background: var(--ink); color: #e3efe4; border-radius: 14px; padding: 18px; font: 500 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 620px; margin: 0; }

/* ---- tables on How and Token ---- */
.table { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 170px 150px 1fr; gap: 14px; padding: 13px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.tr:first-child { border-top: 0; }
.tr.th { font: 500 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.tr b { color: var(--ink); }
.levels .tr, #tokenomics .tr { grid-template-columns: 170px 1fr; }
.levels .tr span:first-child { display: flex; align-items: center; gap: 9px; }
.ca-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; max-width: 620px; }
.ca-box code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 13.5px; }
.links { display: flex; gap: 10px; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; color: var(--muted); font-size: 12.5px; max-width: 86ch; }
.foot-links { display: flex; gap: 16px; margin-bottom: 8px; font-weight: 600; }

/* ---- narrow screens: the rail becomes a top bar ---- */
@media (max-width: 860px) {
  .rail { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; align-items: center; padding: 10px 12px; gap: 6px; }
  .brand { padding: 0 6px 0 0; font-size: 0; }
  .brand img { width: 32px; height: 32px; }
  .rail nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; flex: 1; gap: 2px; }
  .rail nav::-webkit-scrollbar { display: none; }
  .rail nav a { padding: 8px 10px; white-space: nowrap; font-size: 14px; }
  .rail nav svg { display: none; }
  .rail-foot { display: none; }
  .main { margin-left: 0; padding: 26px 16px 24px; }
  .row { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 11px 13px; }
  .row .lvl { grid-column: 1; }
  .row .sym { grid-column: 2; justify-self: start; }
  .row .what { grid-column: 1 / -1; }
  .row .kind { grid-column: 1 / -1; justify-self: start; }
  .what small { white-space: normal; }
  .tr, .levels .tr, #tokenomics .tr { grid-template-columns: 1fr; gap: 3px; }
  .tr.th { display: none; }
  .search { flex: 1 1 100%; }
}
