:root {
    color-scheme: light;
    font: 1rem/1.55 system-ui, sans-serif;
    background: #f2f7fb;
    color: #11243b;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 44rem); margin: clamp(1rem, 7vw, 4rem) auto; }
header { margin-bottom: 1rem; font-weight: 750; }
.chat-home { display: inline-flex; max-width: 100%; align-items: center; }
.chat-logo { display: block; width: 10rem; max-width: 100%; height: auto; }
a { color: #1546ad; text-underline-offset: .17em; }
.chat-card {
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: 1rem;
    padding: clamp(1.2rem, 5vw, 2.4rem);
    box-shadow: 0 12px 30px #11243b10;
}
h1 { margin: 0; line-height: 1.18; font-size: clamp(1.8rem, 6vw, 2.6rem); }
label { display: block; margin: .75rem 0 .3rem; font-weight: 700; }
textarea, select {
    width: 100%;
    font: inherit;
    color: inherit;
    background: #fff;
    padding: .6rem;
    border: 1px solid #7991ad;
    border-radius: .45rem;
}
textarea { min-height: 6rem; resize: vertical; }
button {
    margin-top: .85rem;
    min-height: 2.75rem;
    border: 0;
    border-radius: .55rem;
    padding: .6rem 1.15rem;
    color: #fff;
    background: #1748bd;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
button:hover { background: #12398d; }
:focus-visible { outline: 3px solid #b75212; outline-offset: 3px; }
#chat-messages { display: grid; gap: .6rem; list-style: none; padding: 0; }
#chat-messages li {
    overflow-wrap: anywhere;
    padding: .65rem .8rem;
    border: 1px solid #d8e4ee;
    border-radius: .65rem;
    background: #f2f7fb;
}
#chat-messages .support-message { background: #e9f1ff; }
#chat-messages p { margin: .25rem 0 0; white-space: pre-wrap; }
.chat-privacy { margin-top: 1.3rem; color: #435b75; }


.chat-start-link { display: inline-block; padding: .66rem 1rem; background: #0e6b54;
  border-radius: .55rem; color: #fff; font-weight: 700; text-decoration: none; }
.chat-start-link:focus-visible { outline: 3px solid #0e6b54; outline-offset: 3px; }
