/*
Copyright © 2026 Amazon.com and Affiliates.
SPDX-License-Identifier: Apache-2.0
Developed content under the Free Exploration Services section of the AWS Service Terms.
*/
:root { --ink: #1b1f24; --muted: #5b6572; --line: #d0d7de; --accent: #0b5cad; --bad: #a40e26; --warn: #7a4d00; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--line); }
h1 { font-size: 18px; margin: 0; } h2 { font-size: 16px; margin: 0 0 8px; } h3 { font-size: 14px; margin: 14px 0 6px; }
.tag { font-size: 12px; font-weight: normal; color: var(--muted); margin-left: 8px; }
.who { display: flex; gap: 8px; align-items: center; color: var(--muted); }
main { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr); gap: 18px; padding: 18px; }
@media (max-width: 860px) { main { grid-template-columns: 1fr; } }
section { border: 1px solid var(--line); border-radius: 8px; padding: 14px; min-width: 0; }
.row { display: flex; justify-content: space-between; align-items: center; }
#messages { list-style: none; margin: 0 0 10px; padding: 0; max-height: 55vh; overflow-y: auto; }
#messages li { margin: 8px 0; padding: 8px 10px; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
#messages li.user { background: #eef4fb; margin-left: 15%; }
#messages li.assistant { background: #f6f8fa; margin-right: 15%; }
#messages li.error { background: #fdecee; color: var(--bad); }
form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
textarea { flex: 1 1 260px; font: inherit; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
button { font: inherit; padding: 6px 14px; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 6px; cursor: pointer; }
button[disabled] { opacity: .5; cursor: not-allowed; }
#new-conversation, #sign-out { background: #fff; color: var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { border-bottom: 1px solid var(--line); padding: 4px 6px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 0; }
dt { color: var(--muted); }
#draft-issues li.error { color: var(--bad); } #draft-issues li.warning { color: var(--warn); }
#draft-issues li.not_provided { color: var(--muted, #555); }
.center { text-align: center; margin-top: 15vh; color: var(--muted); }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
