/* Six indicators and a separate financial-news card. */
.finance-panel .finance-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:22px;align-items:stretch;margin:20px 0}
.finance-panel #finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px;margin:0;min-width:0}
.finance-panel .financial{min-width:0;padding:20px}
.finance-panel .financial-name{font-size:13px;line-height:1.4}
.finance-panel .financial>strong{font-size:30px}
.finance-panel .financial-date,.finance-panel .financial .source-link{font-size:12px;overflow-wrap:anywhere}
.finance-panel .spark polyline{animation:none!important;opacity:1!important;stroke-width:2.2;filter:none!important}
.finance-panel .spark polyline[stroke="#00e69a"]{stroke:#00ff75;filter:drop-shadow(0 0 2px #00ff7555)!important}
.finance-panel .spark polyline[stroke="#ff334f"]{stroke:#ff1744;filter:drop-shadow(0 0 2px #ff174455)!important}
.finance-panel .spark circle[fill="#00e69a"]{fill:#00ff75}.finance-panel .spark circle[fill="#ff334f"]{fill:#ff1744}
.financial-news{min-width:0;padding:24px;border:1px solid #365364;border-radius:12px;background:#101e2b;display:flex;flex-direction:column}
.financial-news h3{font-size:23px;line-height:1.25;margin:8px 0 10px}.financial-news-intro{font-size:13px;color:#b0c3d2;margin:0 0 20px}
.financial-news-items{display:grid;grid-template-rows:repeat(2,auto);gap:24px;flex:1;align-content:start;min-width:0}
.financial-news-items article{min-width:0;overflow-wrap:anywhere}.financial-news-items article+article{padding-top:24px;border-top:1px solid #365364}
.financial-news-source{font-size:12px;color:#8bd8bc;font-weight:700}.financial-news h4{font-size:19px;line-height:1.5;margin:9px 0}.financial-news h4 a{color:#f1f5fa;text-decoration:none}.financial-news h4 a:hover{text-decoration:underline}.financial-news time{font-size:12px;color:#adc0cf}.financial-news-items p{font-size:14px;line-height:1.6;color:#c0ceda;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.financial-news-status{font-size:12px;line-height:1.5;color:#b0c3d2}.financial-news-status:empty{display:none}
/* Keep every news title and summary inside its own card. */
.news-panel .news-cards{align-items:stretch;min-width:0}
.news-panel .news-card{min-width:0;height:auto!important;max-height:none!important;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.news-panel .news-body{min-width:0;height:auto!important;max-height:none!important;flex:1;overflow-wrap:anywhere;box-sizing:border-box}
.news-panel .news-card h3{height:auto!important;max-height:none!important;min-width:0;display:block!important;-webkit-line-clamp:unset!important;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.news-panel .news-card h3 a,.news-panel .news-summary{overflow-wrap:anywhere;word-break:normal;white-space:normal}
.news-panel .news-art{flex:0 0 auto;min-width:0}
@media(max-width:900px){.finance-panel .finance-layout{grid-template-columns:1fr}.financial-news-items{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.financial-news-items article+article{padding-top:0;border-top:0;padding-left:20px;border-left:1px solid #365364}}
@media(max-width:600px){.finance-panel,.news-panel{padding:16px!important}.finance-panel .financial{padding:14px}.finance-panel .financial>strong{font-size:24px}.financial-news{padding:18px}.financial-news-items{grid-template-columns:1fr}.financial-news-items article+article{padding-left:0;border-left:0;padding-top:20px;border-top:1px solid #365364}.news-panel .news-cards{grid-template-columns:minmax(0,1fr)!important;gap:18px}.news-panel .news-body{padding:18px}.news-panel .news-card h3{font-size:18px;line-height:1.5}.news-panel .news-summary{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;font-size:14px;line-height:1.6}.news-panel .news-art{height:180px!important}.news-panel .news-art img{width:100%;height:100%;object-fit:cover}.financial-news h4{font-size:18px}}
@media(max-width:360px){.finance-panel #finance-cards{grid-template-columns:1fr!important}}

/* Subtle stationary grid lines, without illuminated tile fills. */
.finance-panel .financial{position:relative;isolation:isolate;overflow:hidden;background:#102333}
.finance-panel .financial::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#55dcca24 1px,transparent 1px),linear-gradient(90deg,#55dcca24 1px,transparent 1px);background-size:28px 28px;filter:drop-shadow(0 0 2px #39d6c322);animation:finance-grid-line-glow 7s ease-in-out infinite}
.finance-panel .financial::after{content:none;animation:none}
.finance-panel .financial:nth-child(2n)::before{animation-delay:-2s}.finance-panel .financial:nth-child(3n)::before{animation-delay:-4s}
@keyframes finance-grid-line-glow{0%,100%{opacity:.32}50%{opacity:.65}}
.financial-news-items article{position:relative;isolation:isolate;overflow:hidden;padding:18px;border:1px solid #365364;border-radius:10px;background:#112535;transition:border-color .25s,box-shadow .25s}
.financial-news-items article+article{padding:18px;border:1px solid #365364}
.financial-news-items article::after{content:none;animation:none}
.financial-news-items h4 a::after{content:"";position:absolute;inset:0;z-index:1;cursor:pointer;border-radius:inherit}
.financial-news-items article:hover,.financial-news-items article:focus-within{border-color:#20cbe0;box-shadow:0 0 14px #00cce71a}
.financial-news-items article:focus-within{outline:2px solid #8bf5ff;outline-offset:3px}
body.motion-paused .finance-panel .financial::before{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.finance-panel .financial::before{animation:none;opacity:.45}.financial-news-items article{transition:none}}
