@charset "UTF-8";

.layout {
	height: 100%;
	display: grid;
	/* grid-template-rows: 1fr 60px 60px 60px 60px 35px 135px;*/
	grid-template-rows: 600px 60px 60px 60px 60px 180px;
	border:1px solid blue;
}

/* ==================== 基本スタイル ==================== */
html, body {
	margin: 0;
	height: 100%;
	background: #0e1116;
	color: #e6edf3;
	font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto;
}


/* ==================== ツールバー ==================== */
.toolbar {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 3px 12px;
	border-bottom: 1px solid #1f2937;
	background: #0b0d12;
}

.toolbar select,
.toolbar button,
.toolbar label {
	background: #111827;
	color: #e6edf3;
	border: 1px solid #374151;
	border-radius: 6px;
	padding: 4px 8px;
}

/* ==================== レイアウト ==================== */
.wrapper {
	display: grid;
	grid-template-columns: 2.5fr 530px;  /* 2列に戻す */
	border:2px solid red;
}

.pane {
	border-bottom: 1px solid #1f2937;
	position: relative;
}

.pane:last-child {
	border-bottom: none;
}

.heat_06 {
	position: fixed;          /* スクロールしても固定 */
	bottom: 253px;                /* 画面上からの距離 */
	left: 60px;              /* 画面右からの距離 */
	background: rgba(0, 0, 0, 0.7); /* 半透明の背景（任意） */
	color: #00ff88;           /* 文字色 */
	padding: 6px 12px;
	border-radius: 8px;
	font-family: monospace;
	z-index: 9998;            /* 最前面に配置 */
}

.wave_search_xxx {
	position: fixed;          /* スクロールしても固定 */
	bottom: 273px;                /* 画面上からの距離 */
	left: 60px;              /* 画面右からの距離 */
	background: rgba(0, 0, 0, 0.7); /* 半透明の背景（任意） */
	color: #00ff88;           /* 文字色 */
	padding: 6px 12px;
	border-radius: 8px;
	font-family: monospace;
	z-index: 9999;            /* 最前面に配置 */
}

.wave_search {
	border:1px solid green;
	bottom: 0px;
	left:60px;
	z-index: 9999;
	position: fixed;
}

.time_status {
	background: rgba(0, 0, 0, 0.7); /* 半透明の背景（任意） */
	color: #00ff88;           /* 文字色 */
}
/* ==================== チャットUI ==================== */
.chat {
	display: flex;
	flex-direction: column;
	background: #111827;
	border-left: 1px solid #1f2937;
	height: calc(100vh - 180px);
	min-height: 0;
	border:1px solid yellow;
}

.chat-header {
	padding: 12px;
	border-bottom: 1px solid #1f2937;
	font-weight: bold;
	background: #0b0d12;
}

.messages {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 100%;
	scroll-behavior: smooth;
}

.msg {
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 12px;
	font-size:14px!important;
}

.msg-user {
	align-self: flex-end;
	background: #2563eb;
	color: #fff;
}

.msg-ai {
	align-self: flex-start;
	background: #374151;
	color: #e6edf3;
}

.input-area {
	display: flex;
	align-items: center;
	padding: 10px;
	border-top: 1px solid #1f2937;
	background: #0b0d12;
}

.input-area input {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 8px;
	background: #1f2937;
	color: #e6edf3;
}

.input-area button {
	margin-left: 8px;
	padding: 10px 16px;
	border: none;
	border-radius: 8px;
	background: #2563eb;
	color: #fff;
	cursor: pointer;
}

/* ==================== カスタム ==================== */
.fleft {
	float:left;
}
.fright {
	float:right;
}
/* ==================== プロファイルエリア追加 ==================== */
.wrapper.show-profile {
	grid-template-columns: 2fr 1fr;  /* チャートを少し狭くしてプロファイルをより広く */
}

.profile-area {
	display: flex;
	flex-direction: column;
	background: #111827;
	border-left: 1px solid #1f2937;
	border-right: 1px solid #1f2937;
	overflow: hidden;
}

.profile-header {
	padding: 8px 12px;
	border-bottom: 1px solid #1f2937;
	font-weight: bold;
	font-size: 12px;
	background: #0b0d12;
}

.profile-main {
	flex: 3;
	position: relative;
	border-bottom: 1px solid #1f2937;
	background: #0e1116;
}

.profile-sub {
	flex: 1;
	position: relative;
	background: #0e1116;
}

.profile-placeholder {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #6b7280;
	font-size: 11px;
}


/* 買いチェック・相談ボタン */
#btnBuyCheck,
#btnBuyConsult {
	background: #26a69a;
	color: #ffffff;
	border: 1px solid #26a69a;
	font-weight: bold;
}

#btnBuyCheck:hover,
#btnBuyConsult:hover {
	background: #26a69a;
	opacity: 0.8;
}

/* 売りチェック・相談ボタン */
#btnSellCheck,
#btnSellConsult {
	background:#ef5350;
	color: #ffffff;
	border: 1px solid #ef5350;
	font-weight: bold;
}

#btnSellCheck:hover,
#btnSellConsult:hover {
	background: #ef5350;
	opacity: 0.8;
}


/* Volume Profile Canvas */
#volumeProfileCanvas {
	position: absolute;
	top: 0;
	right: 55px;  /* ★★★ 価格軸の幅分ずらす ★★★ */
/*
	width: 369px;
	*/
	height: 100%;
	pointer-events: none;
	z-index: 10;
}
/* ==================== TradingView非表示 ==================== */
#tv-attr-logo,
a[title="Charting by TradingView"] {
	display: none !important;
}

.center {
	text-align:center;
}

/* カラー設定 */
.aqua {color:aqua;}
.yellow {color:yellow;}

.lime {
	color:lime;
}
.red {
	color:#ef5350;
}
.magenta {
	color:magenta;
}
.pink {
	color:pink;
}
.hotpink {
	color:hotpink;
}
.gold {
	color:gold;
}

.bot_white {
	border-bottom: 1px solid #ffffff;
}
.midashi {
	border-left:1px solid #ffffff;
	border-right: 1px solid #ffffff;
	height: 23px;  /* 高さ固定 */
	line-height: 23px;  /* 行の高さも固定 */
}

.stop_rule {
	border-top:1px solid #ff9966;
	border-left:1px solid #ff9966;
	border-right:1px solid #ff9966;
}
.stop_rule:last-child {
	border-bottom: 1px solid #ff9966;
}
.width34 {
	display: inline-block;
	width: 34px;
	margin-left:5px;
}

/* 共通スタイル */

.marginT2 {
	margin-top:2px;
}

.font1_12 {
	vertical-align: bottom;
	font-size:1.12em
}
.font1_11 {
	vertical-align: bottom;
	font-size:1.11em;
}
.height46 {
	min-height: 46px;
}


[class*="width78"] {
	display: inline-block;
	width: 85px;
	height: 23px;
	line-height: 23px;
	padding-left: 3px;
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
}

/* 個別のボーダー */
.width78_ltr {
	border-top: 1px solid #ffffff;
}

.width78_ltr_dot {
	border-top: 1px dotted #ffffff;
}

.width78_lrb {
	border-bottom: 1px solid #ffffff;
}

.width78_lrb3 {
	border-bottom: 3px solid #ffffff;
}

.width78 {
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}

.width15 {
	display: inline-block;
	width: 15px;
	border:0px solid #ffffff;
}
.width12_m3 {
	display: inline-block;
	width: 12px;
	border:0px solid #ffffff;
	margin-left:3px;
}



/* ツールバーのスタイル部分に追加 */
.toolbar input[type="datetime-local"] {
	background: #111827;
	color: #e6edf3;
	border: 1px solid #374151;
	border-radius: 6px;
	padding: 4px 8px;
	min-width: 180px;
	cursor: pointer;
}

.toolbar input[type="datetime-local"]::-webkit-calendar-picker-indicator {
	filter: invert(1);  /* 👈 カレンダーアイコンを白くする */
	cursor: pointer;
}

.toolbar input[type="datetime-local"]:hover {
	border-color: #4b5563;  /* 👈 ホバー時に色変える */
}

/* 解析バー */
.analysis-bar {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 3px 12px;
	border-bottom: 1px solid #1f2937;
	background: #0b0d12;
}

.analysis-bar label {
	background: #111827;
	color: #e6edf3;
	border: 1px solid #374151;
	border-radius: 6px;
	padding: 4px 8px;
}

/* 解析バー検索ボタン */
.analysis-bar button {
	background: #111827;
	color: #e6edf3;
	border: 1px solid #374151;
	border-radius: 6px;
	padding: 4px 12px;
	cursor: pointer;
}

.analysis-bar button:hover {
	background: #1f2937;
}
