/* Market Insights page: reading layer (added by the preview build after legacy-theme.css) */

/* tabs */
body.ewt-legacy .content-tabs{display:inline-flex!important;gap:6px;padding:6px!important;border:2px solid #009BFD!important;border-radius:12px!important;box-shadow:0 10px 30px rgba(0,0,0,.12)}
body.ewt-legacy .content-tabs button{border:0!important;border-radius:8px!important;padding:11px 18px!important;font:800 14.5px "Outfit",sans-serif!important;color:#1A5CB6!important;background:transparent!important}
body.ewt-legacy .content-tabs button:hover{background:#E3F3FF!important}
body.ewt-legacy .content-tabs button.active{background:#1A73E8!important;color:#fff!important}

/* article card */
body.ewt-legacy .content-panel{padding-block:40px}
body.ewt-legacy .briefing-article{max-width:920px;margin:0 auto;padding:0 0 30px!important;overflow:hidden}
body.ewt-legacy .briefing-article > :not(.briefing-header):not(.ni-toc){margin-left:clamp(18px,4vw,44px);margin-right:clamp(18px,4vw,44px)}
body.ewt-legacy .briefing-header{background:radial-gradient(700px 300px at 90% 0%,rgba(255,255,255,.16),transparent 60%),linear-gradient(135deg,#0A3F91 0%,#1A5CB6 50%,#1A73E8 100%)!important;
  padding:30px clamp(18px,4vw,44px)!important;margin:0 0 4px!important;border:0!important;text-align:left!important}
body.ewt-legacy .briefing-header h2{color:#fff!important;-webkit-text-fill-color:#fff;font:800 clamp(1.5rem,3vw,2.1rem)/1.1 "Outfit",sans-serif!important;letter-spacing:.01em}
body.ewt-legacy .briefing-date{display:inline-block;margin-top:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);color:#fff!important;padding:6px 12px;border-radius:999px;font:600 13px "JetBrains Mono",monospace!important}
body.ewt-legacy .briefing-sub{margin-top:10px;color:#DCEBFF!important;font-size:14px}

/* on this page */
body.ewt-legacy .ni-toc{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start!important;text-align:left;padding:16px clamp(18px,4vw,44px);background:#F4F8FE;border-bottom:1px solid #D3E4FB}
body.ewt-legacy .ni-toc span{font:700 11px "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#5B6B85;margin-right:4px}
body.ewt-legacy .ni-toc a{font:700 13px "Outfit",sans-serif;color:#0A6FD6;background:#fff;border:1.5px solid #9FD3FF;border-radius:999px;padding:6px 11px;text-decoration:none}
body.ewt-legacy .ni-toc a:hover{background:#E3F3FF;border-color:#009BFD}

/* reading typography */
body.ewt-legacy .briefing-article h3{font:800 1.15rem/1.3 "Outfit",sans-serif!important;color:#0E3A7A!important;letter-spacing:.02em;margin-top:34px!important;padding-top:24px;border-top:1px solid #E2E8F0;display:flex;align-items:center;gap:10px;scroll-margin-top:96px}
body.ewt-legacy .briefing-article h3::before{content:"";flex:none;width:10px;height:10px;border-radius:3px;background:#009BFD}
body.ewt-legacy .briefing-article p,body.ewt-legacy .briefing-article li{font-size:1rem;line-height:1.75;color:#33415C!important;max-width:78ch}
body.ewt-legacy .briefing-article strong{color:#0E3A7A}

/* day-by-day timeline */
body.ewt-legacy .ni-tl{border-left:2px dashed #B8C7DD;padding-left:24px;margin-top:14px}
body.ewt-legacy .ni-tl__item{position:relative;padding-bottom:10px}
body.ewt-legacy .ni-tl__item h4{position:relative;font:800 1rem/1.3 "Outfit",sans-serif!important;color:#1A5CB6!important;margin:14px 0 4px!important}
body.ewt-legacy .ni-tl__item h4::before{content:"";position:absolute;left:-32px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #1A73E8}

/* data tables */
body.ewt-legacy .briefing-article div[style*="overflow-x"]{border:1.5px solid #D3E4FB;border-radius:12px;margin-top:12px}
body.ewt-legacy table.btable{width:100%;border-collapse:collapse;font-size:.92rem;margin:0!important;border:0!important}
body.ewt-legacy table.btable th{background:#F4F8FE!important;color:#5B6B85!important;font:700 11px "JetBrains Mono",monospace!important;letter-spacing:.08em;text-transform:uppercase;text-align:left;padding:12px 14px!important;border:0!important;border-bottom:1px solid #D3E4FB!important}
body.ewt-legacy table.btable td{padding:11px 14px!important;border:0!important;border-bottom:1px solid #EEF2F7!important;color:#26344F;font-family:"JetBrains Mono",monospace;font-size:.86rem}
body.ewt-legacy table.btable td:first-child{font-family:"Outfit",sans-serif;font-weight:700;color:#0E3A7A;font-size:.92rem}
body.ewt-legacy table.btable tr:last-child td{border-bottom:0!important}
body.ewt-legacy table.btable tr:hover td{background:#F4F8FE}
body.ewt-legacy table.btable td.red{color:#DC2626!important;font-weight:700}
body.ewt-legacy table.btable td.green{color:#059669!important;font-weight:700}
body.ewt-legacy table.btable td.yellow{color:#B45309!important;font-weight:700}
body.ewt-legacy .ni-sig{display:inline-block;font:800 11px "JetBrains Mono",monospace;letter-spacing:.06em;padding:5px 9px;border-radius:999px;white-space:nowrap}
body.ewt-legacy .ni-sig--red{background:#FDE4E4;color:#B91C1C}
body.ewt-legacy .ni-sig--green{background:#DCF5EC;color:#047857}
body.ewt-legacy .ni-sig--amber{background:#FEF3C7;color:#92400E}

/* the bottom line */
body.ewt-legacy .container .bottom-line-box.bottom-line-box{background:#EAF3FF!important;border:2px solid #009BFD!important;border-radius:12px!important;padding:22px 24px!important;margin-top:34px!important;box-shadow:none!important}
body.ewt-legacy .bottom-line-box h3{border:0!important;padding-top:0!important;margin-top:0!important;display:inline-flex!important;background:#1A73E8;color:#fff!important;font-size:.85rem!important;letter-spacing:.1em;padding:7px 12px!important;border-radius:999px}
body.ewt-legacy .bottom-line-box h3::before{display:none}

/* sign-up box: blue call-to-action card */
body.ewt-legacy .container .signup-box.signup-box{background:radial-gradient(600px 260px at 90% 0%,rgba(255,255,255,.16),transparent 60%),linear-gradient(135deg,#0F4BA6 0%,#1A5CB6 45%,#1A73E8 100%)!important;
  border:0!important;border-radius:14px!important;padding:26px 28px!important;margin-top:30px!important;box-shadow:0 24px 50px -28px rgba(3,15,40,.7)!important}
body.ewt-legacy .signup-box h3{color:#fff!important;border:0!important;padding-top:0!important;margin-top:0!important}
body.ewt-legacy .signup-box h3::before{display:none}
body.ewt-legacy .signup-box p{color:#DCEBFF!important}
body.ewt-legacy .signup-box .btn-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
body.ewt-legacy .signup-box .btn-green{background:#fff!important;color:#0E3A7A!important;border:1.5px solid #009BFD!important}
body.ewt-legacy .signup-box .btn-green:hover{background:#E3F3FF!important}
body.ewt-legacy .signup-box .btn-outline{background:transparent!important;color:#fff!important;border:1.5px solid #BFE3FF!important}
body.ewt-legacy .signup-box .btn-outline:hover{background:rgba(255,255,255,.14)!important}

@media (max-width:600px){
  body.ewt-legacy .content-tabs{display:grid!important;grid-template-columns:1fr;width:100%}
  body.ewt-legacy .ni-tl{padding-left:18px}
  body.ewt-legacy .ni-tl__item h4::before{left:-26px}
  body.ewt-legacy table.btable td,body.ewt-legacy table.btable th{padding:9px 10px!important}
}

/* "Sample issues" notice above the articles + label on each article banner */
body.ewt-legacy .ni-sample{padding:28px max(16px,env(safe-area-inset-left,0px)) 0}
body.ewt-legacy .ni-sample__in{max-width:920px;margin:0 auto;display:flex;align-items:center;gap:14px 18px;flex-wrap:wrap;
  background:#fff;border:2px solid #009BFD;border-radius:12px;padding:16px 20px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
body.ewt-legacy .ni-sample__tag{font:800 11px "JetBrains Mono",monospace;letter-spacing:.12em;color:#fff;background:#0E3A7A;padding:7px 10px;border-radius:6px;white-space:nowrap}
body.ewt-legacy .ni-sample__in p{flex:1 1 380px;margin:0;font-size:14.5px;line-height:1.55;color:#3B4D6B!important}
body.ewt-legacy .ni-sample__in p b{color:#0E3A7A}
body.ewt-legacy .ni-sample__btn{font:800 14px "Outfit",sans-serif;color:#fff!important;background:#1A73E8;border:1.5px solid #009BFD;border-radius:10px;padding:10px 14px;text-decoration:none;white-space:nowrap}
body.ewt-legacy .ni-sample__btn:hover{background:#1A5CB6;box-shadow:0 0 0 4px rgba(0,155,253,.2)}
body.ewt-legacy .ni-sample-chip{display:inline-block;margin-bottom:12px;font:800 11px "JetBrains Mono",monospace;letter-spacing:.12em;color:#0E3A7A;background:#fff;padding:6px 10px;border-radius:6px}
body.ewt-legacy .ni-sample + .content-panel{padding-top:24px}

/* real issues (email HTML) shown as a card */
.ni-issue{max-width:720px;margin:0 auto;border:2px solid #009BFD;border-radius:12px;overflow:hidden;background:#E8EBF0;box-shadow:0 10px 30px rgba(14,58,122,.12)}
.ni-issue table{max-width:100%}
.ni-issue img{max-width:100%;height:auto}
