html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.earnings-recap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 20px;
    line-height: 1.5;
}

    .earnings-recap h1 {
        font-size: 1.5rem;
        margin: 0 0 4px;
        color: #0f2a4a;
    }

    .earnings-recap h2 {
        font-size: 1.1rem;
        margin: 28px 0 10px;
        color: #0f2a4a;
        border-bottom: 2px solid #e8eef4;
        padding-bottom: 6px;
    }

    .earnings-recap .recap-date {
        font-size: 0.95rem;
        color: #5a6b7c;
        margin: 0 0 16px;
    }

    .earnings-recap .recap-summary {
        font-size: 0.98rem;
        margin: 0 0 20px;
    }

    .earnings-recap table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.88rem;
        margin-bottom: 8px;
    }

    .earnings-recap th {
        text-align: left;
        background: #0f2a4a;
        color: #ffffff;
        padding: 8px 10px;
        font-weight: 600;
    }

    .earnings-recap td {
        padding: 8px 10px;
        border-bottom: 1px solid #e8eef4;
        vertical-align: top;
    }

    .earnings-recap tr:nth-child(even) td {
        background: #f7fafc;
    }

    .earnings-recap .ticker {
        font-weight: 700;
        white-space: nowrap;
    }

    .earnings-recap .beat {
        color: #137a2e;
        font-weight: 700;
    }

    .earnings-recap .miss {
        color: #b3261e;
        font-weight: 700;
    }

    .earnings-recap .up {
        color: #137a2e;
        font-weight: 700;
    }

    .earnings-recap .down {
        color: #b3261e;
        font-weight: 700;
    }

    .earnings-recap .takeaway {
        font-size: 0.88rem;
        margin: 4px 0 14px;
        padding-left: 10px;
        border-left: 3px solid #d9e4ef;
        color: #334155;
    }

        .earnings-recap .takeaway strong {
            color: #0f2a4a;
        }

    .earnings-recap .next-up {
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 0.92rem;
    }

        .earnings-recap .next-up li {
            padding: 6px 0;
            border-bottom: 1px solid #e8eef4;
        }

            .earnings-recap .next-up li:last-child {
                border-bottom: none;
            }

    .earnings-recap .footnotes {
        font-size: 0.8rem;
        color: #5a6b7c;
        margin-top: 24px;
        border-top: 1px solid #e8eef4;
        padding-top: 10px;
    }

        .earnings-recap .footnotes p {
            margin: 4px 0;
        }
.site-shell {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem;
}

.site-sidebar {
    min-width: 0;
}

.site-main {
    min-width: 0;
}

.market-news-sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 1px solid #d9e0e7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.market-news-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e9ee;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

    .market-news-header h2 {
        margin: 0.1rem 0 0;
        font-size: 1.1rem;
        line-height: 1.25;
    }

.market-news-eyebrow {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-news-live-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #ecfdf5;
}

.market-news-live-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #16a34a;
}

.market-news-list {
    display: flex;
    flex-direction: column;
}

.market-news-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1rem;
    border-bottom: 1px solid #edf0f3;
}

    .market-news-card:last-child {
        border-bottom: 0;
    }

.market-news-image-wrapper {
    width: 84px;
    height: 72px;
    overflow: hidden;
    border-radius: 9px;
    background: #e9eef3;
}

.market-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-news-card-body {
    min-width: 0;
}

.market-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    color: #64748b;
    font-size: 0.72rem;
}

.market-news-ticker {
    display: inline-flex;
    padding: 0.15rem 0.42rem;
    border-radius: 5px;
    color: #1d4ed8;
    background: #eff6ff;
    font-weight: 700;
}

.market-news-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
}

    .market-news-title a {
        color: #172033;
        text-decoration: none;
    }

        .market-news-title a:hover,
        .market-news-title a:focus-visible {
            color: #2563eb;
            text-decoration: underline;
        }

.market-news-summary {
    display: -webkit-box;
    margin: 0.55rem 0 0;
    overflow: hidden;
    color: #4b5563;
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.market-news-source {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.55rem;
    color: #8490a1;
    font-size: 0.68rem;
}

.market-news-message {
    padding: 1rem;
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .site-shell {
        grid-template-columns: 1fr;
    }

    .site-sidebar {
        order: 2;
    }

    .site-main {
        order: 1;
    }

    .market-news-sidebar {
        position: static;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .site-shell {
        padding: 0.75rem;
    }

    .market-news-card {
        grid-template-columns: 68px minmax(0, 1fr);
        padding: 0.8rem;
    }

    .market-news-image-wrapper {
        width: 68px;
        height: 64px;
    }

    .market-news-summary {
        -webkit-line-clamp: 2;
    }
}
.site-shell {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(250px, 300px);
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.25rem;
}

.site-sidebar {
    min-width: 0;
}

.site-main {
    min-width: 0;
}

.site-sidebar-left,
.site-sidebar-right {
    position: sticky;
    top: 1rem;
}
@media (max-width: 1200px) {

    .site-shell {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    }

    .site-sidebar-right {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 800px) {

    .site-shell {
        grid-template-columns: 1fr;
    }

    .site-main {
        order: 1;
    }

    .site-sidebar-right {
        order: 2;
    }

    .site-sidebar-left {
        order: 3;
        position: static;
    }
}
.financial-search-panel {
    padding: 1.1rem;
    border: 1px solid #d9e0e7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.financial-search-header h2 {
    margin: 0.15rem 0 0.4rem;
    font-size: 1.2rem;
}

.financial-search-header p {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.financial-search-eyebrow {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.financial-search-form label {
    display: block;
    margin-bottom: 0.35rem;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}

.financial-search-input-group {
    display: flex;
    gap: 0.4rem;
}

.financial-search-input {
    width: 100%;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

    .financial-search-input:focus {
        outline: 2px solid #bfdbfe;
        border-color: #2563eb;
    }

.financial-search-button {
    padding: 0.65rem 0.8rem;
    border: 0;
    border-radius: 7px;
    background: #2563eb;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

    .financial-search-button:hover {
        background: #1d4ed8;
    }

.financial-search-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
    color: #94a3b8;
    font-size: 0.7rem;
}

    .financial-search-examples a {
        color: #2563eb;
        text-decoration: none;
    }

        .financial-search-examples a:hover {
            text-decoration: underline;
        }