* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 14px;
	color-scheme: light;
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
		'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
		sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: #fff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.text-center {
	text-align: center;
}

.display-heading {
	font-size: 3.5rem;
	font-weight: 300;
	line-height: 1.2;
}

a {
	color: #0d6efd;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
.app-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
}

.navbar {
	background-color: #ffffff;
	border-bottom: 1px solid #dee2e6;
	box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
	margin-bottom: 1rem;
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 15px;
}

.navbar-brand {
	font-size: 1.25rem;
	font-weight: 500;
	color: #000;
	text-decoration: none;
}

.navbar-brand:hover {
	text-decoration: none;
	color: #000;
}

.navbar-toggler {
	display: none;
	background: none;
	border: 1px solid rgba(0,0,0,0.1);
	padding: 0.25rem 0.75rem;
	border-radius: 0.25rem;
	cursor: pointer;
}

.toggler-icon {
	display: block;
	width: 1.5rem;
	height: 2px;
	background-color: rgba(0,0,0,0.55);
}

.navbar-collapse {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: space-between;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1rem;
}

.nav-auth {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav-user {
	color: #374151;
	padding: 0.5rem 0.75rem;
	font-weight: 500;
}

.nav-button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
}

.nav-register {
	background: #0d6efd;
	color: white !important;
	border-radius: 4px;
	padding: 0.5rem 1rem;
}

.nav-register:hover {
	background: #0b5ed7;
	color: white !important;
}

.nav-item {
	margin: 0;
}

.nav-link {
	color: rgba(0,0,0,0.55);
	padding: 0.5rem 1rem;
	text-decoration: none;
}

.nav-link:hover {
	color: rgba(0,0,0,0.7);
	text-decoration: none;
}

.app-container > .container {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
}

.main-content {
	flex: 1;
	min-height: 0;
	overflow: auto;
	width: 100%;
}

.footer {
	border-top: 1px solid #dee2e6;
	color: #6c757d;
	padding: 1rem 0;
	flex-shrink: 0;
}

.footer a {
	color: #6c757d;
}

/* Responsive: hide menu on mobile (can expand with hamburger logic later) */
@media (max-width: 767px) {
	.navbar-toggler {
		display: block;
	}

	.navbar-collapse {
		display: none; /* Can add toggle state management later */
	}
}
/* Home page specific styles */
/* Privacy page specific styles */
.auth-page {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 200px);
	padding: 20px;
}

.auth-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 40px;
	width: 100%;
	max-width: 500px;
}

.auth-card h1 {
	margin: 0 0 8px 0;
	font-size: 1.75rem;
	color: #333;
}

.auth-subtitle {
	color: #666;
	margin-bottom: 24px;
}

.auth-errors {
	background: #fee2e2;
	border: 1px solid #fecaca;
	border-radius: 4px;
	padding: 12px;
	margin-bottom: 20px;
}

.auth-errors p {
	color: #dc2626;
	margin: 0;
	font-size: 0.875rem;
}

.auth-errors p + p {
	margin-top: 4px;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.form-group label {
	font-weight: 500;
	color: #374151;
	font-size: 0.875rem;
}

.form-group input {
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	min-width: 0;
	box-sizing: border-box;
}

.form-group input:focus {
	outline: none;
	border-color: #0d6efd;
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-group input::placeholder {
	color: #9ca3af;
}

.auth-button {
	background: #0d6efd;
	color: white;
	border: none;
	border-radius: 6px;
	padding: 12px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
	margin-top: 8px;
}

.auth-button:hover:not(:disabled) {
	background: #0b5ed7;
}

.auth-button:disabled {
	background: #93c5fd;
	cursor: not-allowed;
}

.auth-footer {
	text-align: center;
	margin-top: 24px;
	color: #666;
}

.auth-footer a {
	color: #0d6efd;
	font-weight: 500;
}
.error-message {
	background-color: #fee2e2;
	border: 1px solid #ef4444;
	color: #b91c1c;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-shrink: 0;
}

.error-message ul {
	margin: 0;
	padding-left: 20px;
}

.error-message li {
	margin-bottom: 4px;
}

.error-message li:last-child {
	margin-bottom: 0;
}

.error-message button {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #b91c1c;
	flex-shrink: 0;
	margin-left: 12px;
}
.design-sessions-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.page-header h1 {
	margin: 0;
}

.empty-state {
	text-align: center;
	padding: 60px 20px;
	background-color: #f9fafb;
	border-radius: 12px;
	border: 2px dashed #d1d5db;
}

.empty-state h2 {
	margin: 0 0 8px 0;
	color: #374151;
}

.empty-state p {
	color: #6b7280;
	margin-bottom: 20px;
}

.sessions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 20px;
}

.session-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	transition: box-shadow 0.2s;
}

.session-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.session-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.session-name {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	text-decoration: none;
}

.session-name:hover {
	color: #2563eb;
}

.status-badge {
	font-size: 12px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 9999px;
	text-transform: capitalize;
	white-space: nowrap;
}

.status-escalated {
	background-color: #fef3c7;
	color: #b45309;
}

.session-description {
	color: #6b7280;
	font-size: 14px;
	margin: 0 0 12px 0;
	line-height: 1.5;
}

.session-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: #9ca3af;
	margin-bottom: 16px;
}

.session-actions {
	display: flex;
	gap: 8px;
}

.btn-primary {
	background-color: #2563eb;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.btn-primary:hover {
	background-color: #1d4ed8;
}

.btn-primary:disabled {
	background-color: #93c5fd;
	cursor: not-allowed;
}

.btn-secondary {
	background-color: #f3f4f6;
	color: #374151;
	border: 1px solid #d1d5db;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s;
}

.btn-secondary:hover {
	background-color: #e5e7eb;
}

.btn-danger {
	background-color: white;
	color: #dc2626;
	border: 1px solid #fecaca;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-danger:hover {
	background-color: #fee2e2;
	border-color: #f87171;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal {
	background: white;
	border-radius: 12px;
	padding: 24px;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
}

.modal h2 {
	margin: 0 0 20px 0;
}

.modal .form-group {
	margin-bottom: 16px;
}

.modal .form-group label {
	display: block;
	font-weight: 500;
	margin-bottom: 6px;
	color: #374151;
}

.modal .form-group input,
.modal .form-group textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
}

.modal .form-group input:focus,
.modal .form-group textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}
.form-field {
	margin-bottom: 12px;
}

.form-field:last-child {
	margin-bottom: 0;
}

.form-field label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	margin-bottom: 6px;
}

.form-field input,
.form-field select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-field input[type="number"] {
	-moz-appearance: textfield;
}

.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Error state */
.form-field.has-error input,
.form-field.has-error select {
	border-color: #ef4444;
}

.form-field.has-error input:focus,
.form-field.has-error select:focus {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
	display: block;
	font-size: 12px;
	color: #dc2626;
	margin-top: 4px;
}

/* Warning state */
.form-field.has-warning input,
.form-field.has-warning select {
	border-color: #f59e0b;
}

.form-field.has-warning input:focus,
.form-field.has-warning select:focus {
	border-color: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.field-warning {
	display: block;
	font-size: 12px;
	color: #d97706;
	margin-top: 4px;
}

/* Checkbox field */
.form-field.checkbox-field {
	display: flex;
	align-items: center;
}

.checkbox-label {
	display: flex !important;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	width: auto;
	margin: 0;
}

/* Tooltip */
.tooltip-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: 6px;
	font-size: 12px;
	color: #9ca3af;
	cursor: help;
	vertical-align: middle;
}

.tooltip-trigger:hover {
	color: #6b7280;
}

.tooltip-content {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #1f2937;
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	white-space: normal;
	width: max-content;
	max-width: 250px;
	z-index: 100;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip-content::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #1f2937;
}
.parameter-section {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: white;
}

.section-header {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 14px 16px;
	background: #f9fafb;
	border: none;
	cursor: pointer;
	text-align: left;
	transition: background-color 0.2s;
}

.section-header:hover {
	background: #f3f4f6;
}

.section-title {
	flex: 1;
	font-weight: 600;
	font-size: 14px;
	color: #374151;
}

.section-progress {
	font-size: 12px;
	color: #6b7280;
	background: #e5e7eb;
	padding: 2px 8px;
	border-radius: 10px;
	margin-right: 12px;
}

.section-error-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background: #ef4444;
	color: white;
	font-size: 12px;
	font-weight: 700;
	border-radius: 50%;
	margin-right: 12px;
}

.parameter-section.has-error {
	border-color: #fca5a5;
}

.parameter-section.has-error .section-header {
	background: #fef2f2;
}

.parameter-section.has-error.collapsed .section-header {
	background: #fef2f2;
}

.section-toggle {
	font-size: 18px;
	color: #6b7280;
	font-weight: 300;
	width: 24px;
	text-align: center;
}

.section-content {
	padding: 16px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.parameter-section.collapsed .section-header {
	background: white;
}

/* Full width fields */
.section-content .full-width {
	grid-column: 1 / -1;
}
/* Parameters Tab */
.parameters-tab {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

/* Parameters Save Bar */
.parameters-save-bar {
	position: sticky;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	padding: 12px 16px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	margin-top: 16px;
}

.unsaved-indicator {
	color: #92400e;
	font-size: 13px;
}

.btn-save-params {
	padding: 8px 20px;
	font-size: 14px;
}

/* Waveform Upload Section */
.waveform-upload-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px;
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 8px;
}

.waveform-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.waveform-hint {
	font-size: 12px;
	color: #166534;
	margin: 0;
}

.waveform-hint code {
	background: #dcfce7;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 11px;
}

.waveform-hint-detail {
	font-style: italic;
}

.waveform-uploaded {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.waveform-file-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.waveform-status {
	color: #166534;
	font-weight: 500;
	font-size: 13px;
}

.waveform-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 12px;
	color: #166534;
}

.waveform-stat {
	display: inline-flex;
	gap: 4px;
}

.waveform-stat strong {
	font-weight: 500;
	color: #14532d;
}

.waveform-upload {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.waveform-upload label {
	cursor: pointer;
}

.waveform-upload.has-error label {
	border-color: #dc2626;
}

.waveform-upload .field-error {
	color: #dc2626;
	font-size: 12px;
	margin-top: 2px;
}

.waveform-error {
	color: #dc2626;
	font-size: 12px;
	background: #fee2e2;
	padding: 8px 12px;
	border-radius: 4px;
	border: 1px solid #fecaca;
}

.btn-small {
	padding: 4px 10px;
	font-size: 12px;
}
.chat-image-viewer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 20px;
}

.chat-image-viewer-content {
	display: flex;
	flex-direction: column;
	max-width: 95vw;
	max-height: 95vh;
	background: var(--color-surface, #1e1e1e);
	border-radius: 8px;
	overflow: hidden;
}

.chat-image-viewer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: var(--color-surface-elevated, #2d2d2d);
	border-bottom: 1px solid var(--color-border, #3d3d3d);
	min-height: 48px;
}

.chat-image-viewer-title {
	color: var(--color-text-primary, #ffffff);
	font-size: 14px;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 70%;
}

.chat-image-viewer-actions {
	display: flex;
	gap: 8px;
}

.chat-image-viewer-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: var(--color-text-secondary, #a0a0a0);
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
	text-decoration: none;
}

.chat-image-viewer-btn:hover {
	background: var(--color-surface-hover, #3d3d3d);
	color: var(--color-text-primary, #ffffff);
}

.chat-image-viewer-close:hover {
	background: var(--color-error, #dc3545);
	color: white;
}

.chat-image-viewer-image-container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	overflow: auto;
	padding: 20px;
	background: var(--color-surface, #1e1e1e);
}

.chat-image-viewer-image {
	max-width: 100%;
	max-height: calc(95vh - 100px);
	object-fit: contain;
	border-radius: 4px;
}
pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/
.hljs {
  color: #c9d1d9;
  background: #0d1117
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
  /* prettylights-syntax-keyword */
  color: #ff7b72
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
  /* prettylights-syntax-entity */
  color: #d2a8ff
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
  /* prettylights-syntax-constant */
  color: #79c0ff
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
  /* prettylights-syntax-string */
  color: #a5d6ff
}
.hljs-built_in,
.hljs-symbol {
  /* prettylights-syntax-variable */
  color: #ffa657
}
.hljs-comment,
.hljs-code,
.hljs-formula {
  /* prettylights-syntax-comment */
  color: #8b949e
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
  /* prettylights-syntax-entity-tag */
  color: #7ee787
}
.hljs-subst {
  /* prettylights-syntax-storage-modifier-import */
  color: #c9d1d9
}
.hljs-section {
  /* prettylights-syntax-markup-heading */
  color: #1f6feb;
  font-weight: bold
}
.hljs-bullet {
  /* prettylights-syntax-markup-list */
  color: #f2cc60
}
.hljs-emphasis {
  /* prettylights-syntax-markup-italic */
  color: #c9d1d9;
  font-style: italic
}
.hljs-strong {
  /* prettylights-syntax-markup-bold */
  color: #c9d1d9;
  font-weight: bold
}
.hljs-addition {
  /* prettylights-syntax-markup-inserted */
  color: #aff5b4;
  background-color: #033a16
}
.hljs-deletion {
  /* prettylights-syntax-markup-deleted */
  color: #ffdcd7;
  background-color: #67060c
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
  /* purposely ignored */
  
}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular.DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular.DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular.CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold.Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold.Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold.waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic.BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic.3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular.B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular.Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular.ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic.t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic.DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic.flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular.D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular.D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular.C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular.C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular.oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4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KJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular.CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular.BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular.DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.28"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}
.llm-message-content {
	line-height: 1.5;
}

/* Remove margins from first/last children to avoid extra spacing in bubbles */
.llm-message-content > *:first-child {
	margin-top: 0;
}

.llm-message-content > *:last-child {
	margin-bottom: 0;
}

/* Paragraphs */
.llm-message-content p {
	margin: 0.5em 0;
}

.llm-message-content p:first-child {
	margin-top: 0;
}

.llm-message-content p:last-child {
	margin-bottom: 0;
}

/* Headings */
.llm-message-content h1,
.llm-message-content h2,
.llm-message-content h3,
.llm-message-content h4,
.llm-message-content h5,
.llm-message-content h6 {
	margin: 0.75em 0 0.5em;
	font-weight: 600;
}

.llm-message-content h1 { font-size: 1.4em; }
.llm-message-content h2 { font-size: 1.25em; }
.llm-message-content h3 { font-size: 1.1em; }
.llm-message-content h4 { font-size: 1em; }

/* Inline code */
.llm-message-content code {
	background-color: rgba(0, 0, 0, 0.1);
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
	font-size: 0.9em;
}

/* Code blocks */
.llm-message-content pre {
	margin: 0.5em 0;
	padding: 0.75em 1em;
	background: #2b2b2b;
	border-radius: 6px;
	overflow-x: auto;
}

.llm-message-content pre code {
	background: none;
	padding: 0;
	border-radius: 0;
	font-size: 0.85em;
	color: #abb2bf;
}

/* Lists */
.llm-message-content ul,
.llm-message-content ol {
	margin: 0.5em 0;
	padding-left: 1.5em;
}

.llm-message-content li {
	margin: 0.25em 0;
}

/* Nested lists */
.llm-message-content li > ul,
.llm-message-content li > ol {
	margin: 0.25em 0;
}

/* Blockquotes */
.llm-message-content blockquote {
	margin: 0.5em 0;
	padding: 0.5em 1em;
	border-left: 3px solid #ccc;
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 0 4px 4px 0;
}

.llm-message-content blockquote p {
	margin: 0;
}

/* Tables */
.llm-message-content table {
	border-collapse: collapse;
	margin: 0.5em 0;
	width: 100%;
	font-size: 0.9em;
}

.llm-message-content th,
.llm-message-content td {
	border: 1px solid #ddd;
	padding: 0.5em 0.75em;
	text-align: left;
}

.llm-message-content th {
	background-color: rgba(0, 0, 0, 0.05);
	font-weight: 600;
}

.llm-message-content tr:nth-child(even) {
	background-color: rgba(0, 0, 0, 0.02);
}

/* Links */
.llm-message-content a {
	color: #0066cc;
	text-decoration: none;
}

.llm-message-content a:hover {
	text-decoration: underline;
}

/* Horizontal rules */
.llm-message-content hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 1em 0;
}

/* Task lists (GFM) */
.llm-message-content input[type="checkbox"] {
	margin-right: 0.5em;
}

/* Strikethrough */
.llm-message-content del {
	text-decoration: line-through;
	opacity: 0.7;
}

/* Strong/Bold */
.llm-message-content strong {
	font-weight: 600;
}

/* Emphasis/Italic */
.llm-message-content em {
	font-style: italic;
}

/* KaTeX block equations */
.llm-message-content .katex-block {
	margin: 0.5em 0;
	text-align: center;
	overflow-x: auto;
}

/* Images */
.llm-message-content img {
	max-width: 100%;
	max-height: 400px;
	border-radius: 8px;
	cursor: pointer;
	margin: 0.5em 0;
	display: block;
	transition: opacity 0.15s;
}

.llm-message-content img:hover {
	opacity: 0.9;
}
.chat-box-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	background: #fff;
}

.chat-box-error {
	padding: 12px 16px;
	background: #fee;
	color: #dc3545;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #fcc;
}

.chat-box-error button {
	background: none;
	border: none;
	color: #dc3545;
	cursor: pointer;
	text-decoration: underline;
}

.message-list {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.message-row {
	display: flex;
	flex-direction: column;
	max-width: 80%;
}

.message-row.user {
	align-self: flex-end;
	align-items: flex-end;
}

.message-row.assistant {
	align-self: flex-start;
	align-items: flex-start;
}

.message-bubble {
	padding: 12px 16px;
	border-radius: 12px;
	position: relative;
	line-height: 1.5;
}

.message-bubble.user {
	background: #0066cc;
	color: white;
}

.message-bubble.assistant {
	background: #f5f5f5;
	color: #333;
}

.message-actions {
	margin-top: 4px;
	display: flex;
	gap: 8px;
}

.message-content {
	word-wrap: break-word;
}

.typing-indicator {
	animation: blink 1s infinite;
}

@keyframes blink {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}

.message-action-button {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.8);
	transition: background 0.2s, color 0.2s;
}

.message-action-button:hover {
	background: rgba(255, 255, 255, 0.3);
	color: white;
}

.message-input-container {
	display: flex;
	gap: 8px;
	padding: 16px;
	border-top: 1px solid #e0e0e0;
	background: #fafafa;
	border-radius: 0 0 10px 10px;
}

.message-input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	resize: none;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s;
}

.message-input:focus {
	border-color: #0066cc;
}

.message-input:disabled {
	background: #f5f5f5;
	color: #999;
}

.message-send-button {
	padding: 12px 24px;
	background: #0066cc;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s;
}

.message-send-button:hover:not(:disabled) {
	background: #0052a3;
}

.message-send-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadeOut {
	from { opacity: 1; }
	to { opacity: 0; }
}

@keyframes slideIn {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

@keyframes slideOut {
	from { transform: translateX(0); }
	to { transform: translateX(100%); }
}

.internal-chat-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	animation: fadeIn 0.2s ease-out forwards;
}

.internal-chat-overlay.closing {
	animation: fadeOut 0.25s ease-in forwards;
}

.internal-chat-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 500px;
	max-width: 90vw;
	height: 100vh;
	background: #fff;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	display: flex;
	flex-direction: column;
	animation: slideIn 0.25s ease-out forwards;
}

.internal-chat-panel.closing {
	animation: slideOut 0.25s ease-in forwards;
}

.internal-chat-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #e0e0e0;
	background: #f5f5f5;
}

.internal-chat-header h3 {
	margin: 0;
	font-size: 18px;
	color: #333;
}

.internal-chat-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #666;
	padding: 0;
	line-height: 1;
}

.internal-chat-close:hover {
	color: #333;
}

.internal-chat-content {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
}

.internal-chat-loading,
.internal-chat-error,
.internal-chat-empty {
	text-align: center;
	padding: 40px 20px;
	color: #666;
}

.internal-chat-error {
	color: #dc3545;
}

.internal-chat-messages {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.internal-message {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.internal-message-content {
	padding: 12px 16px;
	background: #f9f9f9;
	border-bottom: 1px solid #e0e0e0;
}

.internal-message-label {
	font-size: 12px;
	font-weight: 600;
	color: #666;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.internal-message-text {
	color: #333;
	line-height: 1.5;
}

.internal-tool-calls {
	display: flex;
	flex-direction: column;
}

.internal-tool-call {
	padding: 12px 16px;
	border-bottom: 1px solid #e0e0e0;
}

.internal-tool-call:last-child {
	border-bottom: none;
}

.tool-call-header {
	margin-bottom: 12px;
}

.tool-call-name {
	font-weight: 600;
	color: #0066cc;
	font-size: 14px;
}

.tool-call-section {
	margin-bottom: 12px;
}

.tool-call-section:last-child {
	margin-bottom: 0;
}

.tool-call-label {
	font-size: 11px;
	font-weight: 600;
	color: #888;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.tool-call-json {
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 12px;
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
	margin: 0;
	color: #333;
}
.chat-tab {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.no-chat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 40px 20px;
	background: #f9fafb;
	border-radius: 12px;
	border: 2px dashed #e5e7eb;
	text-align: center;
}

.no-chat-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

.no-chat h3 {
	margin: 0 0 8px 0;
	color: #374151;
}

.no-chat p {
	color: #6b7280;
	margin: 0 0 20px 0;
	max-width: 400px;
}

.btn-start-chat {
	padding: 12px 32px;
	font-size: 16px;
}

.chat-loading,
.chat-error {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 12px;
	color: #6b7280;
}

.chat-error {
	color: #dc2626;
}

.chat-error button {
	background: #fee2e2;
	color: #dc2626;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
}

.chat-selector {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
	flex-wrap: wrap;
}

.chat-selector-label {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
}

.chat-selector-buttons {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.chat-selector-btn {
	background: white;
	border: 1px solid #d1d5db;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
	transition: all 0.2s;
}

.chat-selector-btn:hover {
	background: #f3f4f6;
}

.chat-selector-btn.active {
	background: #2563eb;
	color: white;
	border-color: #2563eb;
}

.chat-selector-btn.new {
	background: #dbeafe;
	color: #1d4ed8;
	border-color: #93c5fd;
	border-style: dashed;
}

.chat-selector-btn.new:hover {
	background: #bfdbfe;
}

.chat-tab-content {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.chat-tab-content .chat-box-container {
	height: 100%;
}

.btn-view-internal {
	background: none;
	border: none;
	color: #9ca3af;
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-view-internal:hover {
	background: #f3f4f6;
	color: #374151;
}

.btn-undo {
	background: none;
	border: none;
	color: #9ca3af;
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-undo:hover {
	background: #fee2e2;
	color: #dc2626;
}

.btn-delete {
	background: none;
	border: none;
	color: #9ca3af;
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-delete:hover {
	background: #fee2e2;
	color: #dc2626;
}
.design-session-detail {
	padding: 12px 24px;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.back-link {
	color: #6b7280;
	text-decoration: none;
	font-size: 13px;
	display: inline-block;
	margin-bottom: 8px;
}

.back-link:hover {
	color: #374151;
}

.detail-header {
	margin-bottom: 8px;
	flex-shrink: 0;
}

.header-row {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 16px;
}

.header-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.header-title {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.header-title h1 {
	margin: 0;
	font-size: 18px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header-controls {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.session-description {
	color: #6b7280;
	font-size: 12px;
	margin: 4px 0 0 0;
}

.btn-link {
	background: none;
	border: none;
	color: #2563eb;
	cursor: pointer;
	font-size: 14px;
	padding: 0;
}

.btn-link:hover {
	text-decoration: underline;
}

.edit-name-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}

.edit-name-form input,
.edit-name-form textarea {
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
}

.edit-name-form input {
	font-weight: 600;
}

.edit-actions {
	display: flex;
	gap: 8px;
}

.validation-summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 12px;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
}

.validation-summary.valid {
	background-color: #dcfce7;
	color: #15803d;
}

.validation-summary.invalid {
	background-color: #fee2e2;
	color: #dc2626;
}

.validation-summary button {
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: inherit;
	opacity: 0.7;
}

.validation-summary button:hover {
	opacity: 1;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	font-size: 10px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 1px solid transparent;
}

.status-escalated {
	background-color: #fef3c7;
	color: #b45309;
	border-color: #fcd34d;
}

.escalation-banner {
	background-color: #fef3c7;
	border: 1px solid #f59e0b;
	color: #92400e;
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	flex-shrink: 0;
}

.escalation-icon {
	font-size: 24px;
	line-height: 1;
}

.escalation-content {
	flex: 1;
}

.escalation-content strong {
	display: block;
	margin-bottom: 4px;
	color: #78350f;
}

.escalation-content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.error-state {
	text-align: center;
	padding: 60px 20px;
}

.error-state h2 {
	margin: 0 0 8px 0;
}

.error-state p {
	color: #6b7280;
	margin-bottom: 20px;
}

.detail-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.parameters-section h2 {
	font-size: 18px;
	margin: 0 0 16px 0;
	color: #374151;
}

.parameters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.parameters-grid fieldset {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	margin: 0;
}

.parameters-grid legend {
	font-weight: 600;
	font-size: 14px;
	color: #374151;
	padding: 0 8px;
}

.param-row {
	margin-bottom: 12px;
}

.param-row:last-child {
	margin-bottom: 0;
}

.param-row.full-width {
	grid-column: 1 / -1;
}

.param-row label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	margin-bottom: 6px;
}

.param-row input,
.param-row select,
.param-row textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.param-row input:focus,
.param-row select:focus,
.param-row textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.param-row input[type="number"] {
	-moz-appearance: textfield;
}

.param-row input[type="number"]::-webkit-outer-spin-button,
.param-row input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}


.btn-primary {
	background-color: #2563eb;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s;
}

.btn-primary:hover {
	background-color: #1d4ed8;
}

.btn-primary:disabled {
	background-color: #93c5fd;
	cursor: not-allowed;
}

.btn-secondary {
	background-color: #f3f4f6;
	color: #374151;
	border: 1px solid #d1d5db;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.btn-secondary:hover:not(:disabled) {
	background-color: #e5e7eb;
}

.btn-secondary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.btn-danger {
	background-color: white;
	color: #dc2626;
	border: 1px solid #fecaca;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-danger:hover {
	background-color: #fee2e2;
	border-color: #f87171;
}

/* Test Data Buttons */
.test-data-section {
	display: flex;
	align-items: center;
	gap: 6px;
	background-color: #fef3c7;
	border: 1px solid #fcd34d;
	border-radius: 6px;
	padding: 4px 8px;
}

.test-data-label {
	font-size: 11px;
	font-weight: 600;
	color: #92400e;
}

.btn-test {
	background-color: #fef3c7;
	color: #92400e;
	border: 1px solid #fcd34d;
	padding: 4px 6px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.btn-test:hover {
	background-color: #f59e0b;
}

.btn-test:disabled {
	background-color: #fde68a;
	cursor: not-allowed;
}

.btn-test-clear {
	background-color: #e5e7eb;
	color: #374151;
}

.btn-test-clear:hover {
	background-color: #d1d5db;
}

.btn-test-clear:disabled {
	background-color: #f3f4f6;
}

/* Chat History Section */
.chat-history-section {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
	padding: 12px;
	background-color: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	flex-wrap: wrap;
}

.chat-history-label {
	font-size: 13px;
	font-weight: 600;
	color: #1e40af;
}

.chat-history-list {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.chat-history-link {
	background-color: #3b82f6;
	color: white;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s;
}

.chat-history-link:hover {
	background-color: #2563eb;
}

.btn-new-chat {
	background-color: #dbeafe;
	color: #1d4ed8;
	border: 1px dashed #93c5fd;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-new-chat:hover {
	background-color: #bfdbfe;
	border-color: #60a5fa;
}

.btn-new-chat:disabled {
	background-color: #f3f4f6;
	color: #9ca3af;
	border-color: #d1d5db;
	cursor: not-allowed;
}

/* Tab Navigation */
.tab-navigation {
	display: flex;
	gap: 2px;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.tab-btn {
	position: relative;
	padding: 8px 16px;
	background: none;
	border: none;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tab-btn:hover {
	color: #374151;
	background: #f9fafb;
}

.tab-btn.active {
	color: #2563eb;
}

.tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: #2563eb;
}

.tab-badge {
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 10px;
}

.tab-indicator {
	color: #10b981;
	font-size: 10px;
}

.tab-indicator.unsaved {
	color: #f59e0b;
}

.tab-content {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.tab-panel {
	flex: 1;
	min-height: 0;
	flex-direction: column;
}
/* App component styles */
