/* Sanctioned-economics dashboard — dark gold theme matching the viewer. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #080810; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; padding: 0 0 60px; }
a { color: #e8c040; }
.ec-head { padding: 26px 28px 14px; border-bottom: 1px solid rgba(232,192,64,0.25); }
.ec-brand { font-size: 0.68rem; letter-spacing: 0.18em; color: #e8c040; font-weight: 700; }
.ec-head h1 { font-size: 1.5rem; margin: 6px 0 4px; color: #f0e8d0; }
.ec-sub { color: #999; font-size: 0.82rem; }
.ec-nav { margin-top: 10px; font-size: 0.8rem; }
main { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ec-sec { margin-top: 26px; }
.ec-sec h2 { font-size: 1.05rem; color: #e8c040; margin-bottom: 8px; }
.ec-fine { font-size: 0.72rem; color: #777; font-weight: 400; }
.ec-hint { font-size: 0.75rem; color: #888; margin-bottom: 8px; }
.lg-bm { color: #e8c040; font-weight: 700; } .lg-sat { color: #777; }
.mut { color: #777; font-size: 0.72em; }
/* comparison table */
.ec-tablewrap { overflow-x: auto; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; }
.ec-table { border-collapse: collapse; width: 100%; min-width: 1180px; font-size: 0.76rem; }
.ec-table th { background: #14141f; color: #e8c040; text-align: left; padding: 8px 10px; position: sticky; top: 0; white-space: nowrap; }
.ec-table td { padding: 7px 10px; border-top: 1px solid rgba(255,255,255,0.06); vertical-align: top; }
.ec-table tr.bm td { background: rgba(232,192,64,0.07); }
.ec-table tr.early td { opacity: 0.62; }
.ec-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ec-table td.pj { white-space: nowrap; }
.ec-table td.hl { color: #e8c040; font-weight: 700; }
.ec-table td.warn { color: #e8a040; font-weight: 700; }
/* controls: project picker + price deck */
#ec-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pick { position: relative; }
.pick button { padding: 8px 16px; border: 1px solid rgba(232,192,64,0.5); border-radius: 8px;
  background: rgba(232,192,64,0.07); color: #e8c040; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.pick-list { display: none; position: absolute; z-index: 20; margin-top: 6px; padding: 8px;
  background: #101018; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; min-width: 240px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.55); }
.pick-list.open { display: block; }
.pick-list label { display: block; padding: 5px 8px; font-size: 0.78rem; cursor: pointer; border-radius: 4px; }
.pick-list label:hover { background: rgba(255,255,255,0.06); }
.seg { display: flex; gap: 6px; align-items: center; font-size: 0.78rem; color: #999; }
.seg button { padding: 7px 13px; border: 1px solid rgba(255,255,255,0.14); border-radius: 6px;
  background: rgba(255,255,255,0.04); color: #aaa; font-size: 0.76rem; font-weight: 700; cursor: pointer; }
.seg button.on { background: #e8c040; color: #111; border-color: #e8c040; }
/* FID status pills */
.pill { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 0.68rem; font-weight: 700; }
.pill.producing { background: rgba(127,201,138,0.15); color: #7fc98a; }
.pill.taken { background: rgba(232,192,64,0.15); color: #e8c040; }
.pill.planned, .pill.tbc { background: rgba(119,136,170,0.15); color: #7788aa; }
.pill.early { background: rgba(255,255,255,0.06); color: #777; }
/* Soft-requirements matrix */
#infra-table { min-width: 900px; }
#infra-table th { white-space: normal; min-width: 110px; }
#infra-table .score { color: #e8c040; font-size: 0.7rem; }
.inf { white-space: nowrap; }
.inf b { display: inline-block; width: 20px; text-align: center; margin-right: 4px; }
.inf span { font-size: 0.68rem; color: #888; white-space: normal; }
.inf-yes b { color: #7fc98a; }
.inf-partial b { color: #e8c040; }
.inf-no b { color: #cc6666; }
.inf-nd b, .inf-na b { color: #555; }
.inf-t { font-size: 0.72rem; color: #bbb; }
.prof { border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; }
.prof.bm { border-color: rgba(232,192,64,0.4); }
.prof.early { opacity: 0.7; }
.prof-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.prof-head b { color: #f0e8d0; }
.prof-tot { margin-left: auto; color: #e8c040; font-size: 0.78rem; font-weight: 700; }
.pbars { display: flex; gap: 5px; align-items: flex-end; overflow-x: auto; margin-bottom: 6px; }
.pb { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 34px; }
.pb i { display: block; width: 22px; background: linear-gradient(180deg, #77aa55, #3a5a2e); border-radius: 3px 3px 0 0; }
.prof.bm .pb i { background: linear-gradient(180deg, #e8c040, #8a6d1f); }
.pb b { font-size: 0.6rem; color: #666; font-weight: 400; }
/* P/NAV discount chart — rows are <details>, click to expand the maths */
.pnav { display: block; margin-bottom: 7px; font-size: 0.76rem; border-radius: 6px; }
.pnav-sum { display: flex; gap: 10px; align-items: center; cursor: pointer; list-style: none; padding: 4px 6px; border-radius: 6px; }
.pnav-sum::-webkit-details-marker { display: none; }
.pnav-sum:hover { background: rgba(232,192,64,0.05); }
.pnav[open] .pnav-sum { background: rgba(232,192,64,0.07); }
.pnav-sum > b { width: 44px; flex-shrink: 0; color: #f0e8d0; }
.pnav-sum > .mut { width: 300px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnav-body { margin: 6px 0 12px 54px; padding: 10px 14px; border: 1px solid rgba(232,192,64,0.25); border-radius: 8px; background: rgba(232,192,64,0.03); font-size: 0.74rem; line-height: 1.55; }
.pnav-body p { margin-bottom: 8px; color: #bbb; }
.pnav-body p b { color: #f0e8d0; }
.pnav-t { min-width: 900px; }
.pnav-track { position: relative; flex: 1; height: 18px; background: rgba(255,255,255,0.04); border-radius: 4px; }
.pnav-track i { display: block; height: 100%; border-radius: 4px; }
.pnav-track i.deep { background: linear-gradient(90deg, #3a5a2e, #7fc98a); }
.pnav-track i.disc { background: linear-gradient(90deg, #8a6d1f, #e8c040); }
.pnav-track i.prem { background: linear-gradient(90deg, #8a3a3a, #cc6666); }
.pnav-track i.none { width: 0; }
.pnav-track em { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #888; }
.pnav-num { width: 380px; flex-shrink: 0; text-align: right; color: #bbb; }
.pnav-num b { color: #e8c040; }
@media (max-width: 700px) { .pnav-sum > .mut, .pnav-num { display: none; } .pnav-body { margin-left: 0; } }
/* milestone gantt */
.tl-row { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.tl-row > b { width: 210px; flex-shrink: 0; font-size: 0.74rem; text-align: right; color: #bbb; font-weight: 600; }
.tl-row.early > b { opacity: 0.6; }
.tl-track { position: relative; flex: 1; height: 30px; background: rgba(255,255,255,0.03); border-radius: 5px; }
.tl-track.axis { height: 18px; background: none; }
.tl-track.axis span { position: absolute; top: 0; font-size: 0.62rem; color: #666; transform: translateX(-50%); }
.ms { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: 0.62rem; white-space: nowrap; padding-left: 8px; color: #bbb; }
.ms::before { content: '●'; position: absolute; left: -2px; font-size: 0.7rem; }
.ms.done { color: #7fc98a; } .ms.done::before { color: #7fc98a; }
.ms.active { color: #e8c040; } .ms.active::before { color: #e8c040; }
.ms.planned { color: #7788aa; } .ms.planned::before { color: #55607a; }
.ec-legend { font-size: 0.72rem; color: #888; margin-top: 8px; }
.ec-legend .ms { position: static; transform: none; padding-left: 4px; }
.ec-foot { margin-top: 30px; font-size: 0.74rem; color: #888; line-height: 1.5; }
.ec-foot p { margin-bottom: 8px; }
.ec-foot a { font-size: 0.7rem; }
@media (max-width: 700px) { .tl-row > b { width: 110px; } .ms { font-size: 0; } .ms::before { font-size: 0.8rem; } }
