
/* CSS - Cascading Style Sheet */
/* Palette color codes */
/* Palette URL: http://paletton.com/#uid=13p0u0kex8W2uqu8af7lEqaulDE */

/* Feel free to copy&paste color codes to your application */

/* As hex codes */
.color-primary-0 { color: #19282C }	/* Main Primary color */
.color-primary-1 { color: #7A8184 }
.color-primary-2 { color: #39474B }
.color-primary-3 { color: #2D6D82 }
.color-primary-4 { color: #108FB9 }

/* As RGBa codes */
.rgba-primary-0 { color: rgba( 25, 40, 44,1) }	/* Main Primary color */
.rgba-primary-1 { color: rgba(122,129,132,1) }
.rgba-primary-2 { color: rgba( 57, 71, 75,1) }
.rgba-primary-3 { color: rgba( 45,109,130,1) }
.rgba-primary-4 { color: rgba( 16,143,185,1) }

/* Generated by Paletton.com Â© 2002-2014 */
/* http://paletton.com */


/* ============================================================
   Figma 디자인 토큰 (리앤컴퍼니 / SIDEBAR 17:156)
   리뉴얼 단일 토큰 소스 — 신규 스타일은 이 변수를 참조할 것.
   ============================================================ */
:root{
	/* color — azure (다크 네이비 스케일) */
	--color-azure-4:  #07090D;
	--color-azure-5:  #001218;
	--color-azure-6:  #0A0E15;
	--color-azure-10: #0D1726;
	--color-azure-11: #141A23;
	--color-azure-14: #1A212C;
	--color-azure-15: #1C232E;
	--color-azure-18: #232B37;
	--color-azure-19: #252E3B;
	--color-azure-23: #1A3A5A;
	--color-azure-27: #364152;
	--color-azure-29: #3D4456;
	--color-azure-42: #5D6678;
	--color-azure-66: #97A2B8;

	/* color — cyan (강조) */
	--color-cyan-50:    #00D9FF;
	--color-cyan-50-10: #00D9FF1A;
	--color-cyan-60:    #34E1FF;

	/* color — neutral */
	--color-grey-13: #222222;
	--color-grey-27: #444444;
	--color-grey-93: #E7ECF5;
	--color-white:   #FFFFFF;
	--color-black:   #000000;

	/* stroke */
	--stroke-weight-1: 1px;

	/* typography (실제 웹폰트 로드 필요 — 미로드 시 폴백) */
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--font-ui:   "Inter", Arial, Helvetica, sans-serif;

	/* spacing */
	--space-xxxs: 2px;
	--space-5:    5px;
	--space-6:    6px;
	--space-xs:   8px;
	--space-12:   12px;
	--space-14:   14px;
}




:root{
	
	--color-0: 			rgba( 25, 40, 44, 1);
	--color-1: 			rgba(122,129,132, 1);
	--color-2: 			rgba( 57, 71, 75, 1);
	--color-3: 			rgba( 45,109,130, 1);
	--color-4: 			rgba( 16,143,185, 1);
	
	--bg-color:			var(--color-0);
	--bg-color-2:		rgb(60, 80, 85);
	--bg-light-color:	rgba( 48, 61, 65, 1);
	--bg-dark-color:	rgba( 24, 31, 33, 1);
	--bg-hover-color:	var(--color-2);
	
	--font-color:		#9AA1A4;
	--font-color-2:		#ddd;
	--font-color:		#cccccc;
	--border-color:		black;
	
	--measurement-detail-node-bg-light:		var(--color-1);
	--measurement-detail-node-bg-dark:		var(--color-2);
	--measurement-detail-area-bg-color:		#eee;

	
}

#potree_sidebar_container{
	position:	absolute;
	z-index:	0;
	width:		350px;
	height:		100%;
	overflow-y:	scroll;
	font-size:	85%;

	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-self: stretch;
	grid-row: 2 / span 1;
	grid-column: 1 / span 1;
	justify-self: stretch;

	border-right: var(--stroke-weight-1, 1px) solid var(--color-azure-18, #232B37);
	background: linear-gradient(180deg, var(--color-azure-6, #0A0E15) 0%, var(--color-azure-4, #07090D) 100%);
}

#sidebar_root{
	color:				var(--font-color);
	font-family:		Arial,Helvetica,sans-serif;
	font-size:			1em;
}

.potree_failpage{
	width: 100%;
	height: 100%;
	background-color: white;
	position: absolute;
	margin: 15px;
}

.potree_failpage a{
	color: initial !important;
	text-decoration: underline !important;
}

.potree_info_text{
	color:		white;
	font-weight: bold;
	text-shadow:  1px  1px 1px black,
				  1px -1px 1px black,
				 -1px  1px 1px black,
				 -1px -1px 1px black;
}

.potree_message{
	width: 500px;
	background-color: var(--bg-color);
	padding: 5px;
	margin: 5px;
	border-radius: 4px;
	color: var(--font-color);
	font-family: Arial;
	opacity: 0.8;
	border: 1px solid black;
	display: flex;
	overflow: auto;
}

.potree_message_error{
	background-color: red;
}

#potree_description{
	position: absolute; 
	top: 10px; 
	left: 50%; 
	transform: translateX(-50%); 
	text-align: center;
	z-index:	1000;
}

.potree_sidebar_brand{
	margin:			1px 20px;
	line-height:	2em;
	font-size:		100%;
	font-weight:	bold;
	position:		relative;
	display:		flex; 
	flex-direction:	row;
}

#potree_sidebar_container a{
	color: 			#8Aa1c4;
}

#potree_quick_buttons{
	position: absolute;
	left: 4px;
	top: 4px; 
	width: 10px; 
	height: 10px; 
	z-index: 10000;
	float: left;
}

.potree_menu_toggle{
	float:			left;
	margin:			0;
	background:		none;
	width:			2.5em;
	height:			2.5em;
	z-index:		100;
	cursor: 		pointer;
	margin:			4px;
}

#potree_map_toggle{
	float:			left;
	margin:			0;
	background:		none;
	width:			2.5em;
	height:			2.5em;
	z-index:		100;
	cursor: 		pointer;
	margin:			4px;
}

#potree_render_area{
	position: 	absolute;
	/*background: linear-gradient(-90deg, red, yellow);*/
	top: 		0px;
	bottom: 	0px;
	left: 		0px;
	right: 		0px;
	overflow: 	hidden;
	z-index: 	1;
	-webkit-transition: left .35s;
	transition: left .35s;
}

.potree-panel {
	border: 		1px solid black;
	border-radius: 	0.4em;
	padding: 		0px;
	background-color: var(--bg-light-color);
}

.potree-panel-heading{
	background-color: var(--bg-dark-color);
}

a:hover, a:visited, a:link, a:active{
	color: 				#ccccff;
	text-decoration: 	none;
}

.annotation{
	position:		absolute;
	padding:		10px;
	opacity:		0.5;
	transform:		translate(-50%, -30px);
	will-change:	left, top;
}

.annotation-titlebar{
	color:			white;
	background-color:	black;
	border-radius:	1.5em;
	border:			1px solid rgba(255, 255, 255, 0.7);
	font-size:		1em;
	opacity:		1;
	margin:			auto;
	display:		table;
	padding:		1px 8px;
	cursor: 		pointer;
}

.annotation-expand{
	color:			white;
	font-size:		0.6em;
	opacity:		1;
}

.annotation-action-icon{
	width:			20px;
	height:			20px;
	display:		inline-block;
	vertical-align:	middle;
	line-height:	1.5em;
	text-align:		center;
	font-family:	Arial;
	font-weight:	bold;
	cursor: 		pointer;
}

.annotation-action-icon:hover{
	filter:			drop-shadow(0px 0px 1px white);
	width:			24px;
	height:			24px;
	cursor: 		pointer;
	
}

.annotation-item {
	color:			white;
	background-color: 	black;
	opacity:		0.5;
	border-radius:	1.5em;
	font-size:		1em;
	line-height:	1.5em;
	padding:		1px 8px 0px 8px;
	font-weight:	bold;
	display:		flex;
	cursor:			default;
}

.annotation-item:hover {
	opacity:		1.0;
	box-shadow:		0 0 5px #ffffff;
}

.annotation-main{
	display:		flex;
	flex-grow:		1;
}

.annotation-label{
	display:		inline-block;
	height:			100%;
	flex-grow:		1;
	user-select:	none;
	-moz-user-select: none;
	z-index:		100;
	vertical-align:	middle;
	line-height:	1.5em;
	font-family:	Arial;
	font-weight:	bold;
	cursor: 		pointer;
	white-space:	nowrap;
}

.annotation-description{
	position:		relative;
	color:			white;
	background-color:	black;
	padding:		10px;
	margin:			5px 0px 0px 0px;
	border-radius:	4px;
	display:		none;
	max-width:		500px;
	width:			500px;
}

.annotation-description-close{
	filter:			invert(100%);
	float:			right;
	opacity:		0.5;
	margin:			0px 0px 8px 8px;
}

	
.annotation-description-content{
	color:			white;
}

.annotation-icon{
	width:		20px;
	height:		20px;
	filter:		invert(100%);
	margin:		2px 2px;
	opacity:	0.5;
}


canvas { 
	width: 100%; 
	height: 100% 
}

body{ 
	margin: 	0; 
	padding: 	0;
	position:	absolute;
	width: 		100%;
	height: 	100%;
	overflow:	hidden;
}

.axis {
  font: 		10px sans-serif;
  color: 		var(--font-color);
}

.axis path{
	fill: 		rgba(255, 255, 255, 0.5);
	stroke: 		var(--font-color);
	shape-rendering: crispEdges;
	opacity: 		0.7;
}

.axis line {
	fill: 		rgba(255, 255, 255, 0.5);
	stroke: 		var(--font-color);
	shape-rendering: crispEdges;
	opacity: 		0.1;
}

.tick text{
	font-size: 12px;
}

.scene_header{
	display:flex;
	cursor: pointer;
	padding: 2px;
}

.scene_content{
	padding: 5px 0px 5px 0px;
	/*background-color: rgba(0, 0, 0, 0.4);*/
}

.measurement_content{
	padding: 5px 15px 5px 10px;
	/*background-color: rgba(0, 0, 0, 0.4);*/
}

.propertypanel_content{
	padding: 5px 15px 5px 10px;
	/*background-color: rgba(0, 0, 0, 0.4);*/
}

.measurement_value_table{
	width: 100%;
}

.coordinates_table_container table td {
	width: 33%;
	text-align: center;
}

#scene_object_properties{
	margin:		0px;
}




.pv-panel-heading{
	padding: 	4px !important;
	display: 	flex; 
	flex-direction: row
}

.pv-menu-list{
	list-style-type:	none;
	padding:			0;
	margin:				0px 0px;
	overflow:			hidden;
}

.pv-menu-list > *{
	margin: 	4px 20px;
}

.ui-slider {
	margin-top: 5px;
	margin-bottom: 10px;
	background-color: 	var(--color-1) !important;
	background: 		none;
	border: 			1px solid black;
}

.ui-selectmenu-button.ui-button{
	width: 		100% !important;
}

.pv-menu-list > li > .ui-slider{
	background-color: 	var(--color-1) !important;
	background: 		none;
	border: 			1px solid black;
}

.pv-menu-list .ui-slider{
	background-color: 	var(--color-1) !important;
	background: 		none;
	border: 			1px solid black !important;
}

.ui-slider-handle{
	border: 			1px solid black !important;
}

/* ===== 슬라이더 컴포넌트 (Figma SIDEBAR — 트랙/채움/thumb) =====
   사이드바 메뉴 슬라이더 전체에 적용. legacy .ui-slider 규칙을
   동일 특이도+!important 로 오버라이드(이 블록이 뒤에 위치). */
.pv-menu-list .ui-slider,
.pv-load-ifcdata .ui-slider{
	height: 4px;
	margin: 12px 0 16px;
	background: var(--color-azure-15) !important;   /* 미충전 트랙 */
	border: none !important;
	border-radius: 2px;
}

.pv-menu-list .ui-slider .ui-slider-range,
.pv-load-ifcdata .ui-slider .ui-slider-range{
	background: var(--color-cyan-50) !important;    /* 값 연동 채움 */
	border-radius: 2px;
}

.pv-menu-list .ui-slider .ui-slider-handle,
.pv-load-ifcdata .ui-slider .ui-slider-handle{
	width: 14px;
	height: 14px;
	top: -5px;
	margin-left: -7px;
	border: none !important;
	border-radius: 50%;
	background: var(--color-white) !important;
	box-shadow: 0 0 0 2px var(--color-cyan-50), 0 0 12px 0 rgba(0, 217, 255, 0.5);
	cursor: pointer;
}

.pv-menu-list .ui-slider .ui-slider-handle:hover,
.pv-menu-list .ui-slider .ui-slider-handle.ui-state-active,
.pv-load-ifcdata .ui-slider .ui-slider-handle:hover,
.pv-load-ifcdata .ui-slider .ui-slider-handle.ui-state-active{
	box-shadow: 0 0 0 2px var(--color-cyan-50), 0 0 16px 2px rgba(0, 217, 255, 0.7);
}

/* ===== 배경 segmented (Figma SIDEBAR — 스와치 토글) =====
   selectgroup 위젯 출력(#background_options)을 재스킨: 라벨 텍스트를
   숨기고 값별 스와치를 ::after 로 렌더. 동작(setBackground)은 유지. */
#background_options legend{ display: none; }

#background_options fieldset > span{          /* 분절 컨테이너 */
	gap: var(--space-xxxs);
	padding: 4px;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 7px;
	box-sizing: border-box;
}

#background_options fieldset > span > span{ flex: 1 0 0; }   /* seg-btn 슬롯 */

#background_options label.ui-button{
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	margin: 0 !important;
	padding: 6px 0 !important;
	font-size: 0 !important;                  /* 텍스트 숨김 */
	background: transparent !important;
	border: none !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	cursor: pointer;
}

#background_options label.ui-button.ui-state-active{   /* 선택 상태 */
	background: var(--color-azure-19) !important;
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
}

#background_options label.ui-button::after{            /* 스와치 */
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border: var(--stroke-weight-1) solid var(--color-azure-27);
	border-radius: 2px;
	box-sizing: border-box;
}

#background_options label[for="background_options_skybox"]::after{
	background: linear-gradient(135deg, var(--color-azure-23) 0%, var(--color-azure-10) 100%);
}
#background_options label[for="background_options_gradient"]::after{
	background: linear-gradient(180deg, var(--color-azure-10) 0%, var(--color-black) 100%);
}
#background_options label[for="background_options_black"]::after{
	background: var(--color-black);
}
#background_options label[for="background_options_white"]::after{
	background: var(--color-white);
}
#background_options label[for="background_options_none"]::after{
	background: linear-gradient(45deg, var(--color-grey-13) 0%, var(--color-grey-13) 35.355%, var(--color-grey-27) 35.355%, var(--color-grey-27) 70.711%);
}

/* ===== 텍스트 Segmented (측정 라벨 / 박스 표시 모드) =====
   배경과 동일한 컨테이너/버튼, 단 텍스트 표시. 동작 유지. */
#measurement_options_show legend,
#cliptask_options legend{ display: none; }

#measurement_options_show fieldset > span,
#cliptask_options fieldset > span{
	gap: var(--space-xxxs);
	padding: 4px;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 7px;
	box-sizing: border-box;
}

#measurement_options_show fieldset > span > span,
#cliptask_options fieldset > span > span{ flex: 1 0 0; }

#measurement_options_show label.ui-button,
#cliptask_options label.ui-button{
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	margin: 0 !important;
	padding: 6px 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	cursor: pointer;
	font-family: var(--font-ui) !important;
	font-weight: 500;
	font-size: 11.5px !important;
	color: var(--color-azure-66) !important;
}

#measurement_options_show label.ui-button.ui-state-active,
#cliptask_options label.ui-button.ui-state-active{
	background: var(--color-azure-19) !important;
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
	color: var(--color-grey-93) !important;
}

/* ===== 도구 그리드 (Figma SIDEBAR — div.tool-grid / button.tool-btn) =====
   측정(#tools) · 클리핑(#clipping_tools) 아이콘 버튼 재스킨.
   createToolIcon의 <img class="button-icon" data-i18n="[title]..."> 를
   CSS만으로 사각 버튼화 → title(툴팁)·click(동작)·아이콘 glyph 그대로 유지. */
#tools{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 0; list-style: none; }
#clipping_tools{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0; list-style: none; }
#navigation{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0; list-style: none; }       /* 카메라: 8개 → 4×2 */
#view_presets{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 0; list-style: none; }     /* 시점 프리셋: 6개 */

#tools .button-icon,
#clipping_tools .button-icon,
#navigation .button-icon,
#view_presets .button-icon{
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	object-fit: contain;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 6px;
	cursor: pointer;
}
#tools .button-icon{ padding: 7px; }             /* 측정: 아이콘 ~24px (기존 16px의 150%) */
#clipping_tools .button-icon{ padding: 14px; }           /* 클리핑: 아이콘 ~32px (기존 16px의 100% 확대) */
#navigation .button-icon{ padding: 18px; }       /* 카메라: 아이콘 ~24px (측정의 150%) */
#view_presets .button-icon{ padding: 7px; }      /* 시점 프리셋: 아이콘 ~24px (측정의 150%) */

#tools .button-icon:hover,
#clipping_tools .button-icon:hover,
#navigation .button-icon:hover,
#view_presets .button-icon:hover{
	background: var(--color-cyan-50-10);
	border-color: var(--color-cyan-50);
	box-shadow: 0 0 0 1px var(--color-cyan-50), 0 0 18px 0 rgba(0, 217, 255, 0.25);
	filter: none;
}

/* fps_controls / orbit_controls 는 원본이 순수 검정이라 SVG 자체를 흰색으로 변경(가시성 확보).
   invert 사용 금지 — 버튼 배경(azure-11)까지 반전돼 흰색이 됨. */

/* 투영 = 텍스트 segmented (측정 라벨/박스 표시 모드와 동일 컴포넌트) */
#camera_projection_options legend{ display: none; }
#camera_projection_options fieldset > span{
	gap: var(--space-xxxs); padding: 4px;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 7px; box-sizing: border-box;
}
#camera_projection_options fieldset > span > span{ flex: 1 0 0; }
#camera_projection_options label.ui-button{
	display: flex !important; align-items: center; justify-content: center;
	width: 100% !important; margin: 0 !important; padding: 6px 0 !important;
	background: transparent !important; border: none !important; border-radius: 4px !important;
	box-shadow: none !important; cursor: pointer;
	font-family: var(--font-ui) !important; font-weight: 500; font-size: 11.5px !important;
	color: var(--color-azure-66) !important;
}
#camera_projection_options label.ui-button.ui-state-active{
	background: var(--color-azure-19) !important;
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
	color: var(--color-grey-93) !important;
}

/* ===== 그룹 라벨 divider (Figma SIDEBAR — div.tool-group-label) =====
   좌측 라벨(Inter 10.5px azure-42) + 우측으로 페이드되는 1px 라인. */
.divider.tg-label{
	display: flex;
	align-items: center;
	gap: 6px;
	text-align: left;
	overflow: visible;
	white-space: nowrap;
	margin: 14px 20px 8px;
	letter-spacing: 0.42px;
}
.divider.tg-label > span{
	position: static;
	display: inline-block;
	flex: 0 0 auto;
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 10.5px;
	letter-spacing: 0.42px;
	color: var(--color-azure-42);
}
.divider.tg-label > span::before,
.divider.tg-label > span::after{ display: none; }
.divider.tg-label::after{
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(to right, var(--color-azure-14), rgba(26, 33, 44, 0));
}

/* ===== 섹션 헤더 (Figma SIDEBAR — div.section-head) =====
   .section-head 클래스가 붙은 아코디언 헤더 공통. 아이콘은 섹션별 ::before.
   아코디언 토글 동작 유지. legacy .accordion > h3 스타일 오버라이드. */
.accordion > h3.section-head{
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	margin: 0;
	padding: var(--space-14);
	background: transparent !important;
	border: none;
	border-top: var(--stroke-weight-1) solid var(--color-azure-18);   /* 섹션 구분선 */
	box-shadow: none;
	text-shadow: none;
}
.accordion > h3.section-head:hover{ filter: none; }

.accordion > h3.section-head .section-title{
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.88px;
	text-transform: uppercase;
	color: var(--color-azure-66);
}

.accordion > h3.section-head::after{          /* chevron (펼침 상태) */
	content: "";
	flex: 0 0 auto;
	margin-left: auto;
	width: 14px;
	height: 14px;
	background: url(resources/icons/renewal/section_chevron.svg) center / contain no-repeat;
}

/* 섹션별 아이콘 (::before) */
#menu_appearance.section-head::before,
#menu_tools.section-head::before,
#load-blueprint.section-head::before,
#load-ifcmodel.section-head::before,
#menu_filters.section-head::before{
	content: "";
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
#menu_appearance.section-head::before{ background-image: url(resources/icons/renewal/section_rendering.svg); }
#menu_tools.section-head::before{ background-image: url(resources/icons/renewal/section_tools.svg); }
#load-blueprint.section-head::before{ background-image: url(resources/icons/file_dxf_2d.svg); }
#load-ifcmodel.section-head::before{ background-image: url(resources/icons/renewal/section_tools.svg); }
#menu_filters.section-head::before{ background-image: url(resources/icons/renewal/section_filters.svg); }

/* Blueprint search panel */
.pv-load-blueprint{
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 20px 16px;
	box-sizing: border-box;
}
.scb-blueprint-search{
	margin: 0;
}
.scb-blueprint-search-row{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 56px;
	gap: 6px;
}
.scb-blueprint-input,
.scb-blueprint-btn,
.scb-blueprint-result{
	font-family: var(--font-ui);
}
.scb-blueprint-input{
	width: 100%;
	min-width: 0;
	height: 30px;
	box-sizing: border-box;
	padding: 0 9px;
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 4px;
	background: var(--color-azure-11);
	color: var(--color-grey-93);
	font-size: 12px;
	outline: none;
}
.scb-blueprint-input::placeholder{
	color: var(--color-azure-42);
}
.scb-blueprint-input:focus{
	border-color: var(--color-cyan-50);
	box-shadow: 0 0 0 2px var(--color-cyan-50-10);
}
.scb-blueprint-btn{
	height: 30px;
	border: var(--stroke-weight-1) solid var(--color-azure-23);
	border-radius: 4px;
	background: var(--color-cyan-50-10);
	color: var(--color-grey-93);
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
}
.scb-blueprint-btn:hover{
	border-color: var(--color-cyan-50);
	color: var(--color-white);
}
.scb-blueprint-btn:disabled{
	opacity: 0.48;
	cursor: default;
}
.scb-blueprint-status{
	min-height: 16px;
	color: var(--color-azure-42);
	font-family: var(--font-ui);
	font-size: 11px;
	line-height: 16px;
}
.scb-blueprint-status.is-error{
	color: #f87171;
}
.scb-blueprint-results{
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 276px;
	overflow-y: auto;
}
.scb-blueprint-result,
.scb-blueprint-empty{
	box-sizing: border-box;
	width: 100%;
	min-height: 30px;
	padding: 7px 9px;
	border: var(--stroke-weight-1) solid var(--color-azure-14);
	border-radius: 4px;
	background: rgba(13, 17, 24, 0.78);
	color: var(--color-azure-66);
	font-size: 12px;
	line-height: 16px;
	text-align: left;
}
.scb-blueprint-result{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-height: 52px;
	padding-top: 8px;
	padding-bottom: 8px;
	cursor: pointer;
}
.scb-blueprint-result-title,
.scb-blueprint-result-description{
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.scb-blueprint-result-title{
	color: var(--color-grey-93);
	font-weight: 600;
}
.scb-blueprint-result-description{
	color: var(--color-azure-42);
	font-size: 11px;
	line-height: 14px;
}
.scb-blueprint-result:hover,
.scb-blueprint-result.is-active{
	border-color: var(--color-cyan-50);
	background: rgba(0, 217, 255, 0.1);
	color: var(--color-grey-93);
}
.scb-blueprint-empty{
	color: var(--color-azure-42);
}

/* BIM panel */
.pv-load-ifcdata{
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 20px 16px;
	box-sizing: border-box;
}
.scb-bim-open-btn{
	width: 100%;
	height: 32px;
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 4px;
	background: var(--color-azure-11);
	color: var(--color-grey-93);
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.scb-bim-open-btn:hover{
	border-color: var(--color-cyan-50);
	color: var(--color-white);
}
.scb-bim-open-btn:disabled{
	opacity: 0.58;
	cursor: wait;
}
.scb-bim-info{
	border: var(--stroke-weight-1) solid var(--color-azure-14);
	border-radius: 5px;
	background: rgba(13, 17, 24, 0.74);
	padding: 9px 0 9px 10px;
	box-sizing: border-box;
}
.scb-bim-info-body{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 56px;
	align-items: start;
	gap: 6px;
}
.scb-bim-meta{
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}
.scb-bim-meta-row{
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.scb-bim-meta-label{
	color: var(--color-azure-42);
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 500;
}
.scb-bim-meta-value{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--color-grey-93);
	font-family: var(--font-ui);
	font-size: 11.5px;
	font-weight: 500;
}
.scb-bim-info.is-empty .scb-bim-meta-value{
	color: var(--color-azure-42);
}
.scb-bim-toggle-wrap{
	display: flex;
	justify-content: flex-end;
	align-self: start;
}
.scb-bim-view-toggle{
	width: 100%;
	min-width: 0;
	height: 30px;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: var(--color-azure-66);
	font-family: var(--font-ui);
	font-size: 11.5px;
	font-weight: 600;
	cursor: pointer;
}
.scb-bim-view-toggle.is-active{
	background: var(--color-azure-19);
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
	color: var(--color-grey-93);
}
.scb-bim-view-toggle:hover:not(:disabled){
	color: var(--color-white);
}
.scb-bim-view-toggle:disabled{
	opacity: 0.46;
	cursor: default;
}

/* BIM 3점 정합 (Phase 3a) */
.scb-bim-align{
	margin: 0 0 14px;
}
.scb-bim-align-row{
	display: flex;
	gap: 8px;
}
.scb-bim-align-row + .scb-bim-align-row{
	margin-top: 8px;
}
.scb-bim-align-btn{
	flex: 1 1 0;
	padding: 7px 0;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 6px;
	color: var(--color-azure-66);
	font-family: var(--font-ui);
	font-size: 11.5px;
	font-weight: 500;
	cursor: pointer;
}
.scb-bim-align-btn:hover:not(:disabled){
	border-color: var(--color-cyan-50);
	color: var(--color-grey-93);
}
.scb-bim-align-btn.is-active{
	background: var(--color-cyan-50-10);
	border-color: var(--color-cyan-50);
	color: var(--color-cyan-50);
}
.scb-bim-align-btn:disabled{
	opacity: 0.46;
	cursor: default;
}
.scb-bim-align-status{
	margin-top: 8px;
	min-height: 15px;
	font-family: var(--font-ui);
	font-size: 11px;
	line-height: 1.5;
	color: var(--color-azure-42);
}
.scb-bim-align-status.is-error{
	color: #f87171;
}

/* ===== 필드 컴포넌트 (Figma SIDEBAR — div.field / 값 박스) ===== */
.pv-menu-list .field{
	margin: 0 20px 14px;
}
.pv-load-ifcdata .field{
	margin: 0 0 14px;
}
.pv-load-ifcdata .divider.tg-label{
	margin-left: 0;
	margin-right: 0;
}
.pv-menu-list .field .field-row,
.pv-load-ifcdata .field .field-row{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-xs);
}
.pv-menu-list .field .field-label,
.pv-load-ifcdata .field .field-label{
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 12px;
	color: var(--color-azure-66);
	white-space: nowrap;
}
.pv-menu-list .field .field-value,
.pv-load-ifcdata .field .field-value{
	min-width: 56px;
	padding: 3px 9px;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 4px;
	font-family: var(--font-mono);
	font-weight: 400;
	font-size: 11.5px;
	color: var(--color-grey-93);
	text-align: right;
	box-sizing: border-box;
}
.pv-menu-list .field .ui-slider,
.pv-load-ifcdata .field .ui-slider{
	margin: 11px 0 0;
}

/* ================= TOP BAR (Figma SIDEBAR 화면 — node 17:8) ================= */
#scb_topbar{
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 56px;
	z-index: 10001;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: 0 16px;
	background: linear-gradient(180deg, var(--color-azure-6) 0%, var(--color-azure-4) 100%);
	border-bottom: var(--stroke-weight-1) solid var(--color-azure-18);
	font-family: var(--font-ui);
	color: var(--color-azure-66);
	user-select: none;
}

/* 콘텐츠를 톱바(56px) 아래로 내림 */
#potree_render_area{ top: 56px; }
#potree_sidebar_container{ top: 56px; height: calc(100% - 56px) !important; }
#potree_toolbar{ display: none !important; }   /* 구 플로팅 툴바 — 톱바가 대체 */

/* 브랜드 */
#scb_topbar .tb-brand{ display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
#scb_topbar .tb-brand-mark{
	width: 28px; height: 28px; border-radius: 8px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--color-cyan-60) 0%, var(--color-cyan-50) 100%);
	color: var(--color-azure-5);
	font-weight: 700; font-size: 15px;
	box-shadow: 0 0 12px 0 rgba(0, 217, 255, 0.35);
}
#scb_topbar .tb-brand-name{ color: var(--color-white); font-weight: 600; font-size: 13px; line-height: 1.15; }
#scb_topbar .tb-brand-sub{ color: var(--color-azure-42); font-size: 10px; line-height: 1.2; }

/* 브레드크럼 */
#scb_topbar .tb-crumbs{ display: flex; align-items: center; gap: 8px; margin-left: 16px; flex: 0 0 auto; font-size: 12px; }
#scb_topbar .tb-crumbs > span{ color: var(--color-azure-42); }
#scb_topbar .tb-crumbs .tb-sep{ color: var(--color-azure-27); }
#scb_topbar .tb-crumbs .tb-file{ color: var(--color-grey-93); }
#scb_topbar .tb-file-tag{
	font-family: var(--font-mono); font-size: 10.5px;
	color: var(--color-azure-66);
	padding: 2px 7px; border-radius: 6px;
	background: var(--color-azure-19);
	border: var(--stroke-weight-1) solid var(--color-azure-27);
}

/* 모드 (화면 중앙 고정) */
#scb_topbar .tb-modes{
	position: absolute; left: 50%; transform: translateX(-50%);
	display: flex; align-items: center; gap: 4px;
	padding: 5px;
	background: var(--color-azure-11);
	border: var(--stroke-weight-1) solid var(--color-azure-18);
	border-radius: 10px;
}
#scb_topbar .tb-mode{
	display: flex; align-items: center; gap: 8px;
	height: 32px; padding: 6px 12px;
	background: transparent; border: none; border-radius: 6px;
	color: var(--color-azure-66);
	font-family: var(--font-ui); font-weight: 500; font-size: 12.5px;
	cursor: pointer;
}
#scb_topbar .tb-mode:hover{ background: rgba(255, 255, 255, 0.04); }
#scb_topbar .tb-mode.is-active{
	background: linear-gradient(180deg, var(--color-cyan-60) 0%, var(--color-cyan-50) 100%);
	color: var(--color-azure-5);
	box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.4), 0 6px 16px 0 rgba(0, 217, 255, 0.25);
}
#scb_topbar .tb-mode kbd{
	font-family: var(--font-mono); font-size: 10px; font-weight: 500;
	padding: 1px 4px; border-radius: 3px;
	background: rgba(255, 255, 255, 0.06); color: var(--color-azure-66); opacity: 0.7;
}
#scb_topbar .tb-mode.is-active kbd{
	background: rgba(0, 0, 0, 0.15); color: var(--color-azure-5); opacity: 0.6;
}

/* 아이콘 (mask — 상태별 재색칠) */
#scb_topbar .tb-ico{
	display: inline-block; width: 14px; height: 14px;
	background-color: var(--color-azure-66);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
#scb_topbar .tb-mode.is-active .tb-ico{ background-color: var(--color-azure-5); }
#scb_topbar [data-ico="orbit"]{ --ico: url(resources/icons/renewal/topbar_mode_orbit.svg); }
#scb_topbar [data-ico="select"]{ --ico: url(resources/icons/renewal/topbar_mode_select.svg); }
#scb_topbar [data-ico="measure"]{ --ico: url(resources/icons/renewal/topbar_mode_measure.svg); }
#scb_topbar [data-ico="ai"]{ --ico: url(resources/icons/renewal/topbar_mode_ai.svg); }

/* 액션 (우측) */
#scb_topbar .tb-actions{ margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
#scb_topbar .tb-icon-btn{
	width: 32px; height: 32px; border-radius: 7px;
	display: flex; align-items: center; justify-content: center;
	background: transparent; border: var(--stroke-weight-1) solid transparent; cursor: pointer;
}
#scb_topbar .tb-icon-btn:hover{ background: var(--color-azure-14); }
#scb_topbar .tb-icon-btn .tb-ico{ width: 16px; height: 16px; background-color: var(--color-cyan-50); }
#scb_topbar [data-ico="msg"]{ --ico: url(resources/icons/renewal/topbar_act_msg.svg); }
#scb_topbar [data-ico="share"]{ --ico: url(resources/icons/renewal/topbar_act_share.svg); }
#scb_topbar [data-ico="bell"]{ --ico: url(resources/icons/renewal/topbar_act_bell.svg); }
#scb_topbar .tb-avatar{
	width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #6366F1 0%, #EC4899 100%);
	border: var(--stroke-weight-1) solid var(--color-azure-27);
	color: var(--color-white); font-weight: 600; font-size: 11px;
}

.ui-widget{
	box-sizing:border-box
}

.panel-body > li > .ui-slider{
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black;
}

.panel-body > div > li > .ui-slider{
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black;
}

.pv-select-label{
	margin: 1px;
	font-size: 90%;
	font-weight: 100;
}

.button-icon:hover{
	/*background-color:	#09181C;*/
	filter:				drop-shadow(0px 0px 4px white);
}

.ui-widget-content{
	/*color: var(--font-color) !important;*/
}

.accordion > h3{
	background-color: var(--bg-color-2) !important;
	background: #f6f6f6 50% 50% repeat-x;
	border:		1px solid black;
	color:		var(--font-color-2);
	cursor:		pointer;
	margin:		2px 0 0 0;
	padding:	4px 10px 4px 30px;
	box-shadow:	0px 3px 3px #111;
	text-shadow:	1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	font-size:	1em;
}

.accordion > h3:hover{
	filter: brightness(125%);
}

.accordion-content{
	padding: 0px 0px !important;
	border: none !important;
}

.icon-bar{
	height: 4px !important;
	border: 1px solid black;
	background-color: white;
	border-radius: 2px;
}

.canvas{
	-webkit-transition: top .35s, left .35s, bottom .35s, right .35s, width .35s;
	transition: top .35s, left .35s, bottom .35s, right .35s, width .35s;
}

#profile_window{
	background-color:	var(--bg-color);
}

#profile_titlebar{
	background-color:	var(--bg-color-2);
	color: var(--font-color-2);
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	font-size: 1em;
	font-weight: bold;
}

#profile_window_title{
	position: absolute;
	margin: 5px;
}

.profile-container-button{
	cursor: pointer;
}

.profile-button:hover{
	background-color: #0000CC;
}

.unselectable{
	user-select: 			none;
}

.selectable{
	user-select: 			text;
}



.divider {
	display: 		block;
	text-align: 	center;
	overflow: 		hidden;
	white-space: 	nowrap; 
	font-weight:	bold;
	font-size:		90%;
	letter-spacing:	1px;
	margin-left:	0px;
	margin-right:	0px;
	margin-top: 	1px;
	margin-bottom: 	1px;
	padding:		1px !important;
}

.divider > span {
	position: 	relative;
	display: 	inline-block;
}

.divider > span:before,
.divider > span:after {
	content: 	"";
	position: 	absolute;
	top: 		50%;
	width: 		9999px;
	height: 	1px;
	background: #b2b2b2;
}

.divider > span:before {
	right: 100%;
	margin-right: 5px;
}

.divider > span:after {
	left: 100%;
	margin-left: 5px;
}











.ol-dragbox {
  background-color: rgba(255,255,255,0.4);
  border-color: rgba(100,150,0,1);
  border: 1px solid red;
}

.text-icon{
	opacity:	0.5;
	height:		24px;
}

.text-icon:hover{
	opacity:	1.0;
}

.input-grid-cell{
	flex-grow: 1; margin: 0px 3px 0px 3px;
}

.input-grid-label{
	flex-grow: 1; 
	margin: 0px 3px 0px 3px; 
	text-align:center; 
	font-weight: bold;
}

.input-grid-cell > input{
	width: 100%
}

.invalid_value{
	color: #e05e5e;
}


































/** 
 * OVERRIDES
 */


.ui-spinner-input{
	color: black;
}

.jstree-themeicon-custom{
	background-size: 16px !important;
}

.jstree-default .jstree-clicked{
	/*background-color: #ffffff !important;*/
	background-color: #34494f !important;
}

.jstree-default .jstree-hovered{
	background-color: #34494f !important;
}

.jstree-anchor{
	width: 100% !important;
}

.ui-state-default{
	background: #a6a9aa !important;
	border: 1px solid black;
	color: black;
}

.ui-state-active{
	background: #c6c9ca !important;
	color: black !important;
}

.cesium-viewer .cesium-viewer-cesiumWidgetContainer{
	position: absolute;
	height: 100%;
	width: 100%;
}




.zs_widget{
	padding: 2px;
	height: 4em;
	user-select: none;
}
.zs_core{
	overflow: hidden;
	position: relative;
	height: 100%;
}
.zs_handle{
	position: absolute;
	top: 0px;
	bottom: 0px;
	border: 1px solid black;
	border-radius: 3px;
	background-color: rgb(166, 169, 170);
	width: 8px;
	user-select: none;
	width: 1.2em;
	height: 1.2em;
	top: calc(50% - 0.6em);
}
.zs_stretch{
	position: absolute;
	top: 0px;
	bottom: 0px;
	border: 1px solid black;
	border-radius: 3px;
	background-color: rgb(166, 169, 170);
	width: 8px;
	user-select: none;
	width: 1.2em;
	height: 1.2em;
	top: calc(50% - 0.6em);
	color: black;
	font-weight: bold;
	font-size: 1.2em;
	font-family: arial;
}
.zs_handle:hover{
	background-color: lightgreen;
}
.zs_inside{
	position: absolute !important;
	width: 100%;
	border: 1px solid black;
	background-color: white;
	top: calc(50% - 0.326em);
	height: 0.652em;
	cursor: zoom-in;
}
.zs_outside{
	position: absolute !important;
	width: 100%;
	background-color: var(--color-1) !important;
	top: calc(50% - 0.326em);
	height: 0.652em;
	cursor: zoom-in;
}
.zs_visible_range_label{
	position: absolute;
	bottom: 0px;
	pointer-events:none;
}
.zs_visible_range_label_left{
	left: 0px;
}
.zs_visible_range_label_right{
	right: 0px;
}
.zs_chosen_range_label{
	position: absolute;
	pointer-events:none;
}

#potree_sidebar_container{
	scrollbar-color: var(--color-1) var(--bg-color);
	scrollbar-width: thin;
}



::-webkit-scrollbar {
	width: 6px;
	background-color: var(--bg-color);
}

::-webkit-scrollbar-track {

}

::-webkit-scrollbar-thumb {
	background-color: var(--color-1);
}

.propertypanel_content .heading{
	font-weight: bold;
	padding-top: 0.6em;
	padding-bottom: 0.1em;
}

/* ============================================================
   SCB viewer shell / modal / AI result panel styles
   Extracted from index.html so the page keeps presentation in CSS.
   ============================================================ */
:root {
--scb-ai-result-panel-width: 315px;
}

#potree_toolbar {
position: absolute;
z-index: 10000;
left: 100px;
top: 0px;
background: rgb(2, 2, 2);
color: white;
padding: 0.3em 0.8em;
font-family: "system-ui";
border-radius: 0em 0em 0.3em 0.3em;
display: flex;
}

.potree_toolbar_label {
text-align: center;
font-size: smaller;
opacity: 0.9;
}

.potree_toolbar_separator {
background: white;
padding: 0px;
margin: 5px 10px;
width: 1px;
}

.scb-pcd-modal {
position: fixed;
inset: 0;
z-index: 20000;
display: none;
align-items: center;
justify-content: center;
background: rgba(8, 12, 18, 0.64);
font-family: Inter, Arial, sans-serif;
color: #eef4ff;
}

.scb-pcd-modal.is-open {
display: flex;
}

.scb-pcd-dialog {
width: min(860px, calc(100vw - 48px));
max-height: calc(100vh - 72px);
display: flex;
flex-direction: column;
background: #111827;
border: 1px solid #2d3a4f;
border-radius: 8px;
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
overflow: hidden;
}

.scb-pcd-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 18px;
border-bottom: 1px solid #253247;
background: #0d1420;
}

.scb-pcd-title {
margin: 0;
font-size: 18px;
font-weight: 700;
}

.scb-pcd-close,
.scb-pcd-tab,
.scb-pcd-btn,
.scb-pcd-project-load,
.scb-pcd-project-delete {
font: inherit;
}

.scb-pcd-close {
width: 34px;
height: 34px;
border: 1px solid #334155;
border-radius: 6px;
background: transparent;
color: #dce8f8;
cursor: pointer;
}

.scb-pcd-tabs {
display: flex;
gap: 2px;
padding: 10px 14px 0;
background: #111827;
}

.scb-pcd-tab {
border: 0;
border-bottom: 2px solid transparent;
padding: 10px 14px;
background: transparent;
color: #9fb1cc;
cursor: pointer;
}

.scb-pcd-tab.is-active {
color: #f8fbff;
border-bottom-color: #3b82f6;
}

.scb-pcd-body {
overflow: auto;
padding: 16px 18px 18px;
}

.scb-pcd-panel {
display: none;
}

.scb-pcd-panel.is-active {
display: block;
}

.scb-pcd-field {
display: block;
margin-bottom: 14px;
}

.scb-pcd-field span {
display: block;
margin-bottom: 6px;
font-size: 13px;
font-weight: 700;
color: #c6d3e8;
}

.scb-pcd-input {
width: 100%;
box-sizing: border-box;
border: 1px solid #334155;
border-radius: 6px;
background: #0b1220;
color: #f8fbff;
padding: 10px 11px;
font: inherit;
}

.scb-pcd-textarea {
min-height: 96px;
resize: vertical;
line-height: 1.45;
}

.scb-pcd-row {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
margin-top: 16px;
}

.scb-pcd-check {
display: inline-flex;
align-items: center;
gap: 8px;
color: #c6d3e8;
}

.scb-pcd-btn {
border: 0;
border-radius: 6px;
background: #2563eb;
color: white;
font-weight: 700;
padding: 10px 14px;
cursor: pointer;
}

.scb-pcd-btn.secondary {
background: #263449;
color: #e7eefc;
}

.scb-pcd-btn:disabled {
cursor: wait;
opacity: 0.62;
}

.scb-pcd-status {
margin-top: 14px;
min-height: 22px;
color: #d7e2f2;
font-size: 14px;
}

.scb-pcd-status.is-done {
color: #86efac;
font-weight: 700;
}

.scb-pcd-status.is-error {
color: #fca5a5;
font-weight: 700;
}

.scb-pcd-progress {
width: 100%;
height: 8px;
margin-top: 12px;
border-radius: 999px;
background: #263449;
overflow: hidden;
}

.scb-pcd-progress > span {
display: block;
width: 0%;
height: 100%;
background: #3b82f6;
transition: width 160ms ease;
}

.scb-pcd-list {
display: grid;
gap: 8px;
margin-top: 12px;
}

.scb-pcd-project {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
border: 1px solid #263449;
border-radius: 6px;
background: #0b1220;
color: #f8fbff;
padding: 8px 8px 8px 12px;
text-align: left;
}

.scb-pcd-project:hover {
border-color: #3b82f6;
background: #111d30;
}

.scb-pcd-project-load {
flex: 1 1 auto;
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
border: 0;
background: transparent;
color: inherit;
padding: 3px 0;
text-align: left;
cursor: pointer;
}

.scb-pcd-project-load span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.scb-pcd-project small {
flex: 0 0 auto;
color: #9fb1cc;
}

.scb-pcd-project-delete {
flex: 0 0 auto;
border: 1px solid rgba(248, 113, 113, 0.45);
border-radius: 5px;
background: rgba(248, 113, 113, 0.1);
color: #fecaca;
font-size: 12px;
font-weight: 700;
padding: 7px 10px;
cursor: pointer;
}

.scb-pcd-project-delete:hover {
border-color: #f87171;
background: rgba(248, 113, 113, 0.2);
color: #ffffff;
}

.scb-pcd-project-delete:disabled,
.scb-pcd-project-load:disabled {
cursor: wait;
opacity: 0.56;
}

.scb-pcd-empty {
color: #9fb1cc;
padding: 16px 0;
}

.scb-blueprint-window {
position: fixed;
top: 88px;
left: 360px;
z-index: 15000;
width: clamp(460px, 54vw, 860px);
height: clamp(340px, 66vh, 720px);
min-width: 360px;
min-height: 260px;
display: none;
flex-direction: column;
overflow: hidden;
resize: both;
background: #0d1118;
border: 1px solid #253247;
border-radius: 8px;
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
color: #e7ecf5;
font-family: Inter, Arial, sans-serif;
}

.scb-blueprint-window.is-open {
display: flex;
}

.scb-blueprint-window-head {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px;
background: #0a0e15;
border-bottom: 1px solid #1a212c;
cursor: move;
user-select: none;
}

.scb-blueprint-window-title {
min-width: 0;
}

.scb-blueprint-window-title h2 {
margin: 0;
color: #e7ecf5;
font-size: 14px;
font-weight: 700;
line-height: 18px;
}

.scb-blueprint-window-title span {
display: block;
margin-top: 2px;
overflow: hidden;
color: #97a2b8;
font-size: 11px;
line-height: 14px;
text-overflow: ellipsis;
white-space: nowrap;
}

.scb-blueprint-window-close {
flex: 0 0 auto;
width: 30px;
height: 30px;
border: 1px solid #334155;
border-radius: 6px;
background: transparent;
color: #dce8f8;
font: inherit;
cursor: pointer;
}

.scb-blueprint-window-close:hover {
border-color: #f87171;
color: #fff;
}

.scb-blueprint-window-body {
position: relative;
flex: 1 1 auto;
min-height: 0;
background: #07090d;
}

.scb-blueprint-window-frame,
.scb-blueprint-window-image {
width: 100%;
height: 100%;
border: 0;
background: #07090d;
}

.scb-blueprint-window-image {
display: block;
object-fit: contain;
}

.scb-blueprint-window-empty {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
color: #5d6678;
font-size: 13px;
text-align: center;
}

.scb-blueprint-window-frame[hidden],
.scb-blueprint-window-image[hidden],
.scb-blueprint-window-empty[hidden] {
display: none;
}

@media (max-width: 900px) {
.scb-blueprint-window {
	left: 18px;
	top: 78px;
	width: calc(100vw - 36px);
	height: min(66vh, 620px);
}
}

.scb-ai-result-panel {
position: fixed;
top: 56px;
right: 0;
bottom: 0;
z-index: 10002;
width: var(--scb-ai-result-panel-width);
box-sizing: border-box;
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #0a0e15 0%, #060810 100%);
border-left: 1px solid #232b37;
color: #e7ecf5;
font-family: Inter, Arial, sans-serif;
box-shadow: -18px 0 40px rgba(0, 0, 0, 0.26);
}

.scb-ai-result-head {
padding: 16px 18px 18px;
background: linear-gradient(180deg, rgba(10, 14, 21, 0.98) 0%, rgba(8, 11, 17, 0.98) 100%);
}

.scb-ai-result-title-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 8px;
margin-bottom: 14px;
}

.scb-ai-result-title {
margin: 0;
color: #e7ecf5;
font-size: 14px;
font-weight: 600;
line-height: 1.25;
letter-spacing: 0;
}

.scb-ai-result-actions {
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
}

.scb-ai-result-history {
width: 112px;
height: 28px;
border: 1px solid #263449;
border-radius: 5px;
background: #0d1118;
color: #d8e1ee;
font: 500 11px Inter, Arial, sans-serif;
padding: 0 7px;
outline: none;
}

.scb-ai-result-history:disabled {
color: #5d6678;
opacity: 0.65;
}

.scb-ai-result-save {
height: 28px;
min-width: 46px;
border: 1px solid rgba(0, 217, 255, 0.35);
border-radius: 5px;
background: rgba(0, 217, 255, 0.08);
color: #9fecff;
font: 700 11px Inter, Arial, sans-serif;
padding: 0 10px;
cursor: pointer;
}

.scb-ai-result-save:not(:disabled):hover {
border-color: #00d9ff;
background: rgba(0, 217, 255, 0.16);
color: #ffffff;
}

.scb-ai-result-save:disabled {
cursor: default;
opacity: 0.42;
}

.scb-ai-result-footer {
flex: 0 0 auto;
padding: 12px 18px 14px;
border-top: 1px solid #1a212c;
background: linear-gradient(180deg, rgba(8, 11, 17, 0.98) 0%, rgba(6, 8, 16, 0.98) 100%);
}

.scb-ai-result-excel {
width: 100%;
height: 34px;
border: 1px solid rgba(0, 217, 255, 0.35);
border-radius: 6px;
background: rgba(0, 217, 255, 0.08);
color: #9fecff;
font: 700 12px Inter, Arial, sans-serif;
cursor: pointer;
}

.scb-ai-result-excel:not(:disabled):hover {
border-color: #00d9ff;
background: rgba(0, 217, 255, 0.16);
color: #ffffff;
}

.scb-ai-result-excel:disabled {
cursor: default;
opacity: 0.42;
}

.scb-ai-result-counts {
display: grid;
grid-template-columns: 1fr;
gap: 1px;
margin: 0 -18px;
background: #1a212c;
border-top: 1px solid #1a212c;
}

.scb-ai-result-count {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
min-height: 52px;
padding: 0 18px;
background: #0d1118;
}

.scb-ai-result-label {
color: #5d6678;
font-size: 11px;
font-weight: 500;
line-height: 1.2;
letter-spacing: 0.48px;
}

.scb-ai-result-count[data-measure-count-kind="horizontal"] .scb-ai-result-label {
color: rgb(248, 113, 113);
}

.scb-ai-result-count[data-measure-count-kind="vertical"] .scb-ai-result-label {
color: #00d9ff;
}

.scb-ai-result-count[data-measure-count-kind="section"] .scb-ai-result-label {
color: #facc15;
}

.scb-ai-result-value {
display: inline-flex;
align-items: baseline;
gap: 5px;
color: #e7ecf5;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 22px;
font-weight: 700;
line-height: 1;
letter-spacing: 0;
font-variant-numeric: tabular-nums;
}

.scb-ai-result-count[data-measure-count-kind="horizontal"] [data-scb-measure-count] {
color: rgb(248, 113, 113);
}

.scb-ai-result-count[data-measure-count-kind="vertical"] [data-scb-measure-count] {
color: #00d9ff;
}

.scb-ai-result-count[data-measure-count-kind="section"] [data-scb-measure-count] {
color: #facc15;
}

.scb-ai-result-unit {
color: #5d6678;
font-size: 11px;
font-weight: 500;
}

.scb-ai-result-divider {
height: 1px;
flex: 0 0 auto;
background: #1a212c;
}

.scb-ai-result-body {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
background:
	linear-gradient(180deg, rgba(0, 217, 255, 0.025) 0%, rgba(0, 217, 255, 0) 30%),
	linear-gradient(180deg, #080c12 0%, #060810 100%);
}

.scb-ai-spacing-section {
border-bottom: 1px solid #1a212c;
}

.scb-ai-location-section,
.scb-ai-opinion-section {
padding: 16px 18px 18px;
border-bottom: 1px solid #1a212c;
}

.scb-ai-location-title,
.scb-ai-opinion-title {
display: block;
margin: 0 0 10px;
color: #e7ecf5;
font-size: 14px;
font-weight: 600;
line-height: 1.25;
}

.scb-ai-location-input,
.scb-ai-opinion-input {
display: block;
width: 100%;
box-sizing: border-box;
border: 1px solid #263449;
border-radius: 6px;
outline: none;
background: #0d1118;
color: #d8e1ee;
padding: 10px 11px;
font: 400 12px/1.5 Inter, Arial, sans-serif;
}

.scb-ai-location-input {
height: 36px;
}

.scb-ai-opinion-input {
min-height: 108px;
resize: vertical;
}

.scb-ai-location-input::placeholder,
.scb-ai-opinion-input::placeholder {
color: #5d6678;
}

.scb-ai-location-input:focus,
.scb-ai-opinion-input:focus {
border-color: #00d9ff;
box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.12);
}

.scb-ai-location-input:disabled,
.scb-ai-opinion-input:disabled {
cursor: default;
opacity: 0.5;
}

.scb-ai-spacing-title-row {
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 16px 18px 14px;
border-bottom: 1px solid #1a212c;
}

.scb-ai-spacing-title {
margin: 0;
color: #e7ecf5;
font-size: 14px;
font-weight: 600;
line-height: 1.25;
letter-spacing: 0;
}

.scb-ai-spacing-version-tabs {
display: inline-flex;
align-items: center;
gap: 4px;
}

.scb-ai-spacing-version-btn {
width: 30px;
height: 22px;
padding: 0;
border: 1px solid #253247;
border-radius: 4px;
background: #0d1118;
color: #5d6678;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 11px;
font-weight: 700;
line-height: 20px;
cursor: pointer;
}

.scb-ai-spacing-version-btn:hover {
border-color: #3b82f6;
color: #e7ecf5;
}

.scb-ai-spacing-version-btn.is-active {
border-color: #00d9ff;
background: rgba(0, 217, 255, 0.12);
color: #e7ecf5;
}

.scb-ai-spacing-group {
border-bottom: 1px solid #1a212c;
}

.scb-ai-spacing-group:last-child {
border-bottom: 0;
}

.scb-ai-spacing-header {
display: grid;
grid-template-columns: 42px minmax(0, 1fr) 74px;
align-items: center;
box-sizing: border-box;
}

.scb-ai-spacing-header {
position: relative;
min-height: 28px;
padding: 0 30px 0 18px;
background: #141a23;
border-bottom: 1px solid #1a212c;
color: #5d6678;
font-size: 10.5px;
font-weight: 500;
line-height: 1.2;
cursor: pointer;
user-select: none;
}

.scb-ai-spacing-header:hover {
background: #1a212c;
}

.scb-ai-spacing-header:focus-visible {
outline: 1px solid rgba(0, 217, 255, 0.45);
outline-offset: -1px;
}

.scb-ai-spacing-header::after {
content: "";
position: absolute;
top: 50%;
right: 16px;
width: 6px;
height: 6px;
border-right: 1px solid #5d6678;
border-bottom: 1px solid #5d6678;
transform: translateY(-65%) rotate(45deg);
transition: transform 140ms ease;
}

.scb-ai-spacing-group.is-collapsed .scb-ai-spacing-header::after {
transform: translateY(-35%) rotate(-45deg);
}

.scb-ai-spacing-category {
color: #00d9ff;
font-weight: 600;
}

.scb-ai-spacing-group[data-spacing-group="horizontal"] .scb-ai-spacing-category {
color: rgb(248, 113, 113);
}

.scb-ai-spacing-group[data-spacing-group="section"] .scb-ai-spacing-category {
color: #facc15;
}

.scb-ai-spacing-col-value {
padding-right: 10%;
text-align: right;
}

.scb-ai-spacing-list {
min-height: 44px;
}

.scb-ai-spacing-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
align-items: center;
gap: 8px;
min-height: 44px;
padding: 0 14px;
border-bottom: 1px solid #1a212c;
background: #080c12;
cursor: pointer;
}

.scb-ai-spacing-row:last-child {
border-bottom: 0;
}

.scb-ai-spacing-row:hover,
.scb-ai-spacing-row.is-focused {
background: #0d1118;
}

.scb-ai-spacing-row.is-focused {
box-shadow: inset 2px 0 0 rgba(0, 217, 255, 0.75);
}

.scb-ai-spacing-relation {
display: inline-flex;
align-items: center;
min-width: 0;
color: #5d6678;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 10.5px;
line-height: 1.2;
letter-spacing: 0;
white-space: nowrap;
}

.scb-ai-spacing-relation[data-relation-side="prev"] {
justify-content: flex-end;
}

.scb-ai-spacing-relation[data-relation-side="next"] {
justify-content: flex-start;
}

.scb-ai-spacing-relation.is-empty {
min-height: 18px;
}

.scb-ai-spacing-chain {
grid-column: 1 / -1;
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
width: 100%;
}

.scb-ai-spacing-chain-side {
display: inline-flex;
align-items: center;
min-width: 0;
overflow: hidden;
}

.scb-ai-spacing-chain-side[data-chain-side="prev"] {
justify-content: flex-end;
}

.scb-ai-spacing-chain-side[data-chain-side="next"] {
justify-content: flex-start;
}

.scb-ai-spacing-rebar-id {
color: #8a94a6;
font-size: 10.5px;
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
}

.scb-ai-spacing-rebar-id.is-current {
color: #e7ecf5;
font-size: 12.6px;
font-weight: 700;
text-shadow: 0 0 10px rgba(231, 236, 245, 0.28);
}

.scb-ai-spacing-group[data-spacing-group="horizontal"] .scb-ai-spacing-rebar-id.is-current {
color: rgb(248, 113, 113);
}

.scb-ai-spacing-group[data-spacing-group="vertical"] .scb-ai-spacing-rebar-id.is-current {
color: #00d9ff;
}

.scb-ai-spacing-group[data-spacing-group="section"] .scb-ai-spacing-rebar-id.is-current {
color: #facc15;
}

.scb-ai-spacing-distance {
margin: 0 5px;
color: #e7ecf5;
font-size: 11.5px;
font-weight: 700;
}

.scb-ai-spacing-arrow {
color: #5d6678;
font-size: 10px;
font-weight: 400;
}

.scb-ai-spacing-single {
grid-column: 1 / -1;
justify-content: center;
}

.scb-ai-spacing-empty {
display: flex;
align-items: center;
min-height: 44px;
box-sizing: border-box;
padding: 0 18px;
border-bottom: 1px solid #1a212c;
background: #080c12;
color: #5d6678;
font-size: 11px;
}

.scb-ai-spacing-v2-map {
position: relative;
box-sizing: border-box;
min-height: 58px;
padding: 0;
background: #080c12;
border-bottom: 1px solid #1a212c;
}

.scb-ai-spacing-v2-pin-cell {
position: absolute;
left: 18px;
width: 48px;
height: 40px;
cursor: pointer;
outline: none;
}

.scb-ai-spacing-v2-connector {
position: absolute;
left: 23px;
top: 36px;
width: 2px;
height: 4px;
background: #452e0f;
}

.scb-ai-spacing-v2-pin {
position: absolute;
left: 8px;
top: 4px;
width: 32px;
height: 32px;
box-sizing: border-box;
border: 1px solid #00d9ff;
border-radius: 50%;
background: #07131a;
box-shadow: 0 0 12px rgba(0, 217, 255, 0.22);
}

.scb-ai-spacing-v2-pin-label {
position: absolute;
left: 8px;
top: 14px;
width: 32px;
height: 12px;
color: #00d9ff;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
line-height: 12px;
text-align: center;
}

.scb-ai-spacing-v2-gap-row {
position: absolute;
left: 18px;
right: 18px;
height: 38px;
overflow: hidden;
}

.scb-ai-spacing-v2-line-spacer {
position: absolute;
left: 0;
top: 0;
width: 48px;
height: 38px;
}

.scb-ai-spacing-v2-gap-line {
position: absolute;
left: 23px;
top: 0;
width: 2px;
height: 50px;
background: #452e0f;
}

.scb-ai-spacing-v2-gap-card {
position: absolute;
left: 58px;
right: 0;
height: 38px;
box-sizing: border-box;
overflow: hidden;
border: 1px solid #1a212c;
border-radius: 8px;
background: #0d1118;
cursor: pointer;
outline: none;
}

.scb-ai-spacing-v2-gap-card::before {
content: "";
position: absolute;
left: -1px;
top: -1px;
bottom: -1px;
width: 3px;
background: #facc15;
}

.scb-ai-spacing-v2-gap-card[data-gap-status="normal"]::before {
background: #4ade80;
}

.scb-ai-spacing-v2-gap-card[data-gap-status="danger"] {
background: #261113;
}

.scb-ai-spacing-v2-gap-card[data-gap-status="danger"]::before {
background: #f87171;
}

.scb-ai-spacing-v2-gap-content {
position: absolute;
left: 2px;
top: -1px;
right: 0;
height: 38px;
display: flex;
align-items: center;
gap: 10px;
box-sizing: border-box;
padding: 10px 12px 10px 10px;
overflow: hidden;
}

.scb-ai-spacing-v2-metric {
display: inline-flex;
align-items: baseline;
flex: 0 0 auto;
white-space: nowrap;
}

.scb-ai-spacing-v2-gap-value {
color: #f5f5f5;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 14px;
font-weight: 700;
line-height: 18px;
white-space: nowrap;
}

.scb-ai-spacing-v2-gap-unit {
color: #8e99ad;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 9px;
font-weight: 400;
line-height: 12px;
}

.scb-ai-spacing-v2-gap-card[data-gap-status="normal"] .scb-ai-spacing-v2-gap-value {
color: #e7ecf5;
}

.scb-ai-spacing-v2-gap-card[data-gap-status="danger"] .scb-ai-spacing-v2-gap-value {
color: #f87171;
}

.scb-ai-spacing-v2-pin-cell:hover .scb-ai-spacing-v2-pin,
.scb-ai-spacing-v2-pin-cell.is-focused .scb-ai-spacing-v2-pin {
border-width: 2px;
box-shadow: 0 0 18px rgba(0, 217, 255, 0.46);
}

.scb-ai-spacing-group[data-spacing-group="horizontal"] .scb-ai-spacing-v2-pin {
border-color: rgb(248, 113, 113);
box-shadow: 0 0 12px rgba(248, 113, 113, 0.22);
}

.scb-ai-spacing-group[data-spacing-group="horizontal"] .scb-ai-spacing-v2-pin-label {
color: rgb(248, 113, 113);
}

.scb-ai-spacing-group[data-spacing-group="horizontal"] .scb-ai-spacing-v2-pin-cell:hover .scb-ai-spacing-v2-pin,
.scb-ai-spacing-group[data-spacing-group="horizontal"] .scb-ai-spacing-v2-pin-cell.is-focused .scb-ai-spacing-v2-pin {
box-shadow: 0 0 18px rgba(248, 113, 113, 0.46);
}

.scb-ai-spacing-v2-gap-card:hover,
.scb-ai-spacing-v2-gap-card.is-focused {
border-color: rgba(250, 204, 21, 0.7);
background: #111722;
box-shadow: 0 0 18px rgba(250, 204, 21, 0.14);
}

@media (max-width: 1024px) {
:root {
	--scb-ai-result-panel-width: min(315px, 42vw);
}

.scb-ai-result-panel {
	width: var(--scb-ai-result-panel-width);
}
}

/* ============================================================
   SCB extracted utility and popup styles
   ============================================================ */
.potree_container {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

.scb-toolbar-action-icon {
	width: 2em;
	height: auto;
}

.pv-hidden {
	display: none !important;
}

.pv-inline-flex {
	display: flex;
}

.pv-gpstime-input {
	margin: auto 10px;
}

.pv-about-sponsor-table {
	width: 100%;
	text-align: center;
}

.pv-about-sponsor-tier {
	padding-top: 0.7em;
}

.sidebar-tool-icon {
	width: 32px;
	height: 32px;
}

.sidebar-export-icon {
	height: 24px;
}

.classification-entry {
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.classification-label {
	flex-grow: 1;
}

.classification-color-picker {
	zoom: 0.5;
}

.classification-toggle-all {
	white-space: nowrap;
}

.scb-popup-page,
.scb-popup-page .scb-popup-document {
	width: 100%;
	height: 100%;
	margin: 0;
	background: #0d1118;
	color: #e5edf4;
	overflow: hidden;
}

.scb-popup-document {
	font-family: Inter, Arial, sans-serif;
}

.scb-popup-head {
	box-sizing: border-box;
	height: 42px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	border-bottom: 1px solid rgba(127, 202, 255, 0.18);
	background: #111720;
	font-size: 13px;
	font-weight: 600;
}

.scb-popup-body {
	width: 100%;
	height: calc(100% - 42px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.scb-popup-body iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: #ffffff;
}

.scb-popup-body img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.scb-popup-image-stage {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	cursor: grab;
	touch-action: none;
}

.scb-popup-image-stage.is-dragging {
	cursor: grabbing;
}

.scb-popup-image {
	position: absolute;
	left: 0;
	top: 0;
	max-width: none;
	max-height: none;
	user-select: none;
	transform-origin: 0 0;
	will-change: transform;
}

.scb-popup-message {
	color: #9fb3c8;
	font-size: 13px;
}

.scb-popup-message.is-error {
	color: #f87171;
}
