/* subpage content (loaded after frame.css) */
:root{--ink-soft:#d9d0bd;--edge:rgba(0,0,0,.45);--rule:rgba(212,163,90,.35);--card:linear-gradient(180deg,#3a3433,#2b2626);}
.content{margin-top:18px;padding:10px 40px 30px;}
.content>:first-child{margin-top:20px;}
@media (max-width:760px){.content{margin-top:12px;padding:6px 16px 22px;}}
/* Content */

.seam{display:flex;align-items:center;gap:12px;margin:30px 0 22px;}
.seam::before,.seam::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--rule),transparent);}
.seam .gem{width:8px;height:8px;background:var(--gold);transform:rotate(45deg);flex:none;}
h2{font-family:var(--serif);font-size:1.9rem;font-weight:800;color:#fff;margin:34px 0 12px;line-height:1.15;}
h3{font-family:var(--serif);font-size:1.25rem;color:var(--gold);margin:24px 0 8px;}
p{margin-bottom:16px;max-width:46em;color:var(--ink-soft);}
ul{margin:0 0 16px 22px;max-width:44em;color:var(--ink-soft);}
li{margin-bottom:8px;}
strong{color:#fff;}
article{max-width:46em;}
article p{font-size:1.05rem;line-height:1.7;}
article a,.note a,main p a,main li a{color:var(--gold);}
article a:hover{color:var(--gold-hi);}
article p:first-of-type::first-letter{font-family:var(--serif);font-size:3.4em;line-height:.8;float:left;margin:.08em .12em 0 0;color:var(--gold);}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;}
.note{background:rgba(0,0,0,.28);border-left:3px solid var(--gold);padding:14px 18px;margin:22px 0;color:var(--muted);font-size:.94rem;max-width:46em;}
.note strong{color:#fff;}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:30px 0 14px;}
.sec-head h2{margin:0;}
.sec-head a{font-size:.82rem;color:var(--muted);}
.sec-head a:hover{color:var(--gold);}
.stamp{color:var(--muted);font-size:.78rem;margin:-6px 0 14px;}

/* Cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:18px 0 8px;}
.card{display:block;background:var(--card);border:1px solid var(--edge);border-radius:5px;padding:18px 20px;color:var(--ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 .1em .25em rgba(0,0,0,.35);transition:border-color .15s,transform .15s;}
.card:hover{outline:1px solid var(--gold);}
.card .tick{font-family:var(--serif);color:var(--gold);font-size:1.2rem;font-weight:800;margin-bottom:4px;}
.card .name{font-weight:700;color:#fff;margin-bottom:6px;}
.card .desc{color:var(--muted);font-size:.92rem;}
.card.photo{padding:0;overflow:hidden;}
.card.photo .art{height:150px;background-size:cover;background-position:center;filter:brightness(.88);border-bottom:1px solid var(--edge);}
.card.photo .body{padding:16px 18px;}
.tag{display:inline-block;background:rgba(0,0,0,.3);border:1px solid var(--rule);color:var(--gold);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;padding:3px 10px;border-radius:3px;margin-bottom:10px;}

/* Live strip + table */
.strip{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0 4px;}
.stat{background:rgba(0,0,0,.28);border:1px solid var(--edge);border-radius:6px;padding:10px 14px;min-width:120px;}
.stat .k{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);}
.stat .v{font-family:var(--serif);font-size:1.35rem;font-weight:800;color:#fff;}
.up{color:#7fd77f;}.down{color:#e8826a;}.flat{color:var(--muted);}
.badge{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:7px;color:#1a1510;font-weight:800;font-size:.6rem;letter-spacing:.06em;}
.badge.buy{background:#6fcf62;}.badge.hold{background:#e9c54a;}.badge.sell{background:#e0684d;}.badge.na{background:#5a5048;color:var(--ink);}
table.sig{width:100%;border-collapse:separate;border-spacing:0 8px;margin:10px 0;}
table.sig th{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);text-align:left;padding:4px 12px;cursor:pointer;white-space:nowrap;}
table.sig th.r,table.sig td.r{text-align:right;}
table.sig th:hover{color:var(--gold);}
table.sig td{background:var(--card);padding:12px;border-top:1px solid var(--edge);border-bottom:1px solid var(--edge);vertical-align:middle;}
table.sig td:first-child{border-left:1px solid var(--edge);border-radius:8px 0 0 8px;}
table.sig td:last-child{border-right:1px solid var(--edge);border-radius:0 8px 8px 0;}
table.sig tr:hover td{border-color:rgba(227,184,108,.7);}
table.sig .tk{font-family:var(--serif);font-size:1.25rem;font-weight:800;color:#fff;}
table.sig .nm{font-size:.8rem;color:var(--muted);}
table.sig .px{font-family:var(--serif);font-size:1.15rem;font-weight:800;color:#fff;}
.range{position:relative;height:6px;background:#4a3f31;border-radius:3px;min-width:90px;}
.range i{position:absolute;top:-3px;width:12px;height:12px;border-radius:50%;background:var(--gold);transform:translateX(-50%);box-shadow:0 0 0 2px #1b1714;}
.range small{position:absolute;top:10px;font-size:.62rem;color:var(--muted);}
.range small.l{left:0;}.range small.h{right:0;}
.score{font-family:var(--serif);font-size:1.5rem;font-weight:800;color:var(--gold);}
.bars{display:grid;gap:5px;min-width:150px;}
.bar{display:grid;grid-template-columns:70px 1fr 26px;gap:8px;align-items:center;font-size:.68rem;color:var(--muted);}
.bar b{height:6px;background:#4a3f31;border-radius:3px;overflow:hidden;display:block;}
.bar b i{display:block;height:100%;background:var(--gold);}
.clogo{display:flex;align-items:center;justify-content:flex-start;width:110px;height:42px;}
.clogo img{max-width:110px;max-height:38px;width:auto;height:auto;display:block;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55));}

.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}

/* Chart plates */
.chart{background:rgba(0,0,0,.28);border:1px solid var(--edge);border-radius:8px;padding:18px 20px 12px;margin:14px 0 22px;}
.chart h3{margin:0 0 4px;}
.chart .sub{font-size:.78rem;color:var(--muted);margin-bottom:10px;}
.chart svg{width:100%;height:auto;display:block;}
.chart text{font-family:var(--sans);fill:var(--muted);font-size:12px;}
.chart .v{fill:#fff;font-family:var(--serif);font-weight:700;font-size:12px;}
.chart line.g{stroke:rgba(255,255,255,.07);}
.chart rect.b{fill:var(--gold);}
.chart path.l{fill:none;stroke:var(--gold);stroke-width:2.5;}
.chart circle{fill:var(--gold);stroke:#1b1714;stroke-width:2;}

/* Subscribe */
.sub-form{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0;}
.sub-form input{background:#120f0c;border:1px solid var(--edge);color:var(--ink);padding:12px 16px;border-radius:5px;font-size:1rem;min-width:260px;flex:1;max-width:380px;font-family:var(--sans);}
.sub-form input:focus{outline:2px solid var(--gold);border-color:var(--gold);}
#sub-ok{display:none;color:var(--gold);font-weight:700;margin-top:8px;}


.unavail{color:var(--muted);font-size:.9rem;padding:8px 2px;}

@media (max-width:860px){
  

  
  
  
  
  
  
  .cols2{grid-template-columns:1fr;}
  
  
  h2{font-size:1.5rem;}
}



/* Company research pages */
.co-head{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:22px 0 6px;}
.co-logo{display:flex;align-items:center;min-width:120px;height:56px;}
.co-logo img{max-width:170px;max-height:52px;width:auto;height:auto;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55));}
.co-head .strip{margin:0;flex:1;}
.co-head .badge{width:auto;padding:0 10px;height:28px;font-size:.66rem;}
.co-top{margin-top:22px;gap:18px;}
.co-card{padding:20px 22px;}
.co-card:hover{outline:none;}
.co-card h3{margin:0 0 12px;}
.facts{display:grid;grid-template-columns:120px 1fr;gap:9px 14px;font-size:.94rem;}
.facts dt{color:var(--muted);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;padding-top:3px;}
.facts dd{color:var(--ink-soft);}
.facts a,.co-sec a,.co-card a{color:var(--gold);}
.facts a:hover,.co-sec a:hover,.co-card a:hover{color:var(--gold-hi);}
small{color:var(--muted);font-size:.78em;}
.kv{width:100%;border-collapse:collapse;font-size:.95rem;}
.kv th{text-align:left;font-weight:500;color:var(--ink-soft);padding:7px 0;border-bottom:1px solid rgba(255,255,255,.06);}
.kv td{text-align:right;font-variant-numeric:tabular-nums;color:#fff;font-weight:600;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.06);}
.asof{font-size:.8rem;color:var(--muted);margin:0 0 10px;}
.src{font-size:.76rem;color:var(--muted);margin:10px 0 0;}
.co-sec{margin-top:34px;}
.co-sec h2{margin:0 0 14px;padding-bottom:8px;border-bottom:1px solid var(--rule);}
.co-sec h3{margin:22px 0 8px;}
.co-sec .strip{margin:0 0 12px;}
.co-sec p{max-width:none;}
.ctable{width:100%;border-collapse:collapse;font-size:.92rem;margin:6px 0 4px;}
.ctable th{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);text-align:left;padding:8px 12px;border-bottom:1px solid var(--rule);white-space:nowrap;}
.ctable td{padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.06);color:var(--ink-soft);}
.ctable tr:hover td{background:rgba(255,255,255,.03);}
.ctable .r{text-align:right;font-variant-numeric:tabular-nums;}
.ctable td.r{color:#fff;font-weight:600;}
.st{display:inline-block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border-radius:3px;border:1px solid var(--rule);color:var(--gold);}
.st-active{color:#7fd77f;border-color:rgba(127,215,127,.4);}
.st-idled,.st-closed{color:var(--muted);border-color:rgba(255,255,255,.15);}
.people{list-style:none;margin:0;max-width:none;}
.people li{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06);margin:0;}
.people b{color:#fff;font-weight:600;}
.people span{color:var(--muted);font-size:.88rem;text-align:right;}
.events{list-style:none;margin:0;max-width:none;}
.events li{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.06);margin:0;}
.events time{color:var(--gold);font-size:.85rem;font-weight:600;}
.sources{margin-left:20px;max-width:none;font-size:.88rem;}
@media (max-width:860px){
  .co-head{flex-direction:column;align-items:flex-start;gap:14px;}
  .co-head .strip{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;}
  .co-head .stat{min-width:0;}
  .co-head .stat .v{font-size:1.1rem;}
  .facts{grid-template-columns:1fr;gap:2px 0;}
  .facts dd{margin-bottom:10px;}
  .co-card{padding:16px;}
  .events li{grid-template-columns:1fr;gap:4px;}
  .people li{flex-direction:column;gap:2px;}
  .people span{text-align:left;}
  .ctable{font-size:.84rem;}
  .ctable th,.ctable td{padding:8px 8px;}
}

/* Desktop signals table: fixed, balanced columns */
@media (min-width:861px){
  table.sig{table-layout:fixed;min-width:1080px;}
  table.sig th,table.sig td{padding-left:14px;padding-right:14px;}
  table.sig th:nth-child(1){width:13%;}
  table.sig th:nth-child(2){width:9%;}
  table.sig th:nth-child(3){width:7%;}
  table.sig th:nth-child(4){width:9%;}
  table.sig th:nth-child(5){width:16%;}
  table.sig th:nth-child(6){width:8%;}
  table.sig th:nth-child(7){width:6%;}
  table.sig th:nth-child(8){width:7%;}
  table.sig th:nth-child(9){width:7%;}
  table.sig th:nth-child(10){width:18%;}
  table.sig td:nth-child(1) .nm{line-height:1.3;margin-top:2px;}
  table.sig td:nth-child(2){padding-left:4px;}
  table.sig th:nth-child(3),table.sig td:nth-child(3){text-align:center;}
  table.sig th:nth-child(5),table.sig td:nth-child(5){padding-left:22px;padding-right:22px;}
  table.sig th:nth-child(9),table.sig td:nth-child(9){text-align:center;}
  table.sig th:nth-child(10),table.sig td:nth-child(10){padding-left:18px;padding-right:20px;}
  table.sig .bars{min-width:0;}
  table.sig .bar{grid-template-columns:76px 1fr 22px;}
}

/* Phone: signals table becomes cards */
@media (max-width:860px){
  
  
  
  .sec-head{flex-direction:column;align-items:flex-start;gap:4px;}
  table.sig,table.sig tbody,table.sig tr,table.sig td{display:block;width:100%;}
  table.sig thead{display:none;}
  table.sig tr{background:var(--card);border:1px solid var(--edge);border-radius:8px;margin-bottom:12px;padding:12px 14px;display:grid;grid-template-columns:1fr auto auto;gap:8px 12px;align-items:center;box-shadow:0 4px 14px rgba(0,0,0,.5);}
  table.sig td{background:none;border:none!important;padding:0;border-radius:0!important;}
  table.sig td.r{text-align:left;}
  table.sig td:nth-child(1){grid-column:1;grid-row:1;}
  table.sig td:nth-child(2){grid-column:2;grid-row:1;justify-self:end;}
  table.sig td:nth-child(3){grid-column:3;grid-row:1;justify-self:end;}
  table.sig td:nth-child(4){grid-column:1/3;grid-row:2;display:flex;gap:10px;align-items:baseline;}
  table.sig td:nth-child(9){grid-column:3;grid-row:2;justify-self:end;}
  table.sig td:nth-child(5){grid-column:1/-1;grid-row:3;padding:6px 0 14px;}
  table.sig td:nth-child(6),table.sig td:nth-child(7),table.sig td:nth-child(8){display:none;}
  table.sig td:nth-child(10){grid-column:1/-1;grid-row:4;}
  table.sig td:nth-child(2),table.sig td:nth-child(3),table.sig td:nth-child(9){width:auto;}
  .clogo{width:84px;height:34px;}
  .clogo img{max-width:84px;max-height:30px;}
  .bars{min-width:0;}
}

