/* Minimal styling for documents viewed in the iframe panel */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 20px;
    color: #1f2937;
    line-height: 1.6;
    font-size: 14px;
    background: #ffffff;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
h1 { font-size: 20px; font-weight: 700; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; }
h2 { font-size: 17px; font-weight: 700; margin: 28px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb; }
h3 { font-size: 15px; font-weight: 600; margin: 20px 0 8px; color: #374151; }
h4 { font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: #6b7280; }
p { margin-bottom: 10px; }
strong { font-weight: 600; }
blockquote {
    border-left: 3px solid #d1d5db;
    padding: 10px 14px;
    margin: 10px 0 10px 8px;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    font-style: italic;
    color: #374151;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; table-layout: fixed; word-wrap: break-word; }
th { text-align: left; padding: 8px 10px; background: #f9fafb; border-bottom: 2px solid #e5e7eb; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #9ca3af; }
td { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
ul, ol { padding-left: 20px; margin: 8px 0; }
li { margin-bottom: 4px; }
code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; background: #f3f4f6; padding: 1px 4px; border-radius: 3px; }
hr { border: none; border-top: 1px solid #e5e7eb; margin: 24px 0; }
a { color: #3b82f6; text-decoration: none; }
a:hover { text-decoration: underline; }
