:root {
	color: #edfaff;
	background: radial-gradient(ellipse at 50% 15%, #06224755, transparent 65%), #02050c;
	color-scheme: dark;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.5;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
#agent-activity {
	max-height: 480px;
	overflow: auto;
	overflow-wrap: anywhere;
}
#history-panel {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #7bacc930;
}
main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px;
}
header,
.session-heading,
.activity-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.brand {
	color: inherit;
	font-weight: 400;
	letter-spacing: 0.65em;
	text-decoration: none;
}
h1 {
	font-size: 36px;
	font-weight: 300;
	letter-spacing: -0.035em;
	line-height: 1.2;
	margin-bottom: 12px;
}
h2 {
	font-size: 18px;
	margin: 0 0 12px;
}
.intro,
.muted,
footer {
	color: #a0b5c9;
}
.intro {
	margin-top: 0;
}

form {
	display: grid;
	gap: 6px;
	margin: 28px 0;
}
label {
	font-weight: 600;
}
.form-row {
	display: flex;
	gap: 12px;
}
input {
	min-width: 0;
	flex: 1;
	padding: 12px;
	font: inherit;
	border: 1px solid #7bacc94d;
	border-radius: 4px;
	background: #06111e;
}
button {
	padding: 12px 18px;
	font: inherit;
	background: #edfaff;
	color: #02050c;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}
button:disabled {
	opacity: 0.6;
	cursor: wait;
}
button.danger {
	background: #ffc2ba;
	color: #43140d;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid #b9fcff;
	outline-offset: 3px;
}
.tag {
	font-size: 12px;
	color: #a0b5c9;
}
.session-heading {
	border-top: 1px solid #7bacc930;
	padding-top: 24px;
	margin: 32px 0 24px;
}
.session-heading h2 {
	margin-bottom: 0;
}
#thread {
	margin: 4px 0 0;
	font-size: 12px;
	overflow-wrap: anywhere;
}
#connection {
	font-size: 14px;
	white-space: nowrap;
	color: #ebc58a;
}
#connection[data-status="live"] {
	color: #b9fcff;
}
#connection::before {
	content: "●";
	margin-right: 8px;
}
.columns {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
}
#calls {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
.columns > * {
	min-width: 0;
}
.call {
	display: block;
	width: 100%;
	text-align: left;
	padding: 12px;
	color: inherit;
	background: transparent;
	border: 1px solid #7bacc930;
}
.call[aria-pressed="true"] {
	border-color: #edfaff;
	background: #0b2535;
}
.call strong {
	display: block;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.call small {
	color: #a0b5c9;
}
.card {
	border: 1px solid #7bacc930;
	border-radius: 4px;
	padding: 16px;
	margin-bottom: 12px;
	background: #06111e;
	overflow-wrap: anywhere;
}
.card h3 {
	font-size: 14px;
	margin: 0;
}
.card pre {
	font:
		13px / 1.6 ui-monospace,
		monospace;
	max-height: 320px;
	overflow: auto;
}
.card p,
.card pre {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.card p {
	margin-bottom: 0;
}
.card .tag {
	display: block;
	margin-top: 4px;
}
.empty {
	padding: 28px 0;
	color: #a0b5c9;
}
#error {
	color: #ffada6;
}
footer {
	margin-top: 48px;
	font-size: 12px;
	max-width: 720px;
}
[hidden] {
	display: none;
}
@media (max-width: 700px) {
	main {
		padding: 32px 20px;
	}
	.columns {
		grid-template-columns: minmax(0, 1fr);
	}
	.form-row {
		flex-direction: column;
	}
	header,
	.session-heading {
		align-items: flex-start;
	}
	.session-heading {
		flex-direction: column;
		gap: 4px;
	}
	#calls {
		max-height: 220px;
		overflow: auto;
	}
}

#incoming-calls {
	margin: 28px 0;
	padding: 20px;
	border: 1px solid #7bacc930;
	border-radius: 4px;
}
#incoming-calls-list {
	max-height: 360px;
	overflow: auto;
}
#incoming-calls-list article {
	padding: 12px 0;
	border-top: 1px solid #7bacc930;
	overflow-wrap: anywhere;
}
#incoming-calls-list h3,
#incoming-calls-list p {
	margin: 4px 0;
	font-size: 14px;
}

#debug-results {
	max-height: 24rem;
	overflow: auto;
	padding-left: 0;
	list-style: none;
}
#debug-results button {
	text-align: left;
	overflow-wrap: anywhere;
	width: 100%;
	margin-bottom: 8px;
}
#debug-selected {
	overflow-wrap: anywhere;
}
