:root { color-scheme: light; font: 16px/1.55 system-ui, sans-serif; color: #102a43; background: #eef4fa; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #132944; color: white; display: flex; align-items: center; justify-content: space-between; padding: 1rem max(1rem, calc((100% - 48rem)/2)); }
header a { color: inherit; font-weight: 750; }
main { width: min(48rem, calc(100% - 2rem)); margin: 2rem auto; }
section { background: white; border: 1px solid #c5d6e6; border-radius: .75rem; padding: 1rem; margin-bottom: 1rem; }
h2 { margin-top: 0; }
button, input, textarea, select { font: inherit; }
button { padding: .45rem .8rem; border: 1px solid #829ab1; border-radius: .4rem; cursor: pointer; color: #102a43; background: #edf4fc; }
form button:first-child, #compose button { background: #ffd45c; border-color: #ab741b; font-weight: 700; }
input, textarea, select { width: 100%; display: block; margin: .25rem 0 .75rem; padding: .45rem; border: 1px solid #829ab1; border-radius: .3rem; }
.actions, #threads { display: flex; gap: .5rem; flex-wrap: wrap; }
#olderThreads { margin-top: .75rem; }
#messages { list-style: none; padding: 0; }
#messages li { border-left: 3px solid #315c85; padding: .6rem .8rem; margin: .5rem 0; background: #f1f6fb; }
#messages p { white-space: pre-wrap; overflow-wrap: anywhere; margin: .3rem 0 0; }
#messageHint { font-size: .88rem; }

.contact-intro { margin-bottom: 1.25rem; max-width: 60ch; }
.contact-intro p { margin-bottom: 0; }
.support-contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; }
.support-links { padding: 1rem; border-radius: .5rem; background: #eef4fa; }
.support-links h3 { margin: 0 0 .5rem; }
.support-links ul { margin: 0; padding: 0; list-style: none; }
.support-links li + li { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #c5d6e6; }
.support-links a { color: #174d79; font-weight: 700; }
.support-links p, #contactHint { margin: .25rem 0; font-size: .9rem; }
@media (max-width: 38rem) { .support-contact-layout { grid-template-columns: 1fr; } }
