/* Quarterly Deal Monitor */

.dm-page {
    max-width: 900px;
    margin: 24px auto 40px;
    padding: 40px 44px;
    background: #ffffff;
    border: 1px solid #dfe4e9;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    font-family: 'Inter', Arial, sans-serif;
    color: #12263f;
}

.dm-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 4px solid #0878bd;
}

.dm-top img { display: block; width: 190px; height: auto; }

.dm-meta {
    text-align: right;
    font-size: 11px;
    line-height: 16px;
    color: #8a9099;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dm-kicker {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #0878bd;
    margin: 20px 0 4px;
}

.dm-h1 {
    margin: 0 0 8px;
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    line-height: 1.2;
    color: #12263f;
}

.dm-lead {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.dm-sponsor {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    margin: 0 0 22px;
    border: 1px solid #e3e6ea;
    border-left: 4px solid #ca0186;
    border-radius: 6px;
    background: #fbf7fa;
}

.dm-sponsor img { max-width: 150px; max-height: 60px; display: block; }
.dm-sponsor-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a9099; }
.dm-sponsor strong { display: block; font-size: 15px; color: #12263f; margin: 2px 0; }
.dm-sponsor p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #5b6470; }

.dm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.dm-stats li {
    padding: 14px;
    border: 1px solid #e3e6ea;
    border-radius: 6px;
    background: #f7f8fa;
    font-size: 11px;
    line-height: 1.4;
    color: #5b6470;
}

.dm-stats strong {
    display: block;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 24px;
    color: #0878bd;
    margin-bottom: 2px;
}

.dm-h2 {
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e3e6ea;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 19px;
    color: #12263f;
}

.dm-row {
    display: grid;
    grid-template-columns: 150px 1fr 70px;
    gap: 10px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 13px;
}

.dm-row .dm-label { color: #3f4954; }
.dm-row .dm-count { text-align: right; font-weight: 700; color: #12263f; }

.dm-bar {
    height: 8px;
    border-radius: 99px;
    background: #eaf2fa;
    overflow: hidden;
}

.dm-bar span { display: block; height: 8px; border-radius: 99px; background: #0878bd; }

.dm-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dm-table th {
    padding: 8px 10px;
    border-bottom: 2px solid #12263f;
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a9099;
}
.dm-table td { padding: 9px 10px; border-bottom: 1px solid #eef0f2; vertical-align: top; color: #3f4954; }
.dm-table td.dm-num { text-align: right; white-space: nowrap; font-weight: 700; color: #12263f; }
.dm-table a { color: #12263f; text-decoration: none; }
.dm-table a:hover { color: #0878bd; }

.dm-note {
    margin: 22px 0 0;
    padding: 12px 14px;
    border-left: 3px solid #0878bd;
    background: #f3f8fd;
    font-size: 12px;
    line-height: 1.55;
    color: #3f4954;
}

.dm-foot {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #e3e6ea;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    color: #5b6470;
}

@media (max-width: 760px) {
    .dm-page { margin: 0; padding: 24px 18px; border-left: 0; border-right: 0; }
    .dm-stats { grid-template-columns: 1fr 1fr; }
    .dm-row { grid-template-columns: 110px 1fr 50px; }
    .dm-top { display: block; }
    .dm-meta { text-align: left; margin-top: 10px; }
    .dm-foot { display: block; }
}

@media print {
    @page { size: A4; margin: 13mm; }
    body { background: #ffffff !important; }
    #header-full-top, nav, #footer, #cookie-panel, #back-top, .no-print,
    .lang-switch, header { display: none !important; }
    .dm-page { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
    .dm-table { font-size: 10.5px; }
    .dm-table td, .dm-table th { padding: 6px 8px; }
    a { color: #12263f !important; text-decoration: none; }
}
