:root { font-family: Inter, system-ui, sans-serif; color: #1e293b; background: #f8fafc; }
* { box-sizing: border-box; }
main { max-width: 60rem; margin: auto; padding: clamp(1rem, 4vw, 2.5rem); }
header { display: flex; align-items: center; justify-content: space-between; margin-block-end: 1.25rem; }
header strong { color: #1d4ed8; font-size: 1.4rem; }
section { background: white; padding: clamp(1rem, 4vw, 2rem); border: 1px solid #e2e8f0; border-radius: 1rem; margin-block-end: 1rem; }
h1, h2 { margin-block-start: 0; }
p { line-height: 1.5; color: #475569; }
label { display: block; font-weight: 600; margin-block-end: .4rem; }
input, select, textarea { display: block; max-width: 100%; border: 1px solid #64748b; border-radius: .5rem; padding: .65rem; margin-block-end: 1rem; font: inherit; }
textarea { width: 100%; resize: vertical; }
button { background: #2563eb; color: white; border: 0; border-radius: .5rem; padding: .7rem 1rem; font: inherit; cursor: pointer; }
button:hover { background: #1d4ed8; }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.error { border: 1px solid #dc2626; color: #b91c1c; padding: .75rem; border-radius: .5rem; }
.scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .65rem; text-align: start; border-bottom: 1px solid #e2e8f0; }
th { background: #eff6ff; }
code { overflow-wrap: anywhere; }
.providers { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .75rem; margin-block-end: 1rem; }
.providers button, .mail-row button { background: #eff6ff; color: #1d4ed8; overflow-wrap: anywhere; }
.providers button[aria-pressed="true"], .mail-row button[aria-pressed="true"] { background: #2563eb; color: white; }
.fields, .workspace { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; }
.workspace > section { min-width: 0; }
.mail-row, article { border-block-end: 1px solid #e2e8f0; padding-block: .75rem; overflow-wrap: anywhere; }
.mail-row button, article button { margin-inline-end: .35rem; margin-block-end: .25rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
