html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	overflow: hidden;
	color: #333;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:focus {
	border-color: #666;
}


/* グローバルスタイルここから */
.generated-response h1{
	font-size: 2em;
	font-weight: bold;
}

.generated-response h2{
	font-size: 1.5em;
	font-weight: bold;
}

.generated-response table {
	background: #313131;
	width: 100%;
	color: #FFFFFF;
	border: 1px solid #ccc;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
}

.generated-response .header{
	background: #313131;
}

.generated-response th, .generated-response td {
	text-align: left;
	padding: 8px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.generated-response tr:nth-child(even) {
	background: #626263;
}

.generated-response th {
	color: white;
	background: #313131;
}

.generated-response td {
	background: #626263;
}

.generated-response table tr:last-child td {
	border-bottom: none;
}

/* borderの外側に丸みをつける */
.generated-response table tr:first-child th:first-child,
.generated-response table tr:first-child td:first-child {
	border-top-left-radius: 8px;
}

.generated-response table tr:first-child th:last-child,
.generated-response table tr:first-child td:last-child {
	border-top-right-radius: 0; /* この行を変更 */
}

.generated-response table tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

.generated-response table tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

.generated-response h1, .generated-response h2, .generated-response p, .generated-response table{
	margin-bottom: 30px;
}

/* コードブロック全体のスタイル */
.generated-response pre {
	background-color: #1e1e1e;
	border-radius: 6px;
	padding: 20px;
	overflow-x: auto;
	margin-bottom: 20px;
}

.generated-response code {
	font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 14px;
	color: #d4d4d4;
	line-height: 1.5;
}

/* Pythonの構文ハイライト */
.generated-response .language-python .keyword {
	color: #569cd6;
}

.generated-response .language-python .function {
	color: #dcdcaa;
}

.generated-response .language-python .string {
	color: #ce9178;
}

.generated-response .language-python .number {
	color: #b5cea8;
}

.generated-response .language-python .comment {
	color: #6a9955;
	font-style: italic;
}

/* 行番号（オプション） */
.generated-response .line-numbers {
	counter-reset: line;
	padding-left: 3em;
	position: relative;
}

.generated-response .line-numbers > span {
	counter-increment: line;
	display: inline-block;
	width: 100%;
}

.generated-response .line-numbers > span::before {
	content: counter(line);
	color: #858585;
	display: inline-block;
	width: 2em;
	margin-left: -3em;
	margin-right: 1em;
	text-align: right;
}

.generated-response pre {
	white-space: pre-wrap !important;
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
	tab-size: 4 !important;
}

.generated-response pre code {
	white-space: pre-wrap !important;
	word-break: keep-all !important;
}

.generated-response code:not(pre code) {
	background: black;
	padding: 4px 10px;
	color: orange;
	border-radius: 4px;
}

hr{
	border: none;
	height: 1px;
	background: repeating-linear-gradient(
		to right,
		#95a5a6 0px,
		#95a5a6 8px,
		transparent 8px,
		transparent 16px
	);
	margin: 30px 0;
}

/* Agent builder design tokens: dark is the existing application default. */
:root {
	--agt-canvas: #313131;
	--agt-surface: #3A3C42;
	--agt-surface-dim: #26282C;
	--agt-surface-raise: #43454C;
	--agt-border: #4A4D55;
	--agt-border-strong: #5C6069;
	--agt-ink: #F2F3F5;
	--agt-ink-2: #C3C7CE;
	--agt-ink-3: #8E939C;
	--agt-primary: #4CB8EC;
	--agt-primary-tint: rgba(76, 184, 236, .14);
	--agt-on-primary: #10232C;
	--agt-cta-bg: #F2F3F5;
	--agt-cta-ink: #1B1D22;
	--agt-ai: #8F8FE8;
	--agt-ai-tint: rgba(143, 143, 232, .14);
	--agt-queued: #A9AFB8;
	--agt-queued-tint: rgba(142, 147, 156, .14);
	--agt-running: #4CB8EC;
	--agt-running-tint: rgba(76, 184, 236, .14);
	--agt-waiting: #F5A623;
	--agt-waiting-tint: rgba(245, 166, 35, .14);
	--agt-succeeded: #3ECF8E;
	--agt-succeeded-tint: rgba(62, 207, 142, .14);
	--agt-on-succeeded: #09271D;
	--agt-failed: #F87171;
	--agt-failed-tint: rgba(248, 113, 113, .14);
	--agt-on-failed: #FFFFFF;
	--agt-critical: #F0655C;
	--agt-critical-tint: rgba(240, 101, 92, .14);
	--agt-major: #EFA45B;
	--agt-major-tint: rgba(239, 164, 91, .14);
	--agt-minor: #D9B44A;
	--agt-minor-tint: rgba(217, 180, 74, .12);
	--agt-question: #B8BFCA;
	--agt-question-tint: rgba(152, 162, 179, .14);
	--agt-icon-ink: #F2F3F5;
	--agt-icon-blueprint: #465B68;
	--agt-icon-calculator: #5B5548;
	--agt-icon-compare: #504E67;
	--agt-icon-document: #5C4C4C;
	--agt-icon-search: #465D55;
	--agt-icon-shield: #515667;
	--agt-overlay: rgba(0, 0, 0, .54);
	--agt-type-title: 700 20px/30px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-type-section: 700 16px/25px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-type-card: 600 15px/23px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-type-body: 400 14px/22px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-type-sub: 400 13px/20px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-type-meta: 400 12px/18px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-type-overline: 600 11px/16px 'Noto Sans JP', 'Noto Sans', sans-serif;
	--agt-radius-control: 10px;
	--agt-radius-card: 14px;
	--agt-radius-modal: 18px;
	--agt-radius-pill: 999px;
	--agt-shadow-1: 0 1px 2px rgba(0, 0, 0, .40);
	--agt-shadow-2: 0 20px 48px rgba(0, 0, 0, .44);
	--agt-glass-bg: rgba(38, 40, 46, .82);
	--agt-dur-micro: 120ms;
	--agt-dur-standard: 200ms;
	--agt-dur-enter: 300ms;
	--agt-dur-exit: 160ms;
	--agt-ease-enter: cubic-bezier(.16, 1, .3, 1);
}

main.light {
	--agt-canvas: #F5F7F9;
	--agt-surface: #FFFFFF;
	--agt-surface-dim: #EDF0F3;
	--agt-surface-raise: #FFFFFF;
	--agt-border: #E3E6EA;
	--agt-border-strong: #C6CBD2;
	--agt-ink: #1B1D22;
	--agt-ink-2: #565B64;
	--agt-ink-3: #767D87;
	--agt-primary: #0E79AC;
	--agt-primary-tint: #E3F3FB;
	--agt-on-primary: #FFFFFF;
	--agt-cta-bg: #23252B;
	--agt-cta-ink: #FFFFFF;
	--agt-ai: #5B5BD6;
	--agt-ai-tint: #EEEEFB;
	--agt-queued: #6B7280;
	--agt-queued-tint: #F1F2F4;
	--agt-running: #0E79AC;
	--agt-running-tint: #E3F3FB;
	--agt-waiting: #B45309;
	--agt-waiting-tint: #FBF1E6;
	--agt-succeeded: #12855F;
	--agt-succeeded-tint: #E7F5EF;
	--agt-on-succeeded: #FFFFFF;
	--agt-failed: #C93A32;
	--agt-failed-tint: #FCEBEA;
	--agt-critical: #B42318;
	--agt-critical-tint: #FBEAE8;
	--agt-major: #B54708;
	--agt-major-tint: #FBF0E4;
	--agt-minor: #A16207;
	--agt-minor-tint: #FAF3DE;
	--agt-question: #5B6472;
	--agt-question-tint: #EEF1F4;
	--agt-icon-ink: #26313A;
	--agt-icon-blueprint: #DFEBF0;
	--agt-icon-calculator: #F1EAD8;
	--agt-icon-compare: #E8E6F5;
	--agt-icon-document: #F3E5E3;
	--agt-icon-search: #E1EFE8;
	--agt-icon-shield: #E5E8F0;
	--agt-shadow-1: 0 1px 2px rgba(20, 24, 31, .08);
	--agt-shadow-2: 0 16px 40px rgba(20, 24, 31, .16);
	--agt-glass-bg: rgba(255, 255, 255, .88);
}

.agt-tabular {
	font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
	.agt-motion,
	.agt-motion::before,
	.agt-motion::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}



/* 以下. マークダウン用のスタイル */
/*li>p {*/
/*	margin-top: 30px !important;*/
/*	margin-bottom: 5px !important;*/
/*	font-weight: bold !important;*/
/*}*/
