/**
 * PEC / EML reader: the frame that shows the HTML body of a message.
 *
 * The HTML comes from a file the visitor chose and is untrusted: it is rendered in a
 * sandboxed iframe (no scripts, opaque origin) with a CSP that blocks every network
 * request. This file only sizes that frame.
 */

.tools-pec-frame {
    display: block;
    width: 100%;
    height: 26rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-bg-card);
}

@media (max-width: 768px) {
    .tools-pec-frame { height: 20rem; }
    /* PEC identifiers and message ids are long unbroken strings: the shared rule lets the
       label shrink under its own words and the two overlap. Keep the label its share. */
    .tools-breakdown-label { flex: 0 0 38%; }
}
