/* --- neumorphism 대체 (Bootstrap + 폰트/테마 오버라이드) --- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
body { font-family: "Pretendard", "Noto Sans KR", sans-serif; color: #44476a; }
/* 모달용 card/form 오버라이드 */
.card.bg-primary { background-color: #e6e7ee !important; border: 1px solid rgba(243,247,250,.05); border-radius: .55rem; }
.card.bg-primary .card-header { background-color: #f3f7fa; border-bottom: 1px solid rgba(243,247,250,.05); }
.card.bg-primary .card-body { background-color: transparent; }
.shadow-soft { box-shadow: none; }
.border-light { border-color: #D1D9E6 !important; }
.form-control { background-color: #e6e7ee; border: 1px solid #D1D9E6; border-radius: .55rem; color: #44476A; }
.form-control:focus { background-color: #e6e7ee; border-color: #D1D9E6; outline: 0; }
.btn-primary { color: #31344b !important; background-color: #e6e7ee !important; border-color: #e6e7ee !important; }
.btn-primary:hover { color: #31344b !important; background-color: #cfd1df !important; border-color: #c8cad9 !important; }
.input-group-text { background-color: #e6e7ee; border: 1px solid #D1D9E6; color: #44476A; }
.input-group-border .form-control, .input-group-border .input-group-text { border: 1px solid #D1D9E6; }

/* --- 로그인/인증 페이지 (톤앤매너) --- */
.no-nav-body { margin: 0; min-height: 100vh; }

/* 배경 + 패널 레이아웃 (로그인) - 세련된 톤 */
.auth-bg {
	min-height: 100vh; display: flex; align-items: center; justify-content: center;
	padding: 48px; background: #eef1f5;
}
.auth-panel {
	display: flex; width: 100%; max-width: 880px;
	background: #fff; border-radius: 28px; overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.auth-split-left {
	flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
	padding: 56px 48px; width: 50%;
}
.auth-split-form-wrap {
	width: 100%; max-width: 320px;
}
.auth-split-left .auth-logo { width: 160px; height: auto; margin-bottom: 28px; display: block; opacity: .95; }
.auth-split-right {
	width: 50%; min-width: 0; display: flex; align-items: flex-end; justify-content: center;
	background: linear-gradient(180deg, #a5b4fc 0%, #818cf8 25%, #7c3aed 55%, #5b21b6 100%);
	padding: 56px 48px;
}
.auth-split-message {
	text-align: left; max-width: 300px;
}
.auth-split-message-bottom {
	align-self: flex-end; margin-top: auto;
}
.auth-split-headline {
	font-size: 15px; font-weight: 600; color: #fff; line-height: 1.6; margin: 0 0 12px;
	letter-spacing: -0.02em;
}
.auth-split-sub {
	font-size: 12px; color: rgba(255,255,255,.88); line-height: 1.7; margin: 0;
	font-weight: 400;
}
.auth-form-title { font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.auth-form-desc { font-size: 14px; color: #6b7280; margin: 0 0 28px; line-height: 1.5; }

/* 단일 카드 레이아웃 (비밀번호찾기 등) */
.auth-page {
	min-height: 100vh; display: flex; align-items: center; justify-content: center;
	padding: 24px; background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f5f3ff 100%);
}
.auth-card {
	width: 100%; max-width: 400px; background: #fff;
	border-radius: 16px; box-shadow: 0 4px 24px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.06);
	border: 1px solid #e5e7eb; overflow: hidden;
}
.auth-card-header {
	padding: 32px 32px 24px; text-align: center; background: #fff;
}
.auth-logo { width: 180px; height: auto; margin-bottom: 20px; display: block; }
.auth-card-header .auth-logo { margin-left: auto; margin-right: auto; }
.auth-title { font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 6px; }
.auth-desc { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.5; }
.auth-form { padding: 0 0 24px; }
.auth-field { margin-bottom: 20px; }
.auth-label { display: block; font-size: 13px; font-weight: 500; color: #6b7280; margin-bottom: 8px; }
.auth-input-wrap {
	position: relative; display: flex; align-items: center;
	border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.auth-input-wrap:focus-within {
	border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(99,102,241,.08); background: #fff;
}
.auth-input-icon {
	position: absolute; left: 16px; color: #9ca3af; font-size: 14px;
	pointer-events: none; transition: color .2s;
}
.auth-input-wrap:focus-within .auth-input-icon { color: #6366f1; }
.auth-input {
	flex: 1; padding: 14px 16px 14px 44px; border: none; background: transparent;
	font-size: 15px; color: #111827; outline: none;
}
.auth-input::placeholder { color: #9ca3af; }
.auth-btn {
	width: 100%; padding: 15px 20px; margin-top: 8px;
	background: #4f46e5; color: #fff;
	border: none; border-radius: 12px; font-size: 15px; font-weight: 600;
	cursor: pointer; transition: all .2s;
}
.auth-btn:hover { background: #4338ca; box-shadow: 0 4px 12px rgba(79,70,229,.25); }
.auth-links {
	display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
	padding-top: 24px; margin-top: 24px; border-top: 1px solid #f3f4f6;
}
.auth-link {
	font-size: 13px; color: #6b7280; text-decoration: none; transition: color .2s;
}
.auth-link:hover { color: #4f46e5; }
.auth-link i { margin-left: 4px; font-size: 10px; opacity: .8; }

/* 로그인 - 카카오톡 문의 */
.auth-kakao-help {
	margin-top: 28px; padding-top: 24px; border-top: 1px solid #f3f4f6;
}
.auth-kakao-help-text {
	font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0 0 14px;
}
.auth-kakao-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 20px; background: #FEE500; color: #191919;
	border-radius: 10px; font-size: 14px; font-weight: 600;
	text-decoration: none; transition: background .2s, transform .15s;
	box-shadow: 0 2px 8px rgba(254,229,0,.35);
}
.auth-kakao-btn:hover { background: #f5dc00; transform: translateY(-1px); }
.auth-kakao-btn i { font-size: 16px; }

@media (max-width: 900px) {
	.auth-bg { padding: 24px; }
	.auth-panel { flex-direction: column; max-width: 440px; }
	.auth-split-left, .auth-split-right { width: 100%; }
	.auth-split-right { padding: 40px 32px; order: -1; }
	.auth-split-left { padding: 40px 32px; }
	.auth-split-headline { font-size: 14px; }
	.auth-split-sub { font-size: 11px; }
}
.container {
	display:block;
}
.onepage_container {
	width:100vw;
	height:100vh;
	display:flex;
	align-items:center;
	justify-content:center;
}
.onepage_content {
	text-align:center;
}

.no_menu_body_kakao {
	position:fixed;
	bottom:20px;
	right:20px;
}
.col-20 {
	flex:0 0 20%;
	max-width:20%;
}
.customtable>tbody {
	border:1px solid #000000;
}
.customtable>thead {
	position:sticky;
}
tbody .inner_table_td {
	background-color:#f1f1f1 !important;
	padding-top:13px !important;
	padding-bottom:13px !important;
}
thead .inner_table_td {
	background-color:#000000 !important;
	color:white;
	font-weight:400 !important;
	font-size:12px!important;
}
tbody .outer_table_td {
	background-color:#e6e7ee !important;
}
thead .outer_table_td {
	background-color: #dcdde5 !important;
}
/* HTML:<div class="loader"></div>*/
.loader {
	width:40px;
	height:20px;
	transform:translate(-50%,-50%);
	border-radius:20px;
	aspect-ratio:1;
	--c:no-repeat linear-gradient(#000 0 0);
	background:var(--c) 0 0,var(--c) 0 100%,var(--c) 50% 0,var(--c) 50% 100%,var(--c) 100% 0,var(--c) 100% 100%;
	background-size:8px 50%;
	animation:l8-0 2s infinite;
	position:absolute;
	top:50%;
	left:50%;
	overflow:hidden;
}
.loader:before {
	content:"";
	position:absolute;
	width:8px;
	height:8px;
	border-radius:50%;
	background:#000;
	top:calc(50% - 4px);
	left:-8px;
	animation:inherit;
	animation-name:l8-1;
}
@keyframes l8-0 {
	16.67% {
		background-size:8px 30%,8px 30%,8px 50%,8px 50%,8px 50%,8px 50%
	}
	33.33% {
		background-size:8px 30%,8px 30%,8px 30%,8px 30%,8px 50%,8px 50%
	}
	50% {
		background-size:8px 30%,8px 30%,8px 30%,8px 30%,8px 50%,8px 50%
	}
	66.67% {
		background-size:8px 50%,8px 50%,8px 30%,8px 30%,8px 50%,8px 50%
	}
	83.33% {
		background-size:8px 50%,8px 50%,8px 50%,8px 50%,8px 50%,8px 50%
	}
}
@keyframes l8-1 {
	20% {
		left:0px
	}
	40%,100% {
		left: calc(50% - 4px)
	}
}
.sticky {
	z-index:9;
	position:sticky;
	/* background-color:#f6f6f6;*/
	padding:10px 0;
	margin-bottom:10px;
	top:0;
}
td.details-control {
	background:url('/static/assets/img/down.png') no-repeat center center;
	cursor:pointer;
	width:40px;
	transition:.5s;
	padding-left:10px;
	padding-right:10px;
}
tr.shown td.details-control {
	background:url('/static/assets/img/up.png') no-repeat center center;
	width:40px;
	transition:.5s;
	padding-left:10px;
	padding-right:10px;
}
[data-loading] {
	display:none;
}
.active>span>img {
	width:40px;
	border:5px solid #73ec5d;
}
input[type="radio"] {
	display:none;
	position:absolute;
	width:100%;
	appearance: none;
}
input[type="radio"]:checked+label {
	background:#2d2f42;
	/* border:2px solid #2d2f42;*/
	color:#fff;
}
.itemtitle {
	font-size:12px;
	font-weight:500;
}
.itemvalue {
	font-size:30px;
	font-weight:700;
	margin-bottom:20px;
}
.unit {
	color:#9496a8;
	font-size:10px;
	;
	font-weight:500;
	margin-left:5px;
}
.text-right {
	text-align:right !important;
}
.text-center {
	text-align:center !important;
}
fieldset.groupbox-border {
	border:1px groove #2d2f42 !important;
	padding:0 1.4em 1.4em 1.4em !important;
	max-height:300px;
	overflow:auto;
	margin:30px 5px;
}
legend.groupbox-border {
	font-size:1.2em;
	font-weight:bold !important;
	text-align:left !important;
	width:auto;
	padding:0px 10px 0px 10px;
	border-bottom:none;
}
.cpc_input {
	width:70px;
	text-align:right;
	margin-right: 15px;
}
.cpc_con_btn {
	border:1px solid #2d2f42;
	border-radius:20px;
	color:#2d2f42;
	font-size:13px;
	padding:2px 20px;
	margin-right:10px;
}
.sel_all {
	display:inline-block;
}
.btn {
	box-shadow:none;
	border:1px solid;
	background-color:inherit;
}
.camp_table_input_name {
	width:100%;
	padding:5px;
}
.report_page {
	margin: 0;
	padding: 0;
	background: transparent;
}
.right_btn {
	background-color:#2d2f42;
	padding:0px 20px;
	height:25px;
	margin-left:auto;
	color:#fff;
	border-radius:30px;
}
/* input - number에 화살표 없애기 */
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {
	-webkit-appearance:none;
	margin: 0;
}
/* 스위치 인풋 */
.switch[type="checkbox"] {
	appearance:none;
	position:relative;
	border:max(2px,0.1em) solid #e1e1e1;
	border-radius:1.25em;
	width:2.25em;
	height:1.25em;
}
.switch[type="checkbox"]::before {
	content:"";
	position:absolute;
	left:0;
	width:1em;
	height:1em;
	border-radius:50%;
	transform:scale(0.8);
	background-color:gray;
	transition:left 250ms linear;
}
.switch[type="checkbox"]:checked {
	background-color:#34a60c;
	border-color:#34a60c;
}
.switch[type="checkbox"]:checked::before {
	background-color:#ffffff;
	left:1em;
}
.switch[type="checkbox"]:disabled {
	border-color:#e3e3e3;
	opacity:0.7;
	cursor:not-allowed;
}
.switch[type="checkbox"]:disabled:before {
	background-color:lightgray;
}
.switch[type="checkbox"]:disabled+span {
	opacity:0.7;
	cursor:not-allowed;
}
.switch[type="checkbox"]:focus-visible {
	outline-offset:max(2px,0.1em);
	outline:max(2px,0.1em) solid #34a60c;
}
.switch[type="checkbox"]:enabled:hover {
	box-shadow:0 0 0 max(4px,0.2em) lightgray;
}



.switch_status[type="checkbox"] {
	appearance:none;
	position:relative;
	border:max(2px,0.1em) solid #e1e1e1;
	border-radius:1.25em;
	width:2.25em;
	height:1.25em;
}
.switch_status[type="checkbox"]::before {
	content:"";
	position:absolute;
	left:0;
	width:1em;
	height:1em;
	border-radius:50%;
	transform:scale(0.8);
	background-color:gray;
	transition:left 250ms linear;
}
.switch_status[type="checkbox"]:checked {
	background-color:#3369ab;
	border-color:#3369ab;
}
.switch_status[type="checkbox"]:checked::before {
	background-color:#ffffff;
	left:1em;
}
.switch_status[type="checkbox"]:disabled {
	border-color:#e3e3e3;
	opacity:0.7;
	cursor:not-allowed;
}
.switch_status[type="checkbox"]:disabled:before {
	background-color:lightgray;
}
.switch_status[type="checkbox"]:disabled+span {
	opacity:0.7;
	cursor:not-allowed;
}
.switch_status[type="checkbox"]:focus-visible {
	outline-offset:max(2px,0.1em);
	outline:max(2px,0.1em) solid #3369ab;
}
.switch_status[type="checkbox"]:enabled:hover {
	box-shadow:0 0 0 max(4px,0.2em) lightgray;
}




.itemcontent_large {
	font-size:35px;
	font-weight:700;
}
.right_text {
	float:right;
	font-size:13px;
	color:#2db925;
}
.page_title {
	margin-bottom:10px;
	margin-right:20px;
	font-size:30px;
	font-weight:600;
	line-height:25px;
}
.table_div {
	margin-top:50px;
	margin-bottom:50px;
}
.new_about {
	margin:20px 0px;
	font-size:16px;
	font-weight:500;
}
.new_about:hover {
	color:#2d7424;
}
.mystyle {
	width:300px;
	color:white;
	border:0;
	background-color:#9a9cad;
	margin:20px 10px;
	padding:10px;
	border-radius:20px;
	font-size:14px;
}
.update-btn {
	width:200px;
	color:white;
	border:0;
	background-color:#31344b;
	margin:20px 10px;
	padding:10px;
	border-radius:20px;
	font-size:14px;
}
.cal_ele_title {
	font-size:16px;
	margin-top:30px;
}
.cal_ele_content {
	padding:15x 0;
}
.calcurator {
	border: 1px solid;
}
.rank_thumb {
	/* background-color:#ffffff;*/
	/* width:55px;*/
	border-radius:20px;
}
.rank_thumb:hover {
	transform:scale(1.1);
	transition:.5s;
}
.mini_thumb {
	width: 40px;
}
/* Range Slider */
.range {
	width:100%;
}
.range__slider {
	width:100%;
}
.range__value {
	width:100%;
	text-align:center;
}
.form-group {
	flex-direction:column;
	justify-content:center;
}
.form-group label {
	font-size:.7rem;
	color:#44476a;
	margin-bottom:5px;
}
.form-group span {
	font-size:2rem;
	font-weight:600;
	color:#44476a;
}
.range__slider label {
	margin-bottom:10px;
}
.range__slider [type="range"] {
	width:100%;
	-webkit-appearance:none;
	height:13px;
	border-radius:6px;
	background:#f1f1f1;
	outline:none;
	padding:0;
	margin: 0;
}
/* custom thumb */
.range__slider [type="range"]::-webkit-slider-thumb {
	-webkit-appearance:none;
	appearance:none;
	width:25px;
	height:25px;
	border-radius:50%;
	background:#7a00ff;
	border:#f9ca24 5px solid;
	cursor:pointer;
	-webkit-transition:background .15s ease-in-out;
	transition:background .15s ease-in-out;
}
.range__slider [type="range"]::-webkit-slider-thumb:hover {
	background:#f0932b;
}
.range__slider [type="range"]::-moz-range-thumb {
	width:20px;
	height:20px;
	border:0;
	border-radius:50%;
	background:#f0932b;
	border:#f9ca24 5px solid;
	cursor:pointer;
	-webkit-transition:background .15s ease-in-out;
	transition:background .15s ease-in-out;
}
.range__slider [type="range"]::-moz-range-thumb:hover {
	background: #f9ca24;
}
/* remove border */
input::-moz-focus-inner,input::-moz-focus-outer {
	border: 0;
}
/* 기본 콤포넌트 */
/* left menu section */
/* 상단 헤더바 */
.global-topbar {
	position: fixed; top: 0; left: 0; right: 0; height: 48px; z-index: 10;
	background: #fff; display: flex; align-items: center; justify-content: space-between;
	padding: 0 20px; border-bottom: 1px solid #e5e7eb;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-logo { display: flex; align-items: center; height: 100%; }
.topbar-logo img { height: 18px; filter: brightness(0) saturate(100%) invert(22%) sepia(15%) saturate(800%) hue-rotate(200deg); }
.topbar-action-btn {
	display: flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 6px;
	border: 1px solid #d1d5db; background: #f9fafb; color: #374151; font-size: 12px;
	font-weight: 500; cursor: pointer; transition: all 0.15s;
}
.topbar-action-btn:hover { background: #eef2ff; border-color: #818cf8; color: #4f46e5; }
.topbar-action-btn i { font-size: 12px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-controls { display: flex; align-items: center; gap: 8px; }
.topbar-form { display: flex; align-items: center; gap: 4px; }
.topbar-select {
	font-size: 12px; padding: 5px 10px; border: 1px solid #d1d5db; border-radius: 6px;
	background: #fff; color: #374151; outline: none; cursor: pointer;
}
.topbar-select:focus { border-color: #818cf8; box-shadow: 0 0 0 2px rgba(99,102,241,0.1); }
.topbar-divider { width: 1px; height: 24px; background: #e5e7eb; }
.topbar-icons { display: flex; align-items: center; gap: 4px; }
.topbar-icon-btn {
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 6px; border: none; background: none;
	color: #6b7280; font-size: 16px; cursor: pointer; text-decoration: none; transition: all 0.15s;
}
.topbar-icon-btn:hover { background: #f3f4f6; color: #4f46e5; }
.topbar-user-wrap { position: relative; }
.topbar-user-menu {
	display: none; position: absolute; top: calc(100% + 6px); right: 0;
	background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; min-width: 160px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1); overflow: hidden; z-index: 20;
}
.topbar-user-menu.active { display: block; }
.topbar-user-menu a {
	display: block; padding: 10px 16px; font-size: 13px; color: #374151;
	text-decoration: none; border-bottom: 1px solid #f3f4f6;
}
.topbar-user-menu a:last-child { border-bottom: none; }
.topbar-user-menu a:hover { background: #f9fafb; color: #4f46e5; }

/* 좌측 사이드바 */
.left_menusection {
	position: fixed; left: 0; top: 48px;
	padding: 12px 0; width: 200px; height: calc(100vh - 48px);
	background: #f3f4f7; border-right: 1px solid #d8dee8;
	overflow: auto; z-index: 2;
}
.main-content-area {
	margin-left: 200px;
	margin-top: 48px;
	min-height: calc(100vh - 48px);
	padding: 10px 12px 14px;
	background: #eef1f6;
}
.main-content-area > .container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
.left_button_div { display: none; }
.left_menu_div {
	padding: 0;
}
.sidebar-group-label {
	font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase;
	letter-spacing: 0.05em; padding: 16px 16px 6px; margin: 0;
}
.parent_menu_btn {
	font-size: 13px; text-align: left; width: 100%;
	padding: 8px 16px; border: none; background: none;
	color: #4b5563; cursor: pointer; display: flex; align-items: center; gap: 8px;
	transition: all 0.12s;
}
.parent_menu_btn.sub {
	padding-left: 24px; font-size: 12px; color: #6b7280;
}
.parent_menu_btn:hover {
	background: #eef2ff; color: #4f46e5;
}
.parent_menu_btn.active_menu {
	background: #eef2ff; color: #4f46e5;
	border-left: 3px solid #6366f1; font-weight: 600;
}
.parent_menu_btn > i {
	width: 16px; text-align: center; font-size: 12px; color: #9ca3af;
}
.parent_menu_btn:hover > i { color: #6366f1; }
.parent_menu_btn > span { margin-left: 0; }
.sidebar-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: #ef4444; color: #fff;
	font-size: 10px; font-weight: 700; line-height: 1;
	margin-left: auto;
}
.sidebar-badge-new {
	display: inline-flex; align-items: center; justify-content: center;
	height: 16px; padding: 0 6px;
	border-radius: 8px; background: #7c3aed; color: #fff;
	font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: 0.4px;
	margin-left: auto;
}
.submenu { display: none; }
.kakao_talk { display: none; }
.area_button{
	display: none;
	width:100%;
	height:100px;
	background:#ffffff;
	border:none;
	border-radius:10px;
	color:#040404;
	font-weight:600;
}
.left_menu_warning{
	color:#fff;
	font-size:10px;
	font-weight:600;
}
/* 유료버전 리뉴얼 */
.page_nav {
	font-size:12px;
	background:#f8f8f8;
	color:#000;
	width:100%;
	padding:0px 30px;
	position:fixed;
	top:0;
	left:220px;
	z-index:100;
}
.page_nav>.active {
	font-weight:600;
}
.report_body {
	margin-top:50px;
	padding:0 30px;
}
.page_title_section {
	padding-top:20px;
}
.prd_link {
	margin:15px 0;
	font-size:12px;
	.prd_link_a {
		margin-right:20px;
		padding:5px;
		border:1px dotted;
		border-radius:10px;
	}
	.prd_link_a:hover {
		background:#ececec;
	}
}
.page_name {
	font-size:25px;
	font-weight:600;
	line-height:18px;
}
.page_middle_menu_section {
	padding-top:20px;
}
.middle_menu_btn {
	width:200px;
	border:none;
	border-left:1px solid #dfdfdf;
	background:#ebebef;
	font-size:16px;
}
.middle_menu_btn:last-child {
	border-right:1px solid #dfdfdf;
}
.middle_menu_btn:hover {
	background-color:#6d7097;
	color:#fff;
	transition:.5s;
}
.prd_select {
	padding-top:20px;
}
.report_pann {
	padding:30px 0;
}
.report_pann_title {
	font-size:20px;
	font-weight:600;
	margin-top:30px;
	margin-bottom:10px;
	text-align:left;
}
.content_block {
	margin-bottom:60px;
}
.about_report {
	font-size:14px;
	font-weight:400;
	margin-left:20px;
}
.report_card {
	width:24.5%;
	font-size:14px;
	padding:15px 0;
	margin-bottom:30px;
}
.left_card {
	margin-right:auto;
}
.right_card {
	margin-left:auto;
}
.report_name {
	font-size:16px;
	font-weight:bold;
}
.change_account_div {
	display:inline-block
}
.select_account_box {
	width:150px;
	margin:8px 13px;
	text-align:center;
	padding:2px;
}
.report_content {
	padding:20px 0;
}
.mini_set_date {
	border:none;
	margin-top:15px;
	margin-right:5px;
	font-size:12px;
	padding:3px 5px;
}
.select {
	background:#44476a;
	color:#fff;
}
.parent_menu_btn>a {
	text-decoration:none;
	color:white;
}
a {
	color:inherit;
}
.nav_div {
	display:flex;
	align-items:center;
	height:41px;
}
.nav_top {
	padding:0 20px;
}
.nav_top:first-child {
	padding-left:0;
}
.prdlist_zone {
	margin:20px 0;
	margin-bottom:0;
	background-color:#fafafa;
	color:#44476a;
}
.select_thumb_div {
	border-left:none;
	border-right:none;
	margin:5px 0;
	padding:5px;
}
.select_thumb_div>.title {
	font-size:12px;
	font-weight:600;
	text-align:center;
	padding:5px;
}
.title_prd_select {
	font-size:18x;
	padding:10px;
	font-weight:bold;
}
.table_pann {
	margin:20px;
}
.prd_warning {
	width:100%;
	;
	margin:20px 0;
	text-align:center;
	border-radius:15px;
}
.prd_warning>.report_name {
	background-color:#44476a;
	padding:10px;
	color:#ffffff;
	border-radius:15px 15px 0 0;
}
.name_content_title {
	font-size:24px;
	text-align:left;
}
.prd_report_table_zone {
	padding:30px;
}
.name_content_content {
	font-size:16px;
	font-weight:600;
	text-align:left;
}
.warnig_box {
	width:100%;
	padding:5px;
	border:5px solid #44476a;
	border-radius:0 0 15px 15px;
}
.warnig_name {
	font-size:16px;
	font-weight:600;
}
.warnig_count {
	font-size:30px;
	font-weight:600;
}
.height_700 {
	height:700px
}
.box_report_separate {
	margin:20px 10px;
	padding-bottom:15px;
	border-bottom:1px dotted #d2d2d2;
}
.box_report_table {
	margin:10px;
	margin-left:0;
	max-height:800px;
	width:100%;
	overflow:auto;
}
.mini_menu {
	margin-top:20px;
	margin-bottom:10px;
}
.prd_report_btn {
	width:200px;
	font-size:14px;
	border:none;
	padding:5px;
	transition:.2s;
}
.prd_report_btn:hover {
	transition:.5s;
	background:#6d6d6d;
	color:#fff;
}
.select_days {
	text-align:left;
	margin:0;
}
.mini_set_date_big {
	padding:3px 20px;
	border:none;
	margin-right:10px;
	border-radius:20px;
	background:#44476a;
	font-size:14px;
	color:white;
	transition:.5s;
}
.mini_set_date_big:hover {
	font-weight:800;
	transition:.5s;
}
.mini_keyword {
	padding:3px 20px;
	border:1px solid #fff;
	margin-right:10px;
	margin-bottom:10px;
	border-radius:20px;
	background:#44476a;
	font-size:14px;
	color:white;
	transition:.5s;
}
.mini_keyword:hover {
	font-weight:800;
	transition:.5s;
}
.select_keyword {
	background:#fff;
	color:#44476a;
}
.date_div {
	text-align:left;
	margin-bottom:10px;
}
.date {
	text-align:left;
	background:none;
	border:none;
	font-size:14px;
	transition:.5s;
	color:#ffe500;
	font-weight:800;
	padding:0;
}
.date:hover {
	color:#fffce0;
	transition:.5s;
}
.select_date {
	background:white;
	color:#44476a;
	font-weight:800;
}
.content_block>.report_name {
	margin:10px 0;
	margin-bottom:30px;
	border-left:5px solid;
	padding-left:10px;
}
.summary_performance {
	background:#e6e6e6;
	padding:20px;
	border-radius:20px;
	font-size:18px;
	line-height:1.6;
	margin-bottom:50px;
}
.summary_performance>.accent {
	font-weight:bold;
}
.delta_performance {
	margin-top:10px;
	font-size:14px;
	font-weight:bold;
}
.row_name_div {
	width:70px;
	background:#444;
}
.table_div_new {
	overflow-x:auto;
	border-left:2px solid;
	border-right:2px solid;
}
.daily_result_table {
	font-size:14px;
	text-align:center;
	width:100%;
	overflow:auto;
}
.table_tr {
	height:60px;
}
.table_tr:hover {
	background:#dfdfdf;
	transition:0.8s;
}
.row_name {
	background:#f0f0f0;
	padding:10px;
	font-weight:400;
}
.row_name_key {
	background:#f0f0f0;
	padding:10px;
	font-weight:400;
	width: 100px;
}
.row_date {
	background:#fbfbfb;
	font-weight:400;
}
.row_content_div {
	font-weight:600;
	padding:10px;
	min-width:100px !important;
	border-bottom:1px dotted #f0f0f0;
}
.row_width_rate_6 {
	width:200px;
}
.row_content_div>.unit {
	font-weight: 400;
}
.table_tr>td:first-child {
	position:sticky;
	/* 열을 고정 */
	left:0;
	/* 고정된 열이 스크롤과 함께 움직이지 않도록 */
	background:#dfdfdf;
	/* 고정 열의 배경색 */
	z-index:1;
	/* 고정 열이 다른 요소 위에 표시되도록 */
}
.thead_height {
	height:10px !important
}
.more_font {
	font-size:18px;
	font-weight:500;
	border:1px solid #d0d0d0;
}
.chart_div {
	height:300px;
	padding-top:5px;
	background:#fafafa;
	border-radius:30px;
	padding:15px;
	margin:30px 10px 50px 0;
}
.chart_btn_zone {
	font-size:16px;
	font-weight:600;
	text-align:left;
}
.group_div {
	background:#f1f1f1;
	border-radius:15px;
	padding:10px;
	transition:.5s;
	margin:5px 0;
	color:#44476a;
}
.group_div:hover {
	transform:scale(1.01);
	transition:.5s;
}
.small_title {
	font-size:10px;
	font-weight:500
}
.item_content {
	font-size:16px;
	font-weight:600;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.margin_bottom {
	margin-bottom:10px;
}
.wide_table {
	margin:30px 0;
}
.overflow_x {
	overflow:auto;
}
.sec_report {
	margin-top:15px;
	margin-bottom:50px;
}
.name_content {
	font-size:clamp(25px,5vw,30px);
	text-align:right;
	line-height:30px;
	padding:20px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.whatsthis {
	font-size:13px;
	font-weight:300;
	text-align:left;
	margin-top:2px;
	margin-bottom:5px;
	margin-left:30px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.warning {
	font-size:18px;
	font-weight:600;
}
.warning>img {
	width:25px;
	margin-right:20px;
}
.collapsible_btn_ {
	font-size:14px;
	font-weight:600;
	color:#44476a;
	border:none;
	background:#ffc868;
	border-radius:20px;
	padding:3px 15px;
	margin:0 20px;
	transition:.5s;
}
.collapsible_btn_:hover {
	background:#e39d24;
	color:white;
	transition:.5s;
}
.input_div {
	margin:20px 0;
	padding:20px 20px;
	background:#ebebeb;
	border-radius:20px 0 0 20px;
	height:900px;
	overflow:auto;
}
.input_number {
	width:100%;
	padding:5px;
	font-size:26px;
	font-weight:600;
	text-align:center;
	color:#44476a;
	border:none;
}
.slider>.title {
	font-size:13px;
	font-weight:900;
	margin-bottom:5px;
	text-align:center;
	width:100%;
}
.slider>.about {
	font-size:12px;
	font-weight:500;
	text-align:center;
	margin:5px
}
.result_div {
	margin:20px 0;
	padding:20px 20px;
	background:#ebebeb;
	border-radius:0 20px 20px 0;
	height:900px;
	overflow:auto;
}
.result_div>.title {
	width:100%;
	font-size:20px;
	font-weight:600;
	text-align:left;
}
.cal_margin_btn {
	margin:30px;
	padding:10px 30px;
	;
	background:#44476a;
	border:none;
	border-radius:40px;
	font-size:20px;
	font-weight:600;
	color:white;
}
.result_div>.about {
	text-align:left;
	margin-bottom:20px;
}
.result_div>.result {
	overflow:auto;
}
.cal_ads_performance {
	width:100%;
	margin-bottom:30px;
}
.cal_table_th {
	width:10%;
	height:70px;
	background:#dbdbdb;
	font-weight:500;
}
.cal_table_td {
	width:30%;
	font-size:22px;
	font-weight:800;
	border-right:1px solid #dbdbdb;
	border-bottom:1px solid #dbdbdb;
}
.option_result {
	border-top:1px dotted #dbdbdb;
	margin-bottom:15px;
	overflow:auto;
	padding:10px;
	background:#dbdbdb;
	border-radius:10px;
}
.cal_opt_name {
	font-size:18px;
	font-weight:600;
	text-align:center;
	margin-bottom:5px;
}
.cal_title {
	font-size:12px;
	font-weight:600;
}
.cal_content {
	font-size:18px;
	font-weight:600;
}
.attentin_about {
	font-weight:500;
	margin:20px 0;
	text-align:left;
	padding-left:15px;
}
.change_attention {
	margin:15px;
	background:#ececec;
	padding:20px;
	font-size:14px;
	font-weight:600;
}
.change_attention_value {
	text-align:left;
}
.change_attention_value>input[type="number"] {
	width:100px;
	margin:5px;
	text-align:center;
}
.change_attention_value>span {
	margin-right:30px;
}
.change_attention_value_btn {
	background:#44476a;
	border:none;
	padding:3px 15px;
	font-size:14px;
	font-weight:600;
	color:white;
	border-radius:20px;
	margin-left:30px;
}
.select_date_div {
	padding:5px;
	text-align:left;
}
.sub_con {
	font-size:14px;
	font-weight:500;
	color:#6c6e83;
}
.topic {
	background:#44476a;
	color:white;
	border:1px solid #dbdbdb;
}
.rank_btn_div {
	margin:20px 0;
	border-right:1px solid #000;
}
.rank_btn {
	font-size:16px;
	padding:5px 15px;
	border:1px solid #44476a;
	background:none;
	margin:20px 0;
	color:#44476a;
	border-radius:30px;
	transition:.5s;
}
.select_rank {
	background:#44476a;
	color:white;
}
.rank_btn:hover {
	background:#b0b2c0;
	transition:.5s;
}
.no_attention_div {
	height:100px;
	width:100%;
	display:flex;
	align-items:center;
	padding-left:20px;
	font-size:20px;
	font-weight: 600;
}
/* 기본 슬라이드 애니메이션 설정 */
.slide_box {
	opacity:0;
	visibility:hidden;
	/* 요소를 화면에서 제거 */
	transition:opacity 0.5s ease-in-out,visibility 0.5s ease-in-out;
	position:absolute;
	width:100%;
}
/* 활성화된 상태 */
.slide_box.active {
	opacity:1;
	visibility:visible;
	/* 요소를 화면에 표시 */
	position:relative;
}
/* 버튼 활성화 스타일 */
.border_line_btn {

font-weight:500;

font-size:14px;

color:#fff;

background-color:#44476a;

border:1px solid #ffffff;

margin:5px;

padding: 2px 12px;
}
.border_line_btn.select {
	color:#44476a;
	background-color:#ffffff;
	border:1px solid #ffffff;
}
.chart_btn {
	padding:3px 7px;
	margin:5px;
	font-size:12px;
	cursor:pointer;
	background:none;
	border:1px solid #44476a;
	border-radius:30px;
}
.chart_btn_0.active {
	background-color:#ea5545;
	color:#fff;
	border:1px solid #9b1920;
}
.chart_btn_1.active {
	background-color:#27aeef;
	color:#fff;
	border:1px solid #114265;
}
.chart_btn_2.active {
	background-color:#519746;
	color:#fff;
	border:1px solid #1e5416;
}
.chart_btn_3.active {
	background-color:#865440;
	color:#fff;
	border:1px solid #6a3119;
}
.chart_btn_4.active {
	background-color:#624c86;
	color:#fff;
	border:1px solid #2d1d47;
}
.chart_btn_5.active {
	background-color:#fb701b;
	color:#fff;
	border:1px solid #c35817;
}
.chart_btn_6.active {
	background-color:#aed884;
	color:#fff;
	border:1px solid #83a95e;
}
.chart_btn_7.active {
	background-color:#c0aad0;
	color:#fff;
	border:1px solid #9076a2;
}
.chart_btn_8.active {
	background-color:#fcb46a;
	color:#fff;
	border:1px solid #bc8349;
}
.chart_btn_9.active {
	background-color:#9cc9de;
	color:#fff;
	border:1px solid #71a1b8;
}
.chart_btn_10.active {
	background-color:#f78f90;
	color:#fff;
	border:1px solid #c56d6e;
}
.chart_btn_11.active {
	background-color:#dbd511;
	color:#fff;
	border:1px solid #a5a015;
}
.chart_btn_12.active {
	background-color:#b7b7b7;
	color:#fff;
	border:1px solid #909090;
}
.chart_btn_13.active {
	background-color:#00ac99;
	color:#fff;
	border:1px solid #008a7a;
}
.chart_btn_14.active {
	background-color:#ff63b1;
	color:#fff;
	border:1px solid #d94d95;
}
.chart_btn_15.active {
	background-color:#673ab7;
	color:#fff;
	border:1px solid #512da8;
}
.ads_setting_info {
	background:#f1f1f1;
	border-radius:10px;
	width:95%;
	margin:10px auto;
	font-weight:600;
	text-align:left;
}
.setting_row {
	margin:10px 0;
}
.setting_section {
	border-radius:10px 0 0 10px;
	background:#eaeaea;
	display:flex;
	align-items:center;
}
.a_link {
	font-weight:800;
	color:#6888fa !important;
	text-decoration:underline;
}
.setting_name {
	font-size:10px;
	margin-bottom:5px;
}
.mgroup_cpc {
	width:100%;
	text-align:center;
}
.another_add {
	font-weight:500;
	color:#0024a3 !important;
	text-decoration:underline;
	cursor:pointer;
}
.group_setting_btn {
	background:url('/static/assets/img/gear.png');
	background-repeat:no-repeat;
	background-position:5px center;
	background-size:15px;
	font-size:12px;
	font-weight:900;
	color:#fff;
	border:none;
	width:15px;
	height:40px;
	margin-top:15px;
	padding-left:20px;
}
.rel_keyword_input_zone {
	display:flex;
	height:560px;
	align-items:center;
	justify-content:center;
}
.rel_btn {
	background:#44476a;
	border:none;
	border-radius:30px;
	margin:10px;
	padding:5px 20px;
	;
	color:#fff;
	width:120px;
}
.rel_btn:hover {
	font-weight:900;
}
.rel_keyword_input {
	width:100%;
	font-size:25px;
	padding:7px;
	text-align:center;
	color:#44476a;
	font-weight:500;
}
.rel_keyword {
	height:50px;
	font-weight:500;
}
.rel_unit {
	margin-top:5px;
}
.rel_keyword_box_parent {
	padding:10px;
	background:#fff;
	margin:5px 0;
	margin-top:20px;
	border:1px dotted #444;
	border-radius:5px;
}
.rel_keyword_box_child {
	padding:10px;
	background:#fff;
	margin:5px 0;
	margin-left:20px;
	border:none;
	border-radius:5px;
}
.big_section {
	text-align:left;
	padding-left:20px;
	padding-bottom:10px;
	border-bottom:1px solid;
}
.big_section>button:hover {
	font-weight:900;
}
.big_menu {
	border:none;
	font-size:14px;
	margin-right:30px;
	background:none;
	text-align:left;
	color:#fff;
}
.big_menu_select {
	border:none;
	font-size:14px;
	margin-right:30px;
	background:none;
	color:#ffe529;
	text-decoration:underline;
}
.middle_section {
	text-align:left;
	padding-left:20px;
	padding:10px;
	border-bottom:1px solid #595b74;
}
.middle_section>button:hover {
	font-weight:900;
}
.middle_menu {
	border:none;
	font-size:14px;
	margin-right:30px;
	background:none;
	color:#dadada;
}
.middle_menu_select {
	border:none;
	font-size:14px;
	margin-right:30px;
	background:none;
	color:#ffe20f;
	text-decoration:underline;
}
.how_input {
	background:#f1f1f1;
	width:100%;
	margin-bottom:10px;
	padding:10px;
	border-radius:30px;
}
.procedure {
	width:30px;
	height:30px;
	text-align:center;
	background:#44476a;
	font-weight:600;
	color:#fff;
	line-height:26px;
	border-radius:30px;
	margin-right:20px;
}
.procedure_about {
	font-weight:400;
	margin-right:20px;
}
.custom-alert {
	position:fixed;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	background-color:rgba(0,0,0,0.8);
	color:white;
	padding:20px 30px;
	border-radius:10px;
	display:none;
	z-index:1000;
	font-size:16px;
	opacity:0;
	transition:opacity 0.5s ease-out;
}
.about_ranking {
	text-align:left;
	font-weight:400;
}
.my_keyword_div {
	background:#f0f0f0;
	border-radius:10px;
	padding:10px;
	margin:10px 0;
}
.keyword_name {
	display:flex;
	align-items:center;
	font-size:20px;
	text-align:left;
	font-weight:600;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	width:100%;
}
.delete_keyword {
	font-size:16px;
	border:1px solid #44476a;
	color:#44476a;
}
.keyword_warning {
	text-align:left;
	font-size:14px;
	font-weight: 400;
}
.search_ranking_best_mine_div{
	width:100%;
	height:320px;
	background:#f8f8f8;
	margin:10px;
	padding:20px;
	border-radius:20px;
}
.search_ranking_best_mine_table{
		height: 290px;
		overflow-y:auto;
}
.nomine{
	text-align:left;
	margin:20px;
	font-weight:500;
}
.toomany{
	padding:15px;
	border-radius:15px;
	max-height:500px;
	border-left:5px solid #f8f8f8;
	overflow-y:auto;
	background:#f8f8f8;
}

.margin_stage_table{
	background: #e8e8e8;
	border-radius:24px;
	font-size:14px;
	width:100%;
	table-layout: fixed;
}
.margin_stage_table_tr{
	height:50px;
}
.margin_stage_table_th{
	font-weight:400;
}
.margin_stage_table_td{
	font-weight:600;
	padding:10px 0;
}
.percent{
	color:#9699bb;
}
.dashboard_keyword{
	font-weight:500;
}
.last_check{
	font-size:10px;
}
.add_search_keyword_div { padding: 0; }
.rpt-add-keyword-form {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.rpt-add-keyword-input {
	width: 260px; padding: 8px 12px; font-size: 13px; color: #374151;
	border: 1px solid #e5e7eb; border-radius: 6px; background: #fff;
	outline: none; transition: border-color 0.12s ease;
}
.rpt-add-keyword-input:focus { border-color: #2563eb; }
.rpt-add-keyword-input::placeholder { color: #9ca3af; }
.rpt-add-keyword-cpc {
	width: 100px; padding: 8px 12px; font-size: 13px; color: #374151;
	border: 1px solid #e5e7eb; border-radius: 6px; background: #fff;
	outline: none; transition: border-color 0.12s ease;
}
.rpt-add-keyword-cpc:focus { border-color: #2563eb; }
.rpt-add-keyword-cpc::placeholder { color: #9ca3af; }
.rpt-add-keyword-btn {
	padding: 8px 18px; font-size: 13px; font-weight: 600; color: #374151;
	border: 1px solid #d1d5db; border-radius: 6px; background: #fff;
	cursor: pointer; transition: all 0.12s ease;
}
.rpt-add-keyword-btn:hover { background: #f3f4f6; border-color: #9ca3af; color: #111827; }
.added_keyword{
	background:#e0e0e0;
	padding:10px;
	font-weight:600;
}
.cancle_added_keyword{
	font-size:10px;
	border:none;
	background:#9d9d9d;
	border-radius:10px;
	margin-left:5px;
	color:white;
	
}
.partner_bg{
	background-image: url("/static/assets/img/partner_bg.jpg");    
	background-size: cover;
	width:100%;
	height:475px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.partner_header_title{
	font-size:60px;
	font-weight:600;
	color:white;
	text-align:center;
	padding:10px;
	background-color:rgb(0 0 0 / 50%);
	
}
.white_div{
	background: #fff;
	width:100%;
	padding: 100px 0;
}
.gray_div{
	background: #ededed;
	width:100%;
	padding: 100px 0;}
.partner_title{
	text-align:center;
	font-size:30px;
	font-weight:600;
	margin: 20px
}
.partner_content{
	text-align: center;
	font-size:20px;
	font-weight:400;
	margin-bottom:20px;
}
.winwin{
	display:block;
	margin:10px auto;
	background-image: url("/static/assets/img/winwin.png");    
	background-size: cover;
	width:150px;
	height:150px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.knowhow{
	display:block;
	margin:10px auto;
	background-image: url("/static/assets/img/knowhow.png");    
	background-size: cover;
	width:150px;
	height:150px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.money{
	display:block;
	margin:10px auto;
	background-image: url("/static/assets/img/money.png");    
	background-size: cover;
	width:150px;
	height:150px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.sns{
	display:block;
	margin:10px auto;
	background-image: url("/static/assets/img/sns.png");    
	background-size: cover;
	width:150px;
	height:150px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.vac{
	display:block;
	margin:10px auto;
	background-image: url("/static/assets/img/vac.png");    
	background-size: cover;
	width:150px;
	height:150px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.how{
	display:block;
	margin:10px auto;
	background-image: url("/static/assets/img/how.png");    
	background-size: cover;
	width:150px;
	height:150px;
	display:flex;
	align-items:center;
	justify-content: center;
}
.partner_mini_content{
	font-size:14px;
}
.go_mapas_share{
	margin:50px auto;
	width:350px;
	background:#44476a;
	color:white;
	text-align:center;
	padding:20px;
	font-size:20px;
	font-weight:600;
	border-radius:500px;
}

.imnotbadguy{
	margin-top:20px;
	font-size:12px;
	padding:5px;
	border:1px solid #44476a;
	border-radius:30px;
}
.partner_card{
	background:#ededed;
	padding:40px;
}
.partner_form_title{
	font-size:14px;
	font-weight:600;
}
.partner_form_what{
	font-size:14px;
}
.policy_button{
	background:#44476a;
	color:white;
	padding:5px;
}
.partner_form_input{
	margin :20px;
}
.partner_input{
	border:1px solid #44476a;
	font-size:20px;
	padding:5px;
	text-align:center;
	color:#44476a;;
}
.partner_join_btn{
	background: #44476a;
	border:none;
	color:white;
	padding:5px 20px;;
	font-size:16px;
	border-radius:30px;
	
}
.how_to_withdraw{
	display:block;
	margin: 0 auto;
	width:300px;
	font-size:14px;
	background:#44476a;
	color:white;
	border:none;
	margin-bottom:30px;
	padding:10px;
	border-radius:30px;
}
.bill_no{
	font-size:20px;
	text-align:center;
	width:400px;
}
.withdraw_btn{
	font-size:20px;
	text-align:center;
	border:1px solid #44467a;
	color:#44467a;
	width:200px;
}
.naver{
	background:#03ba64;
	border:none;
	margin:15px;
	font-size:16px;
	padding:5px 20px;
	color:white;
	border-radius:20px;
	
}
.input_section{
	text-align:center;
	background:#eaebf3;
	padding: 15px;
	border-radius:24px;

}
.flex_center{
	display: flex;
	align-items: center;
}
.input_tile{
	font-weight:600;
	font-size:18px;
	margin-bottom:10px;
}
.input_big{
	width:100%;
	height:50px;
	border-radius:6px;
	font-size:30px;
	border:none;
	color:#44476a;
	text-align:center;
	margin:3px 0;
}
.input_btn_big{
	display: flex;
	align-items: center;
	justify-content: center;
	width:100%;
	height:50px;
	font-size:30px;
	text-align:center;
	background:#44476a;
	color:white;
	border:none;
	border-radius:6px;
	margin-left:10px;
}
.notam{
	font-weight:400;
	margin:10px 10px;
}
.ajax_result{
	width:100%;
}

.result_section{
	margin:  50px 00px 100px 0px;
}
.result_section_in{
	margin:  50px 00px 100px 0px;
	padding:50px;
	text-align:left;
}
.result_title{
	width:100%;
	border-bottom:1px solid #44476a;
	font-size:20px;
	font-weight:600;
	padding-bottom:15px;
}
.result_card{
	width:100%;
	background:#eaebf3;
	border-radius:12px;
	padding:7px;
	
}
.result_card_title{
	width:100%;
	border-bottom:1px dotted #b6b7cd;
	font-size:18px;
	font-weight:600;
	padding-bottom:5px;
	margin-bottom:10px;
}
.result_card_main_content{
	font-weight:700;
	font-size:30px;
}
.result_card_sub_content{
	font-weight:700;
	font-size:20px;
}
.w5{ width: 5%; }
.w10{ width: 10%; }
.w15{ width: 15%; }
.w20{ width: 20%; }
.w25{ width: 25%; }
.w30{ width: 30%; }
.w35{ width: 35%; }
.w40{ width: 40%; }
.w45{ width: 45%; }
.w50{ width: 50%; }
.custom_table{
	margin:10px
}
.custom_table_div{
	/* max-height:500px; */
	overflow-x:auto;
	margin:20px 5px;
}
.custom_table_tr_th{
	background:#eaebf3;
	border-radius:6px;
	text-align:center;
	font-weight:600;
	font-size:14px;
	padding:5px;
}

.custom_table_tr_td{
	background:#ffffff;
	border-radius:6px;
	text-align:center;
	font-weight:600;
	font-size:16px;
	padding:5px;
	padding-bottom:10px;
	margin: 10px 0;
	border-bottom: 1px dotted #dddddd;
}
.type_icon_m{
	background:#607ff0;
	padding:3px;
	border-radius:40px;
	font-size:12px;
	color:white;
}
.type_icon_r{
	background:#6ec574;
	padding:3px;
	border-radius:40px;
	font-size:12px;
	color:white;
}.type_icon_h{
	background:#c56e6e;
	padding:3px;
	border-radius:40px;
	font-size:12px;
	color:white;
}
    /* 전체 화면을 어둡게 만드는 오버레이 */
#loading-overlay,
.global-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	align-items: center;
	justify-content: center;
	z-index: 9999;
	flex-direction: column;
}
#loading-overlay { display: none; }
.global-loading-overlay { display: none; }
.global-loading-overlay.htmx-request { display: flex !important; pointer-events: auto; }
#global-auth-form-container, #auth_form_in_loading, #input_code_area { pointer-events: auto !important; }
.loader_line {
    width: 0;
    height: 4.8px;
    display: inline-block;
    position: relative;
    background: #FFF;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    animation: animFw 8s linear infinite;
}
#now_report {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	display: none; /* 기본적으로 숨김 */
}
#now_report_success {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	display: none; /* 기본적으로 숨김 */
}
#now_report_fail {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	display: none; /* 기본적으로 숨김 */
}#daily_report {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	display: none; /* 기본적으로 숨김 */
}
#daily_report_success {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	display: none; /* 기본적으로 숨김 */
}
#daily_report_fail {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* 반투명 배경 */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	display: none; /* 기본적으로 숨김 */
}
.left-spark::after,
.left-spark::before,
.right-spark::after,
.right-spark::before {
    content: '';
    width: 10px;
    height: 1px;
    background: #FFF;
    position: absolute;
    box-sizing: border-box;
}

/* 오른쪽 불꽃 */
.right-spark::after {
    top: 9px;
    right: -2px;
    opacity: 0;
    transform: rotate(-45deg) translateX(0px);
    animation: coli1 0.3s linear infinite;
}

.right-spark::before {
    top: -4px;
    right: -2px;
    transform: rotate(45deg);
    animation: coli2 0.3s linear infinite;
}

/* 왼쪽 불꽃 */
.left-spark::after {
    top: 9px;
    left: -2px;
    opacity: 0;
    transform: rotate(45deg) translateX(0px);
    animation: coli3 0.3s linear infinite;
}

.left-spark::before {
    top: -4px;
    left: -2px;
    transform: rotate(-45deg);
    animation: coli4 0.3s linear infinite;
}

@keyframes animFw {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes coli1 {
    0% { transform: rotate(-45deg) translateX(0px); opacity: 0.7; }
    100% { transform: rotate(-45deg) translateX(-45px); opacity: 0; }
}

@keyframes coli2 {
    0% { transform: rotate(45deg) translateX(0px); opacity: 1; }
    100% { transform: rotate(45deg) translateX(-45px); opacity: 0.7; }
}

@keyframes coli3 {
    0% { transform: rotate(45deg) translateX(0px); opacity: 0.7; }
    100% { transform: rotate(45deg) translateX(45px); opacity: 0; }
}

@keyframes coli4 {
    0% { transform: rotate(-45deg) translateX(0px); opacity: 1; }
    100% { transform: rotate(-45deg) translateX(45px); opacity: 0.7; }
}
.data_load{
	position:absolute;
	text-align:center;
	top:46%;
	display:block;
	margin:0 auto;
	color:white;
	font-weight:700;
}
.load_time{
	position:absolute;
	top:51.5%;
	display:block;
	margin:0 auto;
	color:white;
}
.loading_content{
	position:absolute;
	text-align:center;
	top:40%;
	display:block;
	margin:0 auto;
	color:white;
	font-weight:700;
}
.btn_check{
	display:block;
	margin:0px 20px;
	border:1px solid white;
	background:none;
	color:white;
	padding:5px 20px;
	border-radius:5px;
}
.btn_check:hover{
	background:white;
	color:black;
	
}
#suggestions {
	background: white;
	border: 1px solid #ccc;
	max-height: 200px;
	overflow-y: auto;
	display: none;
	z-index: 1000;
}

.suggestion-item {
	padding: 8px;
	cursor: pointer;
}

.suggestion-item:hover {
	background: #f0f0f0;
}
.small_name{
	font-size:12px;
	font-weight:300;
}
.middle_name{
	font-size:16px;
}
.rpt-cell-ellipsis {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
}
.rpt-cell-ellipsis:hover { color: #6366f1; text-decoration: none; }
.rpt-cell-code {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 2px;
}

/* 광고그룹 리스트 테이블 - 캠페인/그룹 컬럼 좌측정렬 */
#campaignTableWrap table tbody td:nth-child(1),
#campaignTableWrap table thead th:nth-child(1) {
    text-align: left !important;
    min-width: 240px;
}
#campaignTableWrap table tbody td:nth-child(1) .rpt-cell-ellipsis,
#campaignTableWrap table tbody td:nth-child(1) .rpt-cell-code {
    font-size: 14px;
}
#campaignTableWrap table tbody td:nth-child(1) .rpt-cell-code {
    font-size: 12px;
}
#campaignTableWrap table tbody td:nth-child(2),
#campaignTableWrap table thead th:nth-child(2) {
    text-align: left !important;
    min-width: 100px;
}
.rpt-camp-thumb-link { display: inline-flex; flex-shrink: 0; }
.rpt-camp-thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; border: 1px solid #e5e7eb; }
.rpt-thumb-placeholder { display: inline-block; width: 40px; height: 40px; background: #f3f4f6; border-radius: 6px; }
#campaignTableWrap table th:first-child,
#campaignTableWrap table td:first-child { width: 52px !important; min-width: 52px !important; max-width: 52px !important; padding-left: 6px !important; padding-right: 6px !important; }
.rpt-campaign-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rpt-detail-btn {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s;
}
.rpt-detail-btn:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}
.rpt-camp-budget-input { width: 90px; }
.rpt-camp-roas-input { width: 65px; }
.rpt-camp-pricing-input { width: 90px; }
.rpt-camp-budget-input,
.rpt-camp-roas-input,
.rpt-camp-pricing-input {
    padding: 4px 8px; font-size: 12px; text-align: right;
    border: 1px solid #e5e7eb; border-radius: 4px; background: #fff;
    outline: none;
}
.rpt-budget-input-wrap,
.rpt-roas-input-wrap { display: inline-flex; align-items: center; gap: 2px; }
.rpt-budget-input-wrap .unit,
.rpt-roas-input-wrap .unit { font-size: 11px; color: #9ca3af; }
.rpt-camp-budget-input:focus,
.rpt-camp-roas-input:focus,
.rpt-camp-pricing-input:focus { border-color: #2563eb; }
#campaignTableWrap table thead th:nth-child(1),
#campaignTableWrap table thead th:nth-child(2) {
    text-align: left !important;
    min-width: 120px;
}
.tabel_long_name{
  max-width:400px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100px;
}
.middle_item{
	align-items: center;
	justify-content: center;
	background: #f5f6f8;
	border-radius: 8px;
	padding: 8px 12px;
	margin: 6px 16px 0 16px;
}
.find_condition{
	background:#f8f8f8;
	padding:30px;
}
.contition_tile{
	font-size:18px;
	font-weight:400;
	border-right:1px solid;
	margin-right:10px;
}
.contition_content{
	font-size:18px;
	font-weight:300;
	line-height:30px;
}
.condition_btn{
	width:100%;
	height:40px;
	border-radius:10px;
	border:none;
	background:#44476a;
	color:#fff;font-size:18px;
	font-weight:600;
	margin-top:20px;
}
.group_select{
	width:900px;
	color:#44476a;
	text-align:center;
	border:none;
	border-bottom:1px solid #c0c0c0;
	background:none;
	font-size:20px;
}
.count_select{
		width:50px;
	color:#34a60c;
	text-align:center;
	border:none;
	border-bottom:1px solid #c0c0c0;
	background:none;
	font-size:30px;
}
.cpc_select{
		width:130px;
	color:#34a60c;
	text-align:center;
	border:none;
	border-bottom:1px solid  #c0c0c0;
	background:none;
	font-size:30px;
}
.attention_keyword_dashbox{
	background:#fafafa;
	margin:10px;
	font-size:16px;
	font-weight:500;
	padding:7px 20px;
	border-radius:14px
}
.dash_board_long_btn{
	width:40%;
	padding:3px;margin:10px;
	border:1px solid #44476a;
	background:none;
	color:#44476a;
	font-size:18px;
	border-radius:12px;
}
.dash_board_long_btn:hover{
	background:#44476a;
	color:#fff;
}
.control_name{
	margin: 5px 5px;
	font-size:12px;
	font-weight:600;
	color:#44476a;
}
.attention_keyword{
	font-size:17px;
	font-weight:600;
}
.notice_board{
	width:100%;
	height:100vh;
	background-color:rgba(0,0,0,0.7);
	transform:50;
	position:fixed;
	top:0;
	left:0;
	z-index:9900;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:200px;
}
.notice_pannel{
	width:100%;
	background:#fff;
	padding:20px;
	text-align:center;
}
.important_badge{
	font-size:30px;
}
.notice_title{
	font-weight:600;
	font-size:22px;
	border-bottom: 1px solid;
	padding:10px;
	margin-bottom:20px;
}
.notice_content{
	font-size:18px;
	font-weight:400;
}
.notice_button{
	text-align:right;
}
.never_see_again{
	font-size:12px;
	margin-right:10px;
	border:none;
	color:white;
	background:#44476a;
	padding:3px 10px;;
	font-weight:700;
}
.close_notice{
	font-size:12px;
	margin-right:10px;
	border:none;
	color:white;
	background:#44476a;
	padding:3px 10px;;
	font-weight:700;
}
.model_table{
	width:100%;
	border: 2px solid #f3f3f3;
	border-top: 7px solid #ebebeb;;
	border-bottom: 7px solid #ebebeb;;
	border-radius: 20px;
	background:#f3f3f3;
	padding:5px;
	
}

.model_title{
	padding-right:5px;
	background:#f3f3f3;
	
}
.model_content{
	padding-right:20px;
	background:#f3f3f3;
	border-right: 1px dotted #e2e2e2;
	
}
.thead_tr{
	font-weight:600;
}
.small_tr{
	font-size:14px;
}

.please_delete{
	font-size:40px;
	font-weight:900;
	margin-bottom: 30px;
}
.please_delete_sub{
		font-size:26px;
	font-weight:900;
	margin-bottom: 30px;
}
.emergency_input{
	font-size:16px;
	text-align:center;
	width:100%;
	background:#e6e6e6;
	padding:13px;
	border-radius:30px;
	
}
.emergency_textarea{
		font-size:16px;
	text-align:center;
	width:100%;
	background:#e6e6e6;
	padding:13px;
	border-radius:30px;
	height:200px;
}

.emergency_title{
	font-size:18px;
	font-weight:600;
	margin-bottom:20px;
}
.emergency_content{
	font-size:16px;
}

.edit_cost{

	width:80px;
	text-align:center;
}

.need_sub_div{
	margin-top : 200px;
	text-align: center;
}
.sub_div_box{
	margin:50px;
	border-top:5px solid;
	padding: 50px;
	padding-left:10px;
	padding-right:10px;
}
.befor_after{
	border-right:2px dotted;
}
 .need_sub_div .strong{
	font-weight:700;
}
.need_sub_div .dim{
	background:#efefef;
}

.need_sub_div .pd{
	padding:5px;
	font-size:14px;
}
.account_list{
	font-size:14px;
	border: 1px solid;
	padding:5px;
	margin-top:20px;
}
.need_sub_div .account{
	font-size:16px;
	font-weight:700;
}
.need_sub_div .add_sub_btn{
	background: #44476a;
	color:white;
	
}
.list_zone{
	height:150px;
	transition: height 0.3s ease;
	overflow:hidden;
}
.ads_list_btn{

	margin-left:20px;
	margin-top:50px;
	background:#44476a;
	color:#fff;
	padding:5px 50px;;
	border:none;
	border-radius:10px;
}
.new_model_box{
	background:#f4f4f4;
	padding:10px;
}
.new_model_title{
	font-size:11px;
	font-weight:900;
	text-align:right;
	line-height:22px;
}
.new_model_content{
	font-size:15px;
	text-align:right;
	font-weight:800;
}

.xl_button_zone{
	text-align:left;
	padding:10px 0;
}
.xl_button{
	background:#3bb509;	
	border:none;
	padding:5px 10px;;
	border-radius:10px;
	color:white;
	font-size:12px;
	font-weight:600
}
.import_warning{
	background: #000;
	padding:10px;
}
.import_warning > p{
	font-size:14px;
	font-weight:700;
	color: #3fff00;
}
.log_page_name{
	font-size:20px;
	font-weight:600;
}
.log_page_subtitle{
	font-size:18px;
	font-weight:400;
	margin-bottom:50px;
}
.log_list_date{
	background:#44476a;
	font-size:16px;
	font-weight:600;
	color:white;
	padding:10px;
	
}
.log_list_content{
	padding-top:20px;
	padding-bottom:20px;
	
}
.decrease{
	color:#64c632;
}

.increase{
	color:#ff6e89;
}

/* 주요실적 캘린더 (대시보드) */
.sales-calendar { width: 100%; padding: 10px 0 0; text-align: left; box-sizing: border-box; }
.sales-calendar .calendar-header { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.sales-calendar .calendar-nav { display: flex; align-items: center; gap: 6px; }
.sales-calendar .calendar-nav-btn,
.sales-calendar .calendar-today-btn {
	padding: 6px 14px; border: 1px solid #d1d5db; background: #fff; cursor: pointer;
	border-radius: 6px; font-size: 13px; font-weight: 500; color: #374151;
	transition: all 0.15s ease;
}
.sales-calendar .calendar-nav-btn:hover,
.sales-calendar .calendar-today-btn:hover { background: #f3f4f6; border-color: #9ca3af; }
.sales-calendar .day-weather { font-size: 10px; color: #6b7280; margin-left: 4px; white-space: nowrap; }
.sales-calendar .day-weather .weather-icon { font-size: 12px; margin-right: 2px; }
.sales-calendar .calendar-month-title { font-size: 17px; font-weight: 600; min-width: 110px; text-align: center; color: #111827; letter-spacing: -0.02em; }
.sales-calendar .calendar-totals-wrap { display: grid; grid-template-columns: auto repeat(6, 1fr); gap: 0; padding: 8px 14px; background: #f8f9fb; border: 1px solid #e5e7eb; border-radius: 8px; align-items: center; }
.sales-calendar .calendar-month-totals,
.sales-calendar .calendar-year-totals { display: contents; font-size: 13px; color: #4b5563; }
.sales-calendar .calendar-year-totals .month-total-item,
.sales-calendar .calendar-year-totals .totals-label { border-top: 1px dashed #d1d5db; }
.sales-calendar .totals-label { font-size: 11px; font-weight: 700; color: #6366f1; background: #eef2ff; padding: 4px 8px; border-radius: 4px; white-space: nowrap; justify-self: start; margin-right: 6px; }
.sales-calendar .calendar-year-totals .totals-label { color: #0d9488; background: #f0fdfa; }
.sales-calendar .month-total-item { padding: 5px 8px; white-space: nowrap; }
.sales-calendar .month-total-item strong { font-weight: 700; color: #111827; }
.sales-calendar .item-preparing strong { font-weight: 600; color: #9ca3af; font-size: 11px; }
.sales-calendar .calendar-grid { width: 100%; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04); box-sizing: border-box; }
.sales-calendar .calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: #f9fafb; border-bottom: 1px solid #e5e7eb; }
.sales-calendar .calendar-weekday { padding: 12px 6px; text-align: center; font-size: 11px; font-weight: 600; color: #6b7280; letter-spacing: 0.05em; }
.sales-calendar .calendar-weekday.sun { color: #dc2626; }
.sales-calendar .calendar-weekday.sat { color: #2563eb; }
.sales-calendar .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; }
.sales-calendar .calendar-day {
	min-height: 130px; padding: 8px; border-right: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6;
	display: flex; flex-direction: column; font-size: 11px; color: #374151;
	transition: background 0.15s ease;
}
.sales-calendar .calendar-day:nth-child(7n) { border-right: none; }
.sales-calendar .calendar-day.other-month { background: #fafafa; color: #9ca3af; }
.sales-calendar .calendar-day.other-month .day-num,
.sales-calendar .calendar-day.other-month .day-metric { color: #9ca3af; }
.sales-calendar .calendar-day.yesterday { background: #eff6ff; }
.sales-calendar .calendar-day.clickable { cursor: pointer; }
.sales-calendar .calendar-day.clickable:hover { background: #f8fafc !important; }
.sales-calendar .calendar-day.holiday { background: #fef2f2; }
.sales-calendar .calendar-day.yesterday.holiday { background: #fee2e2; }
.sales-calendar .calendar-day.other-month.holiday { background: #fef7f7; }
.sales-calendar .day-num { font-weight: 600; margin-bottom: 6px; font-size: 12px; color: #1f2937; }
.sales-calendar .day-num.sun { color: #dc2626; }
.sales-calendar .day-num.sat { color: #2563eb; }
.sales-calendar .day-holiday-name { font-size: 9px; color: #dc2626; font-weight: 600; margin-left: 3px; letter-spacing: 0.02em; }
.sales-calendar .day-data { flex: 1; font-size: 10px; line-height: 1.5; }
.sales-calendar .day-metric { margin-bottom: 2px; display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.sales-calendar .day-metric .label { flex-shrink: 0; color: #6b7280; font-weight: 500; }
.sales-calendar .day-metric .val { font-weight: 600; text-align: right; color: #111827; font-size: 11px; }

/* 용어 설명 ? 버튼 + 클릭 툴팁 (공통) */
.help_tip {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 11px; height: 11px; border-radius: 50%; background: none; color: #9ca3af;
	border: 1px solid #9ca3af; font-size: 7px; font-weight: 600; line-height: 1;
	cursor: pointer; margin-left: 2px; vertical-align: middle; user-select: none;
}
.help_tip:hover { color: #4b5563; border-color: #4b5563; }
.help_tip_msg {
	display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	width: 260px; padding: 10px 12px; border-radius: 8px;
	background: #1f2937; color: #f9fafb; font-size: 12px; font-weight: 400;
	line-height: 1.5; white-space: normal; text-align: left;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100;
}
.help_tip_msg::after {
	content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	border: 6px solid transparent; border-top-color: #1f2937;
}
.help_tip.active .help_tip_msg { display: block; }
.help_tip_hover:hover .help_tip_msg { display: block; }

.section-title-more {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	text-decoration: none;
	white-space: nowrap;
	margin-left: 12px;
}
.section-title-more:hover {
	color: #4f46e5;
}

/* 대시보드 2컬럼 카드 - 무실적 키워드 / 급변동 상품 높이 항상 동일 */
.dash-twin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; align-items: stretch; }
.dash-twin-cards > .dash-card { margin-bottom: 0; }
.dash-card { background: #fff; border: 1px solid #dbe2ec; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); margin-bottom: 14px; }
.dash-card:last-child { margin-bottom: 0; }
.rpt-date-bar.dash-card { margin-bottom: 0; }
.dash-card-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #e6ebf2; }
.dash-card-title { font-size: 16px; font-weight: 700; color: #111827; }
.dash-card-more { font-size: 12px; font-weight: 500; color: #9ca3af; text-decoration: none; }
.dash-card-more:hover { color: #6366f1; }
.dash-card-body { padding: 12px 16px; flex: 1; }
.dash-card-empty { color: #9ca3af; font-size: 13px; text-align: center; padding: 20px 0; }

/* 좌: 무실적 키워드 필 형태 */
.dash-kw-pills {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.dash-kw-pill {
    display: inline-block;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 13px; font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.dash-kw-pill:hover {
    background: #e5e7eb;
    color: #111827;
}

/* 우: 주목 상품 그리드 */
.dash-attn-grid { display: flex; flex-direction: column; gap: 0; }
.dash-attn-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f3f4f6; transition: background 0.12s; border-radius: 4px; }
.dash-attn-item:last-child { border-bottom: none; }
.dash-attn-item:hover { background: #f9fafb; }
.dash-attn-label { font-size: 13px; font-weight: 500; color: #374151; }
.dash-attn-val { font-size: 13px; font-weight: 700; display: flex; gap: 10px; }
.dash-attn-val.warn { color: #ef4444; }
.dash-attn-val .up { color: #dc2626; text-decoration: none; }
.dash-attn-val .up:hover { text-decoration: underline; }
.dash-attn-val .down { color: #2563eb; text-decoration: none; }
.dash-attn-val .down:hover { text-decoration: underline; }

/* 대시보드 카드 공통 날짜 */
.dash-card-date { font-size: 12px; font-weight: 400; color: #9ca3af; }

/* 어제자 주요실적 그리드 */
.dash-yesterday-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.dash-yd-item { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border-right: 1px solid #f3f4f6; }
.dash-yd-item:last-child { border-right: none; }
.dash-yd-label { font-size: 12px; font-weight: 600; color: #6b7280; margin-bottom: 8px; }
.dash-yd-value { font-size: 18px; font-weight: 700; color: #111827; }
.dash-yd-unit { font-size: 12px; font-weight: 400; color: #9ca3af; margin-left: 2px; }
.dash-yd-sub { font-size: 11px; color: #9ca3af; margin-top: 6px; }
.dash-yd-delta { font-size: 12px; font-weight: 600; margin-top: 4px; }
.dash-yd-delta .up { color: #dc2626; }
.dash-yd-delta .down { color: #2563eb; }
.dash-yd-delta .flat { color: #6b7280; }

/* 월/연 실적 요약 그리드 */
.dash-summary-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-bottom: 1px solid #f3f4f6; margin-bottom: 20px; }
.dash-sum-item { display: flex; flex-direction: column; align-items: center; padding: 16px 8px; border-right: 1px solid #f3f4f6; }
.dash-sum-item:last-child { border-right: none; }
.dash-sum-label { font-size: 12px; font-weight: 600; color: #6b7280; margin-bottom: 6px; }
.dash-sum-value { font-size: 17px; font-weight: 700; color: #111827; }

/* 차트 + 랭킹 2컬럼 행 */
.dash-chart-rank-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid #f3f4f6; }
.dash-chart-rank-row:last-child { border-bottom: none; }
.dash-sub-title { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 10px; }

/* 랭킹 리스트 */
.dash-rank-list { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-rank-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; width: 90px; }
.dash-rank-item:hover { opacity: 0.8; }
.dash-rank-thumb { position: relative; width: 80px; height: 80px; margin-bottom: 6px; }
.dash-rank-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.dash-rank-badge { position: absolute; top: -5px; left: -5px; font-size: 11px; font-weight: 700; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.dash-rank-badge.red { background: #ef4444; }
.dash-rank-badge.purple { background: #8b5cf6; }
.dash-rank-badge.green { background: #22c55e; }
.dash-rank-val { font-size: 13px; font-weight: 600; color: #374151; text-align: center; }

/* 대시보드 테이블 톤앤매너 오버라이드 */
.dash-card table.dataTable thead th,
.dash-card table.dataTable thead td {
    background: #f9fafb !important; color: #6b7280 !important;
    font-size: 12px !important; font-weight: 600 !important;
    border-bottom: 1px solid #e5e7eb !important; padding: 10px 8px !important;
}
.dash-card table.dataTable tbody td {
    font-size: 13px !important; color: #374151 !important;
    border-bottom: 1px solid #f3f4f6 !important; padding: 10px 8px !important;
}
.dash-card table.dataTable tbody tr.odd { background: #fff !important; }
.dash-card table.dataTable tbody tr.even { background: #fafbfc !important; }
.dash-card table.dataTable tbody tr:hover { background: #f3f4f6 !important; }
.dash-card table.dataTable tbody tr:hover > td { background: #f3f4f6 !important; }
#term_prd_performance_table tbody tr:hover > td,
#term_jet_performance_table tbody tr:hover > td,
#term_direct_performance_table tbody tr:hover > td,
#term_daily_table tbody tr:hover > td { background: #f3f4f6 !important; }
.dash-card table.dataTable { border: none !important; }
.dash-card .dataTables_scrollHead { border: none !important; }
.dash-card .dataTables_scrollBody { border: none !important; border-bottom: 1px solid #f3f4f6 !important; }
.dash-card table.dataTable tbody tr:last-child td { border-bottom: 1px solid #f3f4f6 !important; }
.prd-subheader { background: transparent; }
.prd-section-title { font-size: 14px; font-weight: 600; color: #374151; }
.prd-table-guide {
	font-size: 11px;
	color: #6b7280;
	margin: 0 0 8px;
}
.prd-table-scroll-wrap { max-height: 500px; overflow: auto; transition: max-height 0.2s ease; cursor: auto; }
.prd-table-scroll-wrap.expanded { max-height: 800px; }
.prd-table-scroll-wrap.dragging { cursor: grabbing; user-select: none; }
.prd-table-actions { display: flex; justify-content: stretch; width: 100%; margin-top: 10px; }
.prd-expand-btn {
	width: 100%;
	padding: 8px 14px; border: 1px solid #d1d5db; border-radius: 6px;
	background: #fff; color: #4b5563; font-size: 12px; font-weight: 600;
	cursor: pointer; transition: all 0.12s ease;
}
.prd-expand-btn:hover { background: #f3f4f6; border-color: #9ca3af; color: #111827; }
.rpt-excel-btn {
	width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid #16a34a; border-radius: 6px;
	background: #fff; color: #16a34a; font-size: 14px;
	cursor: pointer; transition: all 0.12s ease;
}
.rpt-excel-btn:hover { background: #16a34a; color: #fff; }
.rpt-copy-btn {
	width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid #6b7280; border-radius: 6px;
	background: #fff; color: #6b7280; font-size: 14px;
	cursor: pointer; transition: all 0.12s ease;
}
.rpt-copy-btn:hover { background: #f3f4f6; color: #374151; border-color: #9ca3af; }
.rpt-kw-filter-btns { display: flex; align-items: center; gap: 6px; margin-right: auto; margin-left: 12px; }
.rpt-keyword-header-actions { display: flex; align-items: center; gap: 8px; }
.rpt-keyword-card .prd-table-scroll-wrap { max-height: 520px; }
.rpt-keyword-card .prd-table-scroll-wrap.expanded { max-height: 800px; }
.rpt-black-keyword-card .prd-table-scroll-wrap { max-height: 500px; }
.rpt-search-keyword-card .prd-table-scroll-wrap { max-height: 520px; }
.rpt-search-keyword-card .prd-table-scroll-wrap.expanded { max-height: 800px; }
.rpt-search-kw-toolbar .rpt-search-kw-toolbar-left {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.rpt-search-kw-toolbar .sel_all { margin-right: 4px; }
.rpt-search-kw-toolbar .sel_all label { margin-right: 0; cursor: pointer; font-size: 12px; color: #374151; }
.rpt-search-kw-toolbar .cpc_con_btn {
	background: #fff; cursor: pointer; transition: all 0.12s ease;
}
.rpt-search-kw-toolbar .cpc_con_btn:hover { background: #f3f4f6; border-color: #9ca3af; }

/* ── 보고서 탭 ── */
.rpt-tab-bar { display: flex; gap: 4px; flex-wrap: wrap; }
.rpt-tab {
	padding: 5px 14px; border: 1px solid #e5e7eb; border-radius: 6px;
	background: #fff; color: #6b7280; font-size: 12px; font-weight: 500;
	cursor: pointer; transition: all 0.12s ease;
}
.rpt-tab:hover { background: #f3f4f6; color: #374151; border-color: #d1d5db; }
.rpt-tab.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.rpt-tab-panel { display: none; }
.rpt-tab-panel.active { display: block; }

/* ── 보고서 테이블 툴바 ── */
.rpt-table-toolbar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 10px; margin-bottom: 8px;
}
.rpt-table-search {
	display: flex; align-items: center; gap: 6px;
	border: 1px solid #e5e7eb; border-radius: 6px; padding: 4px 10px;
	background: #fff; flex: 0 1 240px;
}
.rpt-table-search i { color: #9ca3af; font-size: 12px; }
.rpt-table-search input {
	border: none; outline: none; font-size: 12px; color: #374151;
	background: transparent; width: 100%;
}
.rpt-table-search input::placeholder { color: #d1d5db; }
.rpt-table-toolbar-right {
	display: flex; align-items: center; gap: 8px;
}
.rpt-table-paging-top { padding: 0; }
.rpt-table-page-size select {
	border: 1px solid #e5e7eb; border-radius: 6px; padding: 4px 8px;
	font-size: 12px; color: #374151; background: #fff; cursor: pointer;
	outline: none;
}
.rpt-table-page-size select:focus { border-color: #2563eb; }

/* ── 페이지네이션 스타일 ── */
.rpt-table-paging { display: flex; justify-content: center; align-items: center; gap: 2px; padding: 10px 0 0; flex-wrap: wrap; }
.rpt-table-paging-top { padding: 0; }
.rpt-pg-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 28px; height: 28px; padding: 0 6px;
	border: 1px solid #e5e7eb; border-radius: 4px;
	font-size: 12px; color: #6b7280; background: #fff;
	cursor: pointer; transition: all 0.1s; user-select: none;
}
.rpt-pg-btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.rpt-pg-btn.current { background: #2563eb; color: #fff; border-color: #2563eb; }
.rpt-pg-btn.disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.rpt-pg-info { font-size: 12px; color: #9ca3af; margin-right: 6px; white-space: nowrap; }
#termDailyTableWrap { overflow: auto; }
#termDailyTableWrap table { width: max-content !important; min-width: 100%; }
#term_daily_table th:first-child,
#term_daily_table td:first-child {
	position: sticky !important; left: 0 !important; z-index: 3 !important;
	background: #fff !important;
}
#term_daily_table thead th:first-child {
	top: 0 !important; left: 0 !important; z-index: 4 !important;
	background: #f9fafb !important;
}

/* 상품코드별 - 등록상품(1열) 고정 */
#term_prd_performance_table th:first-child,
#term_prd_performance_table td:first-child {
	position: sticky !important; left: 0 !important; z-index: 3 !important;
	background: #fff !important;
}
#term_prd_performance_table thead th:first-child {
	top: 0 !important; left: 0 !important; z-index: 4 !important;
	background: #f9fafb !important;
}

/* 제트/판매자배송 - 등록상품(1열)+옵션명(2열) 고정 */
#term_jet_performance_table th:nth-child(1),
#term_jet_performance_table td:nth-child(1),
#term_direct_performance_table th:nth-child(1),
#term_direct_performance_table td:nth-child(1) {
	position: sticky !important; left: 0 !important; z-index: 3 !important;
	background: #fff !important; min-width: 280px; max-width: 280px; width: 280px;
}
#term_jet_performance_table th:nth-child(2),
#term_jet_performance_table td:nth-child(2),
#term_direct_performance_table th:nth-child(2),
#term_direct_performance_table td:nth-child(2) {
	position: sticky !important; left: 280px !important; z-index: 3 !important;
	background: #fff !important; border-right: 1px solid #e5e7eb;
}
#term_jet_performance_table thead th:nth-child(1),
#term_direct_performance_table thead th:nth-child(1) {
	top: 0 !important; left: 0 !important; z-index: 4 !important;
	background: #f9fafb !important;
}
#term_jet_performance_table thead th:nth-child(2),
#term_direct_performance_table thead th:nth-child(2) {
	top: 0 !important; left: 280px !important; z-index: 4 !important;
	background: #f9fafb !important; border-right: 1px solid #e5e7eb;
}

/* 성과 테이블 래퍼 가로 스크롤 */
#prdPerfTableWrap, #jetPerfTableWrap, #directPerfTableWrap { overflow: auto; }
#prdPerfTableWrap table, #jetPerfTableWrap table, #directPerfTableWrap table { width: max-content !important; min-width: 100%; }
.prd-table-scroll-wrap thead th {
	position: sticky !important; top: 0 !important; z-index: 2 !important;
	background: #f9fafb !important;
}
/* 광고 통합성과 일간 데이터: 헤더·데이터 정렬 통일 */
#ads_main_daily_table thead th:first-child,
#ads_main_daily_table tbody td:first-child { text-align: left !important; }
#ads_main_daily_table thead th:nth-child(n+2),
#ads_main_daily_table tbody td:nth-child(n+2) { text-align: right !important; }
.dash-card table.dataTable thead th span.dt-column-order { display: none !important; }
.prd-item-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.prd-thumb-link { display: inline-flex; flex-shrink: 0; }
.prd-thumb-mini { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; border: 1px solid #e5e7eb; }
.prd-name-cell { text-align: left; min-width: 0; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prd-name-cell a { color: #374151; text-decoration: none; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.prd-name-cell a:hover { color: #6366f1; }
.prd-code-mini { display: block; font-size: 10px; color: #9ca3af; margin-bottom: 2px; }
.dash-card table.dataTable thead th::before,
.dash-card table.dataTable thead th::after { display: none !important; }

/* 수치 컬럼 우측정렬 (상품명·캠페인명·키워드 등 텍스트 컬럼 제외) */
.dash-card table.dataTable thead th,
.dash-card table.dataTable tbody td { text-align: right !important; }
/* 텍스트 컬럼(1열) 헤더·데이터 좌측정렬 - DataTables scrollHead 포함 */
.dash-card table.dataTable thead th:first-child,
.dash-card table.dataTable tbody td:first-child,
.dash-card .dataTables_scrollHead table thead th:first-child { text-align: left !important; }
.dash-card table.dataTable thead th.dt-left,
.dash-card table.dataTable thead th.text-left,
.dash-card table.dataTable tbody td.dt-left,
.dash-card table.dataTable tbody td.text-left,
.dash-card .dataTables_scrollHead table thead th.dt-left,
.dash-card .dataTables_scrollHead table thead th.text-left { text-align: left !important; }
/* 제트/판매자배송 - 2열(옵션명)도 텍스트 */
#term_jet_performance_table thead th:nth-child(2),
#term_jet_performance_table tbody td:nth-child(2),
#term_direct_performance_table thead th:nth-child(2),
#term_direct_performance_table tbody td:nth-child(2),
.dash-card .dataTables_scrollHead #term_jet_performance_table thead th:nth-child(2),
.dash-card .dataTables_scrollHead #term_direct_performance_table thead th:nth-child(2) { text-align: left !important; }
.dash-card table.dataTable thead th.row_date,
.dash-card table.dataTable tbody td.row_date { text-align: center !important; }
.dash-card table.dataTable thead th.text-center,
.dash-card table.dataTable thead th.dt-center,
.dash-card table.dataTable tbody td.text-center,
.dash-card table.dataTable tbody td.dt-center { text-align: center !important; }
/* 키워드 컬럼 가운데 정렬 */
.dash-card table.dataTable thead th.rpt-keyword-col,
.dash-card table.dataTable tbody td.rpt-keyword-col,
.dash-card .dataTables_scrollHead table thead th.rpt-keyword-col { text-align: center !important; }
/* 옵션명 컬럼 좌측 정렬 */
.dash-card table.dataTable thead th.rpt-optname-col,
.dash-card table.dataTable tbody td.rpt-optname-col,
.dash-card .dataTables_scrollHead table thead th.rpt-optname-col { text-align: left !important; }

/* 상품 상세보고서 테이블 공통 - 수치 우측정렬, 텍스트 좌측정렬 */
#dtlDailyTableWrap table, #dtlOptTableWrap table, #dtlStockCostWrap table { width: max-content !important; min-width: 100%; }
#dtlDailyTableWrap table thead th,
#dtlOptTableWrap table thead th,
#dtlStockCostWrap table thead th {
	text-align: right !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
}
#dtlDailyTableWrap table tbody td,
#dtlOptTableWrap table tbody td,
#dtlStockCostWrap table tbody td {
	text-align: right !important;
	white-space: nowrap !important;
}
#dtlDailyTableWrap table thead th:first-child,
#dtlDailyTableWrap table tbody td:first-child {
	text-align: center !important;
	font-weight: 600 !important;
}
#dtlOptTableWrap table thead th:first-child,
#dtlOptTableWrap table tbody td:first-child,
#dtlStockCostWrap table thead th:first-child,
#dtlStockCostWrap table tbody td:first-child {
	text-align: left !important;
}
#dtlDailyTableWrap table thead th:first-child,
#dtlDailyTableWrap table tbody td:first-child,
#dtlOptTableWrap table thead th:first-child,
#dtlOptTableWrap table tbody td:first-child,
#dtlStockCostWrap table thead th:first-child,
#dtlStockCostWrap table tbody td:first-child {
	position: sticky !important;
	left: 0 !important;
	z-index: 3 !important;
	background: #f9fafb !important;
}
#dtlDailyTableWrap table thead th,
#dtlOptTableWrap table thead th,
#dtlStockCostWrap table thead th {
	position: sticky !important;
	top: 0 !important;
	z-index: 2 !important;
	background: #f9fafb !important;
	box-shadow: 0 1px 0 0 #e5e7eb;
}
#dtlDailyTableWrap table thead th:first-child,
#dtlOptTableWrap table thead th:first-child,
#dtlStockCostWrap table thead th:first-child {
	z-index: 4 !important;
}
#dtlDailyTableWrap table tbody td:first-child,
#dtlOptTableWrap table tbody td:first-child,
#dtlStockCostWrap table tbody td:first-child {
	background: #fff !important;
}
#dtlDailyTableWrap table tbody tr.even td:first-child,
#dtlOptTableWrap table tbody tr.even td:first-child {
	background: #fafbfc !important;
}
#dtlDailyTableWrap table tbody tr:hover td:first-child,
#dtlOptTableWrap table tbody tr:hover td:first-child,
#dtlStockCostWrap table tbody tr:hover td:first-child {
	background: #f3f4f6 !important;
}

/* 사이드바 스크롤바 */
.left_menusection::-webkit-scrollbar { width: 4px; }
.left_menusection::-webkit-scrollbar-track { background: transparent; }
.left_menusection::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }
.left_menusection::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* 사이드바 링크 리셋 */
.left_menu_div a { text-decoration: none; display: block; }

/* term_report.html 전용 여백/타이틀 */
.rpt-page {
	margin-top: 0;
	padding: 0;
}
.rpt-page .sec_report {
	margin-top: 0;
}
.rpt-page-title {
	font-size: 20px;
	font-weight: 800;
	color: #111827;
	margin: 0;
	line-height: 1.2;
}
.rpt-page-desc {
	font-size: 11px;
	color: #9ca3af;
	margin: 3px 0 0;
	font-weight: 400;
}
.rpt-campaign-title {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin: 0;
	line-height: 1.3;
}
.rpt-group-name {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	margin: 4px 0 0 0;
	line-height: 1.2;
}
.rpt-dtl-header-codes {
	font-size: 11px;
	font-weight: 400;
	color: #9ca3af;
	margin: 4px 0 0 0;
	line-height: 1.3;
}

/* ── 보고서 날짜 선택 바 ── */
.rpt-date-bar {
	padding: 10px 18px;
	position: fixed;
	top: 48px;
	left: 200px;
	right: 0;
	z-index: 5;
	border-radius: 0;
	border-top: none;
	border-left: none;
	border-right: none;
}
.rpt-date-bar-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}
/* 광고그룹 상세: 서브메뉴를 날짜/월·연도 아래로 */
.rpt-date-bar-inner:has(.rpt-date-bar-top) {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}
.rpt-date-bar-top {
	display: flex;
	align-items: center;
	gap: 24px;
}
.rpt-date-bar-top .rpt-date-title {
	flex-shrink: 0;
	min-width: 390px;
}
.rpt-date-bar-top .rpt-page-title,
.rpt-date-bar-top .rpt-group-name,
.rpt-date-bar-top .rpt-campaign-title {
	max-width: 320px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rpt-date-title {
	flex-shrink: 0;
}
.rpt-date-controls {
	flex: 1;
	min-width: 0;
}
.rpt-date-bar-spacer {
	height: 120px;
}
.rpt-date-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 4px;
}
.rpt-date-row:last-child {
	margin-bottom: 0;
}
.rpt-date-btn {
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	color: #4b5563;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	cursor: pointer;
	transition: all .15s ease;
	white-space: nowrap;
}
.rpt-date-btn:hover {
	background: #e5e7eb;
	color: #111827;
}
.rpt-date-btn.active {
	background: #3b82f6;
	color: #fff;
	border-color: #3b82f6;
	font-weight: 600;
}
.rpt-date-picker {
	background: #fff;
	border: 1px solid #d1d5db;
	font-weight: 600;
	color: #111827;
}
.rpt-date-picker:hover {
	background: #f9fafb;
}
.rpt-date-picker.active {
	background: #3b82f6;
	color: #fff;
	border-color: #3b82f6;
}
.rpt-date-nav {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #6b7280;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	cursor: pointer;
	transition: all .15s ease;
	padding: 0;
}
.rpt-date-nav:hover {
	background: #e5e7eb;
	color: #111827;
}
.rpt-date-range {
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #111827;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	cursor: pointer;
	transition: all .15s ease;
	white-space: nowrap;
}
.rpt-date-range:hover {
	background: #f9fafb;
	border-color: #9ca3af;
}
.rpt-date-sep {
	width: 1px;
	height: 20px;
	background: #d1d5db;
	margin: 0 6px;
}
.rpt-date-divider {
	color: #d1d5db;
	font-size: 14px;
	margin: 0 4px;
	user-select: none;
}

/* ── 보고서 메인 2컬럼 레이아웃 ── */
.rpt-main-layout {
	display: grid;
	grid-template-columns: 1fr 25%;
	gap: 14px;
	margin-bottom: 14px;
	align-items: stretch;
}
.rpt-main-layout .rpt-right-col {
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}
.rpt-main-layout .rpt-right-col .dash-card-body {
	overflow-y: auto;
	flex: 1;
	min-height: 0;
}
.rpt-left-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
.rpt-chart-wrap {
	width: 100%;
	height: 280px;
	min-width: 0;
	position: relative;
}
.rpt-kpi-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-items: stretch;
}
.rpt-kpi-grid > .dash-card {
	margin-bottom: 0;
}
.rpt-campaign-name-top {
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	background: #f8fafc;
	border: 1px solid #e6ebf2;
	border-radius: 10px;
	margin-bottom: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rpt-ads-kpi-row {
	margin-bottom: 14px;
}
/* 광고그룹 KPI: 운영/실행지표 좁게, 노출채널 넓게 */
.rpt-ads-kpi-uneven {
	grid-template-columns: 1fr 1fr 2fr;
}
.rpt-setting-card .dash-card-body {
	padding: 12px 16px;
}
.rpt-channel-full-card .dash-card-body {
	padding: 12px 16px;
}
.rpt-channel-full-card .rpt-channel-table {
	table-layout: auto;
}
.rpt-channel-table {
	width: 100%;
	font-size: 13px;
	border-collapse: collapse;
}
.rpt-channel-table th,
.rpt-channel-table td {
	padding: 8px 12px;
	border-bottom: 1px solid #f3f4f6;
}
.rpt-channel-table th {
	font-weight: 600;
	color: #6b7280;
	background: #f9fafb;
}
.rpt-channel-table td {
	color: #374151;
}
.rpt-channel-table .unit {
	font-size: 11px;
	font-weight: 400;
	color: #9ca3af;
	margin-left: 2px;
}
.rpt-channel-table .rpt-channel-sub {
	font-size: 11px;
	color: #9ca3af;
	font-weight: 400;
}
.rpt-channel-table tbody tr.rpt-channel-total-row {
	background: #f9fafb;
	font-weight: 600;
}
.rpt-channel-table tbody tr.rpt-channel-total-row td {
	border-top: 1px solid #f3f4f6;
}
.rpt-channel-table tbody tr:last-child td {
	border-bottom: 1px solid #f3f4f6 !important;
}
.rpt-channel-full-card .prd-table-scroll-wrap {
	border-bottom: 1px solid #f3f4f6 !important;
	max-height: 500px;
}
.rpt-channel-full-card .prd-table-scroll-wrap.expanded { max-height: 800px; }

/* ── 광고세팅 히스토리 테이블 (이미지 테이블, 오더링 없음) ── */
.rpt-log-scroll { max-height: 400px; overflow: auto; }
.rpt-log-scroll.expanded { max-height: 800px; }
.rpt-log-table {
	width: 100%;
	font-size: 13px;
	border-collapse: collapse;
	border: none;
}
.rpt-log-table th,
.rpt-log-table td {
	padding: 10px 12px;
	border: 1px solid #f3f4f6;
	vertical-align: top;
}
.rpt-log-table thead th {
	background: #f9fafb;
	font-weight: 600;
	color: #6b7280;
	text-align: center;
}
.rpt-log-table .rpt-log-th-date,
.rpt-log-table .rpt-log-th-content { text-align: left; }
.rpt-log-table .rpt-log-th-content {
	max-width: 400px;
}
.rpt-log-table .rpt-log-th-group { font-size: 12px; }
.rpt-log-table .rpt-log-th-sub {
	font-weight: 500;
	font-size: 11px;
	color: #9ca3af;
}
.rpt-log-table tbody td {
	color: #374151;
	background: #fff;
}
.rpt-log-table .rpt-log-td-date {
	font-weight: 600;
	color: #374151;
	white-space: nowrap;
	text-align: left;
}
.rpt-log-table .rpt-log-td-date .rpt-event-row-actions {
	justify-content: flex-start;
}
.rpt-log-table .rpt-log-td-content {
	text-align: left;
	min-width: 0;
	max-width: 400px;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.rpt-log-table .rpt-log-td-num {
	text-align: right;
	white-space: nowrap;
}
.rpt-log-table .rpt-log-td-delta {
	text-align: right;
	white-space: nowrap;
}
.rpt-log-table .rpt-log-th-compare {
	text-align: left;
	min-width: 680px;
	width: 680px;
	max-width: none;
	vertical-align: middle;
	font-size: 12px;
	box-sizing: border-box;
}
.rpt-log-table .rpt-log-td-compare {
	text-align: left;
	vertical-align: top;
	min-width: 680px;
	width: 680px;
	max-width: none;
	box-sizing: border-box;
}
.rpt-event-compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	align-items: start;
}
@media (max-width: 1100px) {
	.rpt-event-compare-grid {
		grid-template-columns: 1fr;
	}
}
.rpt-event-compare-col {
	min-width: 0;
}
.rpt-event-compare-col-title {
	font-size: 12px;
	font-weight: 700;
	color: #374151;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid #e5e7eb;
}
.rpt-event-compare-col-hint {
	font-size: 10px;
	color: #9ca3af;
	margin: -4px 0 8px;
	line-height: 1.4;
}
.rpt-event-compare-line {
	font-size: 12px;
	line-height: 1.55;
	margin-bottom: 6px;
	color: #374151;
	word-break: keep-all;
}
.rpt-event-compare-line:last-child {
	margin-bottom: 0;
}
.rpt-ec-label {
	font-weight: 600;
	color: #4b5563;
}
.rpt-ec-text {
	font-weight: 400;
}
.rpt-ec-delta {
	margin-left: 2px;
	font-weight: 600;
	white-space: nowrap;
}
/* 광고세팅 히스토리(.increase / .decrease)와 동일 색 */
.rpt-ec-delta.increase {
	color: #ff6e89;
}
.rpt-ec-delta.decrease {
	color: #64c632;
}
.rpt-ec-delta.neutral {
	color: #9ca3af;
	font-weight: 500;
}
.rpt-event-compare-empty {
	font-size: 12px;
	color: #9ca3af;
	padding: 4px 0;
}
.rpt-log-table .rpt-log-list {
	margin: 0;
	padding-left: 18px;
	font-size: 12px;
	color: #6b7280;
	line-height: 1.6;
}
.rpt-log-table .rpt-log-list li { margin-bottom: 4px; }
.rpt-log-table .rpt-log-list li:last-child { margin-bottom: 0; }
.rpt-log-table .unit { font-size: 11px; color: #9ca3af; margin-left: 2px; }
/* 이벤트 메모 — 옵션 썸네일 · 폼 */
.dtl-event-label { font-size: 13px; font-weight: 600; color: #6b7280; padding-top: 6px; }
/* 이벤트 메모 등록 — 설명문 좌측 정렬 */
.rpt-event-reg-desc {
	text-align: left;
	margin-bottom: 12px;
	font-size: 12px;
	color: #6b7280;
	line-height: 1.6;
	width: 100%;
	box-sizing: border-box;
}
/* 이벤트 메모 — 동기화 결과 알림 */
.rpt-event-sync-notice {
	margin-bottom: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}
.rpt-event-sync-notice--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
}
.rpt-event-sync-notice--info {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
}
.rpt-event-sync-notice--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}
/* 이벤트 메모 히스토리 — 동기화·도움말 */
.rpt-event-sync-btn {
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 8px;
	border: 1px solid #c7d2fe;
	background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
	color: #4338ca;
	cursor: pointer;
	white-space: nowrap;
}
.rpt-event-sync-btn:hover {
	background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
	border-color: #818cf8;
}
.rpt-event-sync-help-details {
	position: relative;
	display: inline-block;
}
.rpt-event-sync-help-details summary {
	list-style: none;
	cursor: pointer;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid #d1d5db;
	background: #f9fafb;
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	user-select: none;
}
.rpt-event-sync-help-details summary::-webkit-details-marker {
	display: none;
}
.rpt-event-sync-help-details summary:hover {
	border-color: #9ca3af;
	background: #f3f4f6;
	color: #374151;
}
.rpt-event-sync-help-body {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	z-index: 20;
	margin: 0;
	min-width: 220px;
	max-width: min(320px, 90vw);
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 500;
	color: #374151;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* 적용 옵션 — 라디오 우측 정렬 + 선택(액티브) 필 */
.rpt-event-scope-cell {
	width: 100%;
	min-width: 0;
	justify-self: stretch;
}
.rpt-event-scope-radios {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}
.rpt-event-scope-modal-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.rpt-event-scope-modal-label {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	flex-shrink: 0;
}
.rpt-event-scope-modal-row .rpt-event-scope-radios {
	flex: 1;
	justify-content: flex-start;
	min-width: 0;
}
.rpt-event-scope-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	margin: 0;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #fafafa;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	user-select: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.rpt-event-scope-pill input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}
.rpt-event-scope-pill span {
	pointer-events: none;
}
.rpt-event-scope-pill:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
}
.rpt-event-scope-pill:has(input:checked) {
	background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
	border-color: #818cf8;
	color: #4338ca;
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(99, 102, 241, 0.15);
}
.rpt-event-scope-pill:has(input:focus-visible) {
	outline: 2px solid #6366f1;
	outline-offset: 2px;
}
.rpt-event-opt-wrap { max-width: 100%; }
.rpt-event-opt-hint { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.rpt-event-opt-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-height: 220px;
	overflow: auto;
	padding: 8px;
	border: 1px solid #f3f4f6;
	border-radius: 8px;
	background: #fafafa;
}
.rpt-event-opt-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #4b5563;
	cursor: pointer;
	max-width: 100%;
}
.rpt-event-opt-thumb {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	flex-shrink: 0;
}
/* 이벤트 메모 열: 긴 문자열로 가로로 무한히 늘어나지 않도록 */
.rpt-event-content-cell {
	max-width: 400px;
	overflow-wrap: anywhere;
	word-break: break-word;
	box-sizing: border-box;
}
.rpt-event-memo-text {
	font-size: 13px;
	color: #374151;
	line-height: 1.5;
	margin-bottom: 8px;
	white-space: pre-wrap;
	word-break: break-word;
}
.rpt-event-thumb-wrap {
	width: 100%;
	min-width: 0;
}
.rpt-event-thumb-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
	justify-items: start;
	width: 100%;
	box-sizing: border-box;
}
.rpt-event-thumb-more {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	margin-top: 8px;
	line-height: 1.3;
}
.rpt-event-thumb-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 4px;
	max-width: 100%;
	min-width: 0;
	font-size: 10px;
	color: #6b7280;
	text-align: left;
	line-height: 1.3;
}
.rpt-event-thumb-cell img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #f3f4f6;
}
.rpt-event-meta { font-size: 11px; color: #9ca3af; margin-top: 8px; }
.rpt-event-row-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
}
.rpt-event-edit-btn,
.rpt-event-del-btn {
	box-sizing: border-box;
	min-height: 28px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	border-radius: 6px;
	border-width: 1px;
	border-style: solid;
	margin: 0;
	vertical-align: middle;
}
.rpt-event-edit-btn {
	color: #4f46e5;
	background: #eef2ff;
	border-color: #c7d2fe;
}
.rpt-event-edit-btn:hover { background: #e0e7ff; }
.rpt-event-del-form {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	border: none;
	vertical-align: middle;
}
.rpt-event-del-btn {
	color: #b91c1c;
	background: #fef2f2;
	border-color: #fecaca;
}
.rpt-event-del-btn:hover { background: #fee2e2; }
.rpt-log-table .rpt-log-th-window {
	text-align: center;
	width: 260px;
	max-width: 260px;
	min-width: 260px;
	vertical-align: middle;
	box-sizing: border-box;
}
.rpt-log-table .rpt-log-td-window {
	width: 260px;
	max-width: 260px;
	min-width: 260px;
	vertical-align: top;
	font-size: 12px;
	box-sizing: border-box;
}
.rpt-log-table .rpt-log-td-window .rpt-event-window-range {
	margin-left: 0;
	overflow-wrap: anywhere;
}
.rpt-event-window-form {
	margin: 0;
	padding: 0;
}
.rpt-event-window-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}
.rpt-event-window-line:last-child { margin-bottom: 0; }
.rpt-event-window-line-stack {
	flex-wrap: wrap;
	align-items: flex-start;
}
.rpt-event-window-pair {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}
.rpt-event-window-pair-row {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}
.rpt-event-window-sublabel {
	font-size: 11px;
	color: #6b7280;
	flex-shrink: 0;
	white-space: nowrap;
	margin-left: 2px;
}
.rpt-event-window-label {
	color: #6366f1;
	font-weight: 600;
	font-size: 11px;
	min-width: 28px;
}
.rpt-event-window-sel {
	flex: 1;
	min-width: 0;
	padding: 4px 6px;
	font-size: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
	color: #374151;
}
.rpt-event-window-range {
	font-size: 11px;
	color: #6b7280;
	line-height: 1.35;
	margin: 2px 0 10px 34px;
	word-break: keep-all;
}
.rpt-log-table tbody tr:last-child td {
	border-bottom: 1px solid #f3f4f6 !important;
}
.rpt-right-col {
	min-width: 0;
}
.rpt-right-col .dash-card-body {
	overflow-y: auto;
}
.rpt-kpi-row {
	display: grid;
	grid-template-columns: 1fr 180px 160px;
	align-items: baseline;
	padding: 6px 0;
	border-bottom: 1px solid #f3f4f6;
}
.rpt-kpi-row:last-child { border-bottom: none; }
.rpt-kpi-row.main { padding: 8px 0; }
.rpt-kpi-row.main .rpt-kpi-label { font-weight: 700; color: #111827; }
.rpt-kpi-row.main .rpt-kpi-value { font-size: 18px; }
.rpt-kpi-label {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	white-space: nowrap;
}
.rpt-kpi-value {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
	text-align: right;
}
.rpt-kpi-value small {
	font-size: 11px;
	font-weight: 400;
	color: #9ca3af;
	margin-left: 2px;
}
.rpt-kpi-sub {
	font-size: 11px;
	color: #9ca3af;
	white-space: nowrap;
	text-align: right;
}

/* ── 상세 마진구조 카드 ── */
.rpt-margin-body {
	padding: 10px 16px 12px !important;
}
.rpt-margin-group {
	margin-bottom: 8px;
}
.rpt-margin-group:last-of-type { margin-bottom: 4px; }
.rpt-margin-head {
	display: grid;
	grid-template-columns: 1fr auto 38px;
	align-items: baseline;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #111827;
	padding: 4px 0;
	border-bottom: 1px solid #e5e7eb;
}
.rpt-margin-head span:first-child { min-width: 0; text-align: left; }
.rpt-margin-head span:nth-child(2) { text-align: right; white-space: nowrap; }
.rpt-margin-head .rpt-margin-rate { margin-left: 0; }
.rpt-margin-sub {
	display: grid;
	grid-template-columns: 1fr auto 38px;
	align-items: baseline;
	gap: 6px;
	font-size: 11px;
	color: #6b7280;
	padding: 2px 0 2px 10px;
}
.rpt-margin-sub > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpt-margin-body .help_tip { flex-shrink: 0; }
.rpt-page .help_tip_msg {
	position: fixed;
	left: auto;
	right: auto;
	bottom: auto;
	transform: none;
}
.rpt-margin-sub span:nth-child(2) { font-weight: 600; color: #374151; text-align: right; white-space: nowrap; flex-shrink: 0; }
.rpt-margin-rate {
	font-size: 10px;
	color: #9ca3af;
	white-space: nowrap;
	min-width: 38px;
	text-align: right;
	flex-shrink: 0;
}
.rpt-margin-final .rpt-margin-head {
	color: #2563eb;
	border-bottom-color: #bfdbfe;
}
.rpt-margin-pie-wrap {
	display: flex; align-items: stretch; gap: 6px;
	margin-top: 8px; padding-top: 8px; border-top: 1px solid #f3f4f6;
}
.rpt-margin-pie-chart {
	width: 120px; height: 120px; flex-shrink: 0;
}
.rpt-main-layout .rpt-margin-pie-chart {
	width: 135px; height: 135px;
}
.rpt-margin-pie-chart canvas { width: 100% !important; height: 100% !important; }
.rpt-margin-pie-legend {
	display: flex; flex-direction: column; justify-content: center; gap: 2px;
	margin: 0; padding: 0 0 0 10px; list-style: none; font-size: 10px; color: #374151;
}
.rpt-margin-pie-legend li { display: flex; align-items: center; gap: 6px; }
.rpt-pie-legend-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.rpt-margin-note {
	font-size: 11px;
	color: #9ca3af;
	margin: 6px 0 0;
	line-height: 1.4;
}

/* ── 차트 카드 토글 버튼 영역 ── */
.rpt-chart-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
}
.rpt-chart-btns .chart_btn {
	padding: 2px 6px;
	font-size: 11px;
	margin: 0;
}

/* ══════════════════════════════════════════════════
   관리필요 상품 (att-) 스타일
   ══════════════════════════════════════════════════ */

/* 고정바 내 컨트롤 영역 */
.att-bar-controls { flex: 1; min-width: 0; }

/* 기준 설정 폼 */
.att-criteria {
	background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 6px;
	padding: 6px 12px;
	font-size: 12px; color: #4b5563; line-height: 2;
}
.att-criteria form { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.att-criteria span { white-space: nowrap; }
.att-criteria-input {
	width: 64px; padding: 3px 6px; border: 1px solid #d1d5db; border-radius: 5px;
	font-size: 12px; text-align: center; background: #fff;
	transition: border-color 0.15s;
}
.att-criteria-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.12); }
.att-criteria-btn {
	margin-left: 8px; padding: 4px 12px; border: none; border-radius: 5px;
	background: #6366f1; color: #fff; font-size: 11px; font-weight: 600;
	cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.att-criteria-btn:hover { background: #4f46e5; }

/* 상품 카드 그리드 */
.att-result-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.att-empty {
	grid-column: 1 / -1;
	text-align: center; padding: 48px 20px;
	color: #9ca3af; font-size: 14px;
}

/* 개별 상품 카드 */
.att-prd-card {
	display: block; text-decoration: none; color: inherit;
	background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
	padding: 14px; transition: all 0.15s;
}
.att-prd-card:hover {
	border-color: #c7d2fe; box-shadow: 0 2px 8px rgba(99,102,241,.10);
	transform: translateY(-1px);
}

/* 카드 헤더: 썸네일 + 상품명 */
.att-prd-header {
	display: flex; align-items: center; gap: 10px;
	margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6;
}
.att-prd-thumb {
	width: 44px; height: 44px; border-radius: 6px;
	object-fit: cover; flex-shrink: 0; background: #f9fafb;
}
.att-prd-info { min-width: 0; flex: 1; }
.att-prd-name {
	font-size: 12px; font-weight: 600; color: #1f2937;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	line-height: 1.4;
}
.att-prd-opt {
	font-size: 11px; color: #6b7280; margin-top: 2px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 지표 영역 */
.att-prd-metrics { display: flex; flex-direction: column; gap: 6px; }
.att-metric {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 12px;
}
.att-metric-label { color: #6b7280; }
.att-metric-value { font-weight: 600; color: #1f2937; text-align: right; }
.att-metric-value small { font-weight: 400; color: #9ca3af; margin-left: 2px; font-size: 11px; }

/* 하이라이트 지표 (마지막 행) */
.att-metric-highlight {
	margin-top: 4px; padding-top: 8px; border-top: 1px dashed #e5e7eb;
}
.att-metric-highlight.att-up .att-metric-value { color: #dc2626; }
.att-metric-highlight.att-down .att-metric-value { color: #2563eb; }

/* ── 재고현황: 총 재고자산 요약 카드 ── */
.jet-stock-summary-card .stock-assets-summary { margin-bottom: 0; }
/* 재고자산 현황 카드 하단 안내(박스 없이 텍스트만) */
.jet-stock-summary-card .stock-assets-notice {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.75;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}
.jet-stock-summary-card .stock-assets-notice li {
	position: relative;
	padding-left: 12px;
}
.jet-stock-summary-card .stock-assets-notice li + li {
	margin-top: 2px;
}
.jet-stock-summary-card .stock-assets-notice li::before {
	content: '·';
	position: absolute;
	left: 0;
	color: #9ca3af;
	font-weight: 700;
}
.stock-assets-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}
@media (max-width: 1100px) {
	.stock-assets-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.stock-assets-summary { grid-template-columns: 1fr; }
}
.stock-assets-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 72px;
	justify-content: center;
}
.stock-assets-card-total {
	background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
	border-color: #c7d2fe;
}
/* 배송유형 요약 카드: 하단 탭과 동일하게 전환 */
button.stock-assets-card-tab {
	font: inherit;
	font-family: inherit;
	color: inherit;
	cursor: pointer;
	width: 100%;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
button.stock-assets-card-tab:hover:not(.active) {
	border-color: #cbd5e1;
	background: #f1f5f9;
}
button.stock-assets-card-tab.active {
	border-color: #2563eb;
	background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
	box-shadow: 0 0 0 1px #2563eb;
}
button.stock-assets-card-tab:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}
.stock-assets-label {
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	letter-spacing: 0.02em;
}
.stock-assets-value {
	font-size: 17px;
	font-weight: 800;
	color: #111827;
	line-height: 1.2;
	word-break: break-all;
}

/* ── 재고현황 테이블 고정컬럼 (등록상품·옵션명 폭 축소) ── */
#jet_stock_table th:nth-child(1), #jet_stock_table td:nth-child(1),
#direct_stock_table th:nth-child(1), #direct_stock_table td:nth-child(1) {
	position: sticky !important; left: 0 !important; z-index: 3 !important;
	background: #fff !important; min-width: 160px; max-width: 200px; width: 200px;
	box-sizing: border-box;
}
#jet_stock_table th:nth-child(2), #jet_stock_table td:nth-child(2),
#direct_stock_table th:nth-child(2), #direct_stock_table td:nth-child(2) {
	position: sticky !important; left: 200px !important; z-index: 3 !important;
	background: #fff !important; border-right: 1px solid #e5e7eb;
	/* 옵션명 + 번들버튼 가로 배치 — 과도한 좁은 폭이 겹침 유발 */
	min-width: 260px; max-width: 380px; width: 320px;
	box-sizing: border-box;
}
#jet_stock_table thead th:nth-child(1), #direct_stock_table thead th:nth-child(1) {
	top: 0 !important; left: 0 !important; z-index: 4 !important; background: #f9fafb !important;
}
#jet_stock_table thead th:nth-child(2), #direct_stock_table thead th:nth-child(2) {
	top: 0 !important; left: 200px !important; z-index: 4 !important; background: #f9fafb !important; border-right: 1px solid #e5e7eb;
}
/* 옵션명 단일 텍스트 열(번들 행 제외)만 좁게 */
#jet_stock_table .prd-name-cell:not(.stock-optname-with-bundle),
#direct_stock_table .prd-name-cell:not(.stock-optname-with-bundle),
#rocket_stock_table .prd-name-cell {
	max-width: 200px;
}
#rocket_stock_table th:first-child,
#rocket_stock_table td:first-child {
	max-width: 220px;
}
/* 재고현황 옵션명(2열) 헤더·셀 좌측정렬 */
#jet_stock_table thead th:nth-child(2), #jet_stock_table tbody td:nth-child(2),
#direct_stock_table thead th:nth-child(2), #direct_stock_table tbody td:nth-child(2) {
	text-align: left !important;
}
/* 재고현황 수치 컬럼(재고·일평균판매·예상소진일) 헤더·셀 우측정렬 */
#jet_stock_table thead th:nth-child(n+3), #jet_stock_table tbody td:nth-child(n+3),
#direct_stock_table thead th:nth-child(n+3), #direct_stock_table tbody td:nth-child(n+3),
#rocket_stock_table thead th:nth-child(n+2), #rocket_stock_table tbody td:nth-child(n+2) {
	text-align: right !important;
}
#rocket_stock_table th:first-child, #rocket_stock_table td:first-child {
	position: sticky !important; left: 0 !important; z-index: 3 !important; background: #fff !important;
}
#rocket_stock_table thead th:first-child {
	top: 0 !important; left: 0 !important; z-index: 4 !important; background: #f9fafb !important;
}
#jet_stock_table tbody tr:hover > td,
#rocket_stock_table tbody tr:hover > td,
#direct_stock_table tbody tr:hover > td { background: #f3f4f6 !important; }

/* ── 원클릭 광고세팅 ── */
.todo-apply-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 20px; border: none; border-radius: 8px;
	background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff;
	font-size: 13px; font-weight: 600; cursor: pointer;
	transition: all 0.15s; white-space: nowrap;
	box-shadow: 0 2px 6px rgba(99,102,241,.25);
}
.todo-apply-btn:hover { background: linear-gradient(135deg, #4f46e5, #4338ca); box-shadow: 0 3px 10px rgba(99,102,241,.35); }
.todo-notice-card { margin-top: 14px; }
.todo-notice-list {
	margin: 0; padding-left: 18px;
	font-size: 12px; color: #6b7280; line-height: 1.9;
	list-style: disc;
}
.todo-notice-list strong { color: #dc2626; font-weight: 600; }
.todo-del-btn {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 10px; border: 1px solid #e5e7eb; border-radius: 5px;
	background: #fff; color: #ef4444; font-size: 11px; font-weight: 500;
	cursor: pointer; transition: all 0.12s;
}
.todo-del-btn:hover { background: #fef2f2; border-color: #fca5a5; }
.todo-del-all-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; border: 1px solid #fca5a5; border-radius: 6px;
	background: #fff; color: #ef4444; font-size: 12px; font-weight: 600;
	cursor: pointer; transition: all 0.12s;
}
.todo-del-all-btn:hover { background: #fef2f2; border-color: #ef4444; }
.todo-tab-btn {
	display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid #d1d5db;
	border-radius: 6px; background: #f9fafb; color: #6b7280; font-size: 12px; font-weight: 500;
	cursor: pointer; transition: all 0.15s;
}
.todo-tab-btn:hover { background: #f3f4f6; color: #374151; border-color: #9ca3af; }
.todo-tab-btn.todo-tab-active {
	background: #3b82f6; color: #fff; border-color: #3b82f6;
}
.todo-tab-btn.todo-tab-active:hover { background: #2563eb; border-color: #2563eb; }
.todo-status-pending {
	display: inline-block; padding: 2px 8px; border-radius: 10px;
	background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 600;
}
.todo-status-complete {
	display: inline-block; padding: 2px 8px; border-radius: 10px;
	background: #d1fae5; color: #047857; font-size: 11px; font-weight: 600;
}
.todo-status-fail {
	display: inline-block; padding: 2px 8px; border-radius: 10px;
	background: #fee2e2; color: #dc2626; font-size: 11px; font-weight: 600;
}
#table_changeset_list tbody tr:hover > td { background: #f3f4f6 !important; }
/* 원클릭 광고세팅 · 변경 작업 리스트 전용 (다른 테이블 미적용) */
#table_changeset_list thead th,
#table_changeset_list tbody td {
	text-align: center !important;
}

/* --- 무실적 키워드 관리 --- */
.att-criteria-select {
	padding: 3px 8px; border: 1px solid #d1d5db; border-radius: 5px;
	font-size: 12px; background: #fff; color: #374151;
	max-width: 220px; cursor: pointer;
	transition: border-color 0.15s;
}
.att-criteria-select:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.12); }
#table_attention_keyword_list th:first-child,
#table_attention_keyword_list td:first-child {
	position: sticky !important; left: 0 !important; z-index: 3 !important;
	background: #fff !important; min-width: 200px;
}
#table_attention_keyword_list thead th:first-child {
	z-index: 4 !important; background: #f9fafb !important;
}
#table_attention_keyword_list tbody tr:hover > td { background: #f3f4f6 !important; }

/* --- Datepicker 모던 오버라이드 --- */
.datepicker {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 24px rgba(0,0,0,.10) !important;
	padding: 12px !important;
	font-family: inherit !important;
}
.datepicker::before, .datepicker::after { display: none !important; }
.datepicker table { width: 100%; }
.datepicker table tr th {
	font-size: 12px !important; font-weight: 600 !important; color: #6b7280 !important;
	padding: 6px 8px !important; text-align: center !important;
	background: transparent !important; border: none !important;
}
.datepicker table tr th.prev,
.datepicker table tr th.next {
	font-size: 14px !important; color: #9ca3af !important; cursor: pointer !important;
	border-radius: 6px !important; width: 32px !important;
}
.datepicker table tr th.prev:hover,
.datepicker table tr th.next:hover { background: #f3f4f6 !important; color: #374151 !important; }
.datepicker table tr th.datepicker-switch {
	font-size: 14px !important; font-weight: 700 !important; color: #1f2937 !important;
	cursor: pointer !important;
}
.datepicker table tr th.datepicker-switch:hover { background: #f3f4f6 !important; border-radius: 6px !important; }
.datepicker table tr td,
.datepicker table tr th {
	width: 36px !important; height: 36px !important; line-height: 36px !important;
	padding: 0 !important; text-align: center !important;
	font-size: 13px !important; border-radius: 8px !important;
}
.datepicker table tr td { color: #374151 !important; background: transparent !important; }
.datepicker table tr td.old,
.datepicker table tr td.new { color: #d1d5db !important; }
.datepicker table tr td.day:hover,
.datepicker table tr td.focused { background: #f3f4f6 !important; color: #1f2937 !important; cursor: pointer !important; }
.datepicker table tr td.today {
	background: #ede9fe !important; color: #6366f1 !important; font-weight: 600 !important;
}
.datepicker table tr td.today:hover { background: #ddd6fe !important; }
.datepicker table tr td.active,
.datepicker table tr td.active.highlighted,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.highlighted:hover {
	background: #6366f1 !important; color: #fff !important; font-weight: 600 !important;
	text-shadow: none !important;
}
.datepicker table tr td.selected,
.datepicker table tr td.selected.highlighted,
.datepicker table tr td.selected:hover { background: #6366f1 !important; color: #fff !important; }
.datepicker table tr td.range { background: #eef2ff !important; color: #4338ca !important; border-radius: 0 !important; }
.datepicker table tr td.day.range-start { border-radius: 8px 0 0 8px !important; }
.datepicker table tr td.day.range-end { border-radius: 0 8px 8px 0 !important; }
.datepicker table tr td.day.range-start.range-end { border-radius: 8px !important; }
.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover { color: #e5e7eb !important; background: transparent !important; cursor: default !important; }
.datepicker table tr td span { border-radius: 8px !important; line-height: 36px !important; }
.datepicker table tr td span:hover { background: #f3f4f6 !important; }
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover {
	background: #6366f1 !important; color: #fff !important; text-shadow: none !important;
}
.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot tr th { cursor: pointer !important; }

/* --- 실시간 실적 KPI --- */
.now-kpi-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
@media (max-width: 1200px) {
	.now-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.now-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.now-kpi-item {
	background: #f9fafb; border-radius: 10px; padding: 16px 18px;
	text-align: center;
}
.now-kpi-label { font-size: 12px; color: #6b7280; font-weight: 500; margin-bottom: 6px; }
.now-kpi-value { font-size: 20px; font-weight: 700; color: #1f2937; }
.now-kpi-item--qty .now-kpi-value { font-size: 22px; }
.now-kpi-unit { font-size: 14px; font-weight: 600; color: #6b7280; margin-left: 2px; }
.now-kpi-foot {
	font-size: 11px; color: #9ca3af; line-height: 1.45; margin-top: 10px; text-align: center;
	word-break: keep-all;
}
#table_today_soldprd tbody tr:hover > td,
#table_today_campaign tbody tr:hover > td { background: #f3f4f6 !important; }
.now-prd-cell { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.now-prd-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; border: 1px solid #e5e7eb; }
.now-prd-info { min-width: 0; text-align: left; }
.now-prd-name { font-size: 13px; font-weight: 500; color: #1f2937; white-space: normal; word-break: break-word; line-height: 1.4; }
.now-prd-code { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.now-camp-name { font-size: 13px; font-weight: 500; color: #1f2937; white-space: normal; word-break: break-word; line-height: 1.4; }

/* --- 캠페인 테이블 인라인 세팅 --- */
.now-camp-toggle {
	position: relative; display: inline-block; width: 36px; height: 20px;
	vertical-align: middle; cursor: pointer; margin: 0;
}
.now-camp-toggle input { opacity: 0; width: 0; height: 0; }
.now-camp-slider {
	position: absolute; inset: 0; background: #d1d5db; border-radius: 20px;
	transition: background .2s;
}
.now-camp-slider::before {
	content: ""; position: absolute; left: 2px; top: 2px;
	width: 16px; height: 16px; background: #fff; border-radius: 50%;
	transition: transform .2s;
}
.now-camp-toggle input:checked + .now-camp-slider { background: #6366f1; }
.now-camp-toggle input:checked + .now-camp-slider::before { transform: translateX(16px); }
.now-camp-input {
	width: 100px; padding: 5px 8px; border: 1px solid #e5e7eb; border-radius: 6px;
	font-size: 13px; color: #374151; text-align: right; background: #fff;
	transition: border-color .15s;
}
.now-camp-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.15); }
.now-camp-roas { width: 80px; }
.now-camp-na { color: #9ca3af; font-size: 12px; }
.now-vat-ex { display: inline-block; font-size: 10px; font-weight: 600; color: #6366f1; }
.now-vat-in { display: inline-block; font-size: 10px; font-weight: 500; color: #9ca3af; }
.now-vat-ex-val { color: #6366f1; font-weight: 600; }

/* --- 소진율 프로그레스 바 --- */
.now-spentrate-cell { display: flex; align-items: center; gap: 8px; min-width: 100px; }
.now-spentrate-bar-wrap {
	flex: 1; min-width: 60px; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; position: relative;
}
.now-spentrate-bar {
	position: absolute; inset: 0; width: 100%; height: 100%;
	background: linear-gradient(90deg, #3b82f6, #ef4444); border-radius: 4px;
}
.now-spentrate-bar-empty { opacity: 0; }
.now-spentrate-text { font-size: 13px; font-weight: 500; color: #374151; white-space: nowrap; }

/* --- 판매계정 관리 --- */
.acc-notice {
	display: flex; align-items: flex-start; gap: 10px;
	background: #f0f4ff; border: 1px solid #dbeafe; border-radius: 10px;
	padding: 14px 18px; margin-bottom: 14px;
	font-size: 12px; color: #4b5563; line-height: 1.7;
}
.acc-notice i { color: #6366f1; margin-top: 2px; flex-shrink: 0; font-size: 14px; }
.acc-notice div { display: flex; flex-direction: column; }

.acc-suspend-notice {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
	padding: 20px 18px; margin-bottom: 14px;
	font-size: 15px; font-weight: 700; color: #b45309;
}
.acc-suspend-notice i { font-size: 16px; opacity: 0.9; }

.acc-add-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.acc-add-card {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
	overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.06);
	transition: box-shadow .2s;
}
.acc-add-card:hover { box-shadow: 0 4px 12px rgba(15,23,42,.08); }
.acc-add-header {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 20px; border-bottom: 1px solid #f3f4f6;
}
.acc-add-header.acc-wing { background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%); }
.acc-add-header.acc-supplier { background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%); }
.acc-logo { width: 36px; height: 36px; flex-shrink: 0; object-fit: contain; }
.acc-add-title { font-size: 15px; font-weight: 700; color: #111827; }
.acc-add-desc { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.acc-add-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.acc-field { display: flex; flex-direction: column; gap: 5px; }
.acc-label { font-size: 12px; font-weight: 600; color: #374151; }
.acc-input {
	width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 8px;
	font-size: 13px; color: #1f2937; background: #fff; box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
.acc-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.acc-input::placeholder { color: #c4c9d4; }
.acc-consent { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #6b7280; }
.acc-consent input[type="checkbox"] { accent-color: #6366f1; width: 15px; height: 15px; cursor: pointer; }
.acc-consent label { cursor: pointer; }
.acc-add-btn {
	width: 100%; padding: 10px 0; border: none; border-radius: 8px;
	font-size: 13px; font-weight: 600; color: #fff; cursor: pointer;
	transition: background .15s, transform .1s;
	display: flex; align-items: center; justify-content: center; gap: 6px;
}
.acc-add-btn:hover { transform: translateY(-1px); }
.acc-add-btn:active { transform: translateY(0); }
.acc-wing-btn { background: #f59e0b; }
.acc-wing-btn:hover { background: #d97706; }
.acc-supplier-btn { background: #6366f1; }
.acc-supplier-btn:hover { background: #4f46e5; }

/* --- 윙 계정 확인 진행 오버레이 --- */
.wing-check-overlay {
	position: fixed; inset: 0;
	background: rgba(15, 23, 42, 0.78);
	z-index: 1080;
	display: flex; align-items: center; justify-content: center;
	-webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.wing-check-card {
	background: #fff; border-radius: 16px;
	padding: 28px 32px; min-width: 380px; max-width: 460px;
	box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.wing-check-title {
	font-size: 17px; font-weight: 700; color: #111827;
	margin-bottom: 6px; text-align: center;
}
.wing-check-subtitle {
	font-size: 12.5px; color: #6b7280; text-align: center;
	margin-bottom: 22px;
}
.wing-check-steps {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: 10px;
}
.wing-check-step {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border-radius: 10px;
	background: #f9fafb; border: 1px solid #f3f4f6;
	font-size: 13.5px; font-weight: 500; color: #9ca3af;
	transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.wing-check-step.is-running {
	background: #fffbeb; border-color: #fde68a; color: #b45309;
	box-shadow: 0 0 0 3px rgba(245,158,11,.12);
	font-weight: 600;
}
.wing-check-step.is-done {
	background: #f0fdf4; border-color: #bbf7d0; color: #15803d;
}
.wing-check-step-icon {
	width: 22px; height: 22px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 16px;
}
.wing-check-step.is-pending .wing-check-step-icon { color: #d1d5db; }
.wing-check-step.is-running .wing-check-step-icon { color: #f59e0b; }
.wing-check-step.is-done    .wing-check-step-icon { color: #16a34a; }
.wing-check-step-label { flex: 1; }

/* --- 윙 계정 추가: 단계형 레이아웃 --- */
.acc-add-card-wing .acc-add-body { gap: 22px; }
.acc-step { display: flex; flex-direction: column; gap: 12px; }
.acc-step + .acc-step {
	padding-top: 22px; border-top: 1px dashed #e5e7eb;
}
.acc-step-title {
	display: flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; color: #111827;
	line-height: 1.5;
}
.acc-step-num {
	width: 22px; height: 22px; border-radius: 50%;
	background: #f59e0b; color: #fff;
	font-size: 12px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.acc-credential-group {
	background: #fafbfc; border: 1px solid #eef0f3; border-radius: 10px;
	padding: 12px 14px; display: flex; flex-direction: column; gap: 10px;
}
.acc-credential-label {
	font-size: 12px; font-weight: 700; color: #374151;
	display: flex; align-items: center; gap: 6px;
}
.acc-credential-label i { color: #f59e0b; font-size: 12px; }
.acc-credential-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (max-width: 720px) {
	.acc-credential-row { grid-template-columns: 1fr; }
}

.acc-section-title {
	font-size: 16px; font-weight: 700; color: #111827;
	margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.acc-section-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 7px;
	background: #6366f1; color: #fff; border-radius: 20px;
	font-size: 11px; font-weight: 700;
}

.acc-list { display: flex; flex-direction: column; gap: 10px; }
.acc-card {
	display: flex; align-items: center; gap: 18px;
	background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
	padding: 16px 20px;
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
	transition: box-shadow .2s;
}
.acc-card:hover { box-shadow: 0 3px 10px rgba(15,23,42,.07); }
.acc-card-left { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 80px; }
.acc-card-logo { width: 40px; height: 40px; object-fit: contain; }
.acc-type-badge {
	font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 20px;
	white-space: nowrap;
}
.acc-type-wing { background: #fef3c7; color: #b45309; }
.acc-type-supplier { background: #eef2ff; color: #6366f1; }
.acc-card-info { flex: 1; min-width: 0; }
.acc-card-sid {
	font-size: 15px; font-weight: 700; color: #111827;
	margin-bottom: 10px; word-break: break-all;
}
.acc-card-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.acc-card-pw-group { display: flex; flex-direction: column; gap: 4px; }
.acc-label-sm { font-size: 11px; font-weight: 600; color: #6b7280; }
.acc-input-sm {
	padding: 7px 10px; border: 1px solid #d1d5db; border-radius: 7px;
	font-size: 13px; color: #374151; background: #fff; width: 200px;
	transition: border-color .15s;
}
.acc-input-sm:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.1); }
.acc-card-actions { display: flex; gap: 8px; }
.acc-btn-edit {
	padding: 7px 16px; border: 1px solid #d1d5db; border-radius: 7px;
	background: #fff; color: #374151; font-size: 12px; font-weight: 600;
	cursor: pointer; transition: all .15s;
}
.acc-btn-edit:hover { border-color: #6366f1; color: #6366f1; background: #f5f3ff; }
.acc-btn-del {
	padding: 7px 16px; border: 1px solid #fecaca; border-radius: 7px;
	background: #fff; color: #ef4444; font-size: 12px; font-weight: 600;
	cursor: pointer; transition: all .15s;
}
.acc-btn-del:hover { background: #fef2f2; border-color: #ef4444; }

.acc-empty {
	text-align: center; padding: 48px 20px;
	background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 12px;
	margin-top: 20px;
}
.acc-empty i { font-size: 32px; color: #d1d5db; margin-bottom: 10px; }
.acc-empty p { font-size: 13px; color: #9ca3af; margin: 0; }

/* === Account Card v2 (등록된 계정 카드) === */
.acc-card-v2 {
	display: flex; align-items: stretch;
	background: #fff; border: 1px solid #eef0f3; border-radius: 14px;
	box-shadow: 0 1px 3px rgba(15,23,42,.04);
	overflow: hidden;
	transition: box-shadow .2s, border-color .2s;
	margin-bottom: 12px;
}
.acc-card-v2:hover {
	box-shadow: 0 6px 20px rgba(15,23,42,.06);
	border-color: #e5e7eb;
}
.acc-card-v2__brand {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	min-width: 96px; padding: 24px 12px;
	background: #fafbfc;
	border-right: 1px solid #f1f3f5;
}
.acc-card-v2__brand img { width: 44px; height: 44px; object-fit: contain; }
.acc-card-v2__body {
	flex: 1; min-width: 0;
	display: flex; flex-direction: column;
	padding: 22px 26px 14px;
	gap: 16px;
}
.acc-card-v2__columns {
	display: flex; align-items: stretch; gap: 28px;
}
.acc-card-v2__divider {
	width: 1px; align-self: stretch;
	background: linear-gradient(to bottom, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
}
.acc-account-col {
	flex: 1; min-width: 0;
	display: flex; flex-direction: column; gap: 12px;
}
.acc-account-col__head {
	display: flex; align-items: baseline; gap: 10px;
	flex-wrap: wrap;
}
.acc-account-col__label {
	font-size: 11px; font-weight: 700; color: #6366f1;
	text-transform: uppercase; letter-spacing: 1px;
}
.acc-account-col__desc {
	font-size: 11.5px; color: #9ca3af; font-weight: 500;
}
.acc-account-col__id {
	font-size: 22px; font-weight: 700; color: #111827;
	letter-spacing: 0.2px; word-break: break-all;
	display: inline-flex; align-items: center; gap: 8px;
	line-height: 1.2;
}
.acc-account-col__action {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	margin: 0;
}
.acc-account-col__action--multi {
	flex-direction: column; align-items: flex-start;
}
.acc-account-col__hint {
	font-size: 11.5px; color: #9ca3af; font-style: italic;
}
.acc-card-v2__footer {
	display: flex; justify-content: flex-end; align-items: center;
	padding-top: 12px;
	border-top: 1px solid #f1f3f5;
}
.acc-card-v2__footer .acc-btn-del { padding: 6px 14px; font-size: 11.5px; }
.acc-status-dot {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	flex-shrink: 0;
}
.acc-status-dot--ok    { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.acc-status-dot--alert { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); animation: pulse-warn 1.6s ease-in-out infinite; }
@keyframes pulse-warn {
	0%, 100% { box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
	50%      { box-shadow: 0 0 0 6px rgba(245,158,11,.05); }
}
.acc-btn-warn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border: 1px solid #fcd34d; border-radius: 7px;
	background: #fffbeb; color: #b45309;
	font-size: 12px; font-weight: 600; cursor: pointer;
	transition: all .15s;
}
.acc-btn-warn:hover { background: #fef3c7; border-color: #f59e0b; }
.acc-btn-warn i { font-size: 11px; }

@media (max-width: 720px) {
	.acc-card-v2 { flex-direction: column; }
	.acc-card-v2__brand { flex-direction: row; min-width: 0; padding: 14px 18px; border-right: none; border-bottom: 1px solid #f1f3f5; }
	.acc-card-v2__columns { flex-direction: column; gap: 18px; }
	.acc-card-v2__divider { width: auto; height: 1px; background: linear-gradient(to right, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent); }
}

/* --- 알림 모달 --- */
.noti-modal-card {
	background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.04);
	max-width: 420px; margin: 0 auto;
}
.noti-modal-header {
	display: flex; align-items: center; gap: 10px;
	padding: 18px 22px 14px; border-bottom: 1px solid #f3f4f6;
}
.noti-modal-icon {
	width: 34px; height: 34px; border-radius: 10px;
	background: #eef2ff; color: #6366f1;
	display: flex; align-items: center; justify-content: center;
	font-size: 15px; flex-shrink: 0;
}
.noti-modal-title {
	font-size: 16px; font-weight: 700; color: #111827; flex: 1;
}
.noti-modal-close {
	width: 30px; height: 30px; border: none; background: transparent;
	border-radius: 8px; color: #9ca3af; font-size: 14px;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background .15s, color .15s;
}
.noti-modal-close:hover { background: #f3f4f6; color: #374151; }
.noti-modal-body { padding: 20px 22px; }
.noti-modal-msg {
	font-size: 14px; font-weight: 500; color: #374151;
	line-height: 1.65; padding: 10px 14px;
	background: #f8fafc; border-radius: 10px; border: 1px solid #f0f1f3;
}
.noti-modal-msg + .noti-modal-msg { margin-top: 8px; }
.noti-modal-footer {
	padding: 0 22px 18px; display: flex; justify-content: flex-end;
}
.noti-modal-btn {
	padding: 9px 28px; border: none; border-radius: 9px;
	background: #6366f1; color: #fff;
	font-size: 13px; font-weight: 600; cursor: pointer;
	transition: background .15s;
}
.noti-modal-btn:hover { background: #4f46e5; }
.noti-modal-btn-cancel {
	background: #fff; color: #4b5563; border: 1px solid #d1d5db;
	margin-right: 8px;
}
.noti-modal-btn-cancel:hover { background: #f9fafb; color: #111827; border-color: #9ca3af; }

.noti-modal-card-lg { max-width: 560px; }
.noti-modal-card-lg .noti-modal-header { padding: 20px 26px 16px; }
.noti-modal-card-lg .noti-modal-title { font-size: 17px; }
.noti-modal-card-lg .noti-modal-body { padding: 22px 26px; }
.noti-modal-card-lg .noti-modal-msg { font-size: 14.5px; padding: 14px 16px; }
.noti-modal-card-lg .noti-modal-footer { padding: 0 26px 22px; }

.noti-modal-warn {
	margin-top: 12px; padding: 12px 14px;
	background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 13px; line-height: 1.6; color: #92400e;
}
.noti-modal-warn i { color: #d97706; font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.noti-modal-warn b { color: #b45309; font-weight: 700; }

/* --- 상품원가 입력 --- */
.cost-excel-steps { display: flex; flex-direction: column; gap: 14px; }
.cost-step {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 12px 14px; background: #f9fafb; border-radius: 8px; border: 1px solid #f3f4f6;
}
.cost-step-num {
	width: 26px; height: 26px; border-radius: 50%;
	background: #6366f1; color: #fff;
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; margin-top: 1px;
}
.cost-step-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cost-step-text { font-size: 13px; color: #374151; line-height: 1.6; }
.cost-step-note { font-size: 11px; color: #9ca3af; }
.cost-step-btn {
	width: 220px; padding: 8px 0; border: 1px solid #16a34a; border-radius: 7px;
	background: #fff; color: #16a34a; font-size: 12px; font-weight: 600;
	cursor: pointer; transition: all .15s;
	display: inline-flex; align-items: center; justify-content: center; gap: 5px; align-self: flex-start;
}
.cost-step-btn:hover { background: #f0fdf4; color: #15803d; border-color: #15803d; }
.cost-step-btn-apply { border-color: #6366f1; color: #6366f1; }
.cost-step-btn-apply:hover { background: #f5f3ff; color: #4f46e5; border-color: #4f46e5; }
.cost-step-result { font-size: 12px; color: #6b7280; }

.cost-prd-cell { display: flex; align-items: center; gap: 10px; max-width: 220px; }
.cost-prd-link, .cost-opt-link {
	text-decoration: none; color: inherit; flex-shrink: 0;
}
.cost-prd-link:hover, .cost-opt-link:hover { opacity: 0.85; }
.cost-prd-thumb {
	width: 44px; height: 44px; object-fit: cover; border-radius: 6px;
	flex-shrink: 0; border: 1px solid #e5e7eb;
}
.cost-opt-cell { display: flex; align-items: center; gap: 8px; max-width: 280px; }
.cost-opt-thumb {
	width: 36px; height: 36px; object-fit: cover; border-radius: 5px;
	flex-shrink: 0; border: 1px solid #e5e7eb;
}
.cost-no-thumb {
	width: 44px; height: 44px; border-radius: 6px;
	background: #f3f4f6; border: 1px dashed #d1d5db;
	display: flex; align-items: center; justify-content: center;
	color: #d1d5db; font-size: 16px; flex-shrink: 0;
}
.cost-no-thumb-sm { width: 36px; height: 36px; border-radius: 5px; font-size: 13px; }
.cost-prd-info, .cost-opt-info { min-width: 0; text-align: left; }
.cost-prd-name {
	font-size: 13px; font-weight: 500; color: #1f2937;
	white-space: normal; word-break: break-word; line-height: 1.4;
}
.cost-prd-name a, .cost-opt-name a {
	text-decoration: none; color: inherit;
}
.cost-prd-name a:hover, .cost-opt-name a:hover {
	color: #6366f1; text-decoration: underline;
}
.cost-opt-name {
	font-size: 13px; font-weight: 500; color: #374151;
	white-space: normal; word-break: break-word; line-height: 1.4;
}
.cost-prd-code { font-size: 10px; color: #9ca3af; margin-top: 2px; }

.cost-del-badge {
	display: inline-block; padding: 3px 10px; border-radius: 20px;
	font-size: 11px; font-weight: 600; white-space: nowrap;
}
.cost-badge-jet { background: #fff7ed; color: #ea580c; }
.cost-badge-direct { background: #f3f4f6; color: #6b7280; }
.cost-badge-rocket { background: #dbeafe; color: #2563eb; }
.cost-badge-etc { background: #f3f4f6; color: #6b7280; }

.cost-input {
	width: 100px; padding: 6px 8px; border: 1px solid #e5e7eb; border-radius: 6px;
	font-size: 13px; color: #374151; text-align: right; background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.cost-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.15); }
/* 상품원가 입력 — 변경로그 슬라이드(body로 이동 시 다른 카드보다 위) */
#costLogOverlay.dtl-slide-overlay { z-index: 10050; }
#costLogPanel.dtl-slide-panel { z-index: 10051; }

/* 미입력(null) 시 표시용 추정 원가(판매가 30%) — 상품상세 재고·기본마진 표와 동일 톤 */
.cost-input.cost-prdcost-estimated { color: #ccc; }
.cost-input-saved { border-color: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,.15); }
.cost-na { color: #d1d5db; font-size: 12px; }

#costTableWrap { overflow: auto; }
#costTableWrap table { width: 100% !important; }
#costTableWrap thead th {
	position: sticky !important; top: 0 !important; z-index: 2 !important;
	background: #f9fafb !important;
}
.cost-log-open-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 5px;
	padding: 5px 10px; font-size: 11px; font-weight: 600;
	color: #6366f1; background: #eef2ff; border: 1px solid #c7d2fe;
	border-radius: 6px; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.cost-log-open-btn:hover {
	background: #6366f1; color: #fff; border-color: #6366f1;
}
.cost-log-col { white-space: nowrap !important; }
.cost-log-panel-sub {
	font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 4px; line-height: 1.4;
}
.cost-log-panel-meta {
	font-size: 11px; color: #9ca3af; margin-bottom: 14px;
}
.cost-log-card {
	background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px;
	padding: 12px 14px; margin-bottom: 10px;
}
.cost-log-card-date {
	font-size: 13px; font-weight: 700; color: #1f2937; margin-bottom: 4px;
}
.cost-log-card-hint {
	font-size: 11px; color: #6366f1; margin-bottom: 10px; line-height: 1.45;
}
.cost-log-metrics {
	display: flex; gap: 16px; flex-wrap: wrap;
}
.cost-log-metric {
	display: flex; flex-direction: column; gap: 2px; min-width: 100px;
}
.cost-log-metric-label {
	font-size: 10px; font-weight: 600; color: #9ca3af; text-transform: none;
}
.cost-log-metric-value {
	font-size: 14px; font-weight: 600; color: #374151;
}
.cost-log-updated {
	font-size: 11px; color: #9ca3af; margin-top: 8px;
}
/* 상품원가 입력 - 등록상품·옵션명(1·2열) 좌측정렬 */
#table_costlist thead th:nth-child(1), #table_costlist tbody td:nth-child(1),
#table_costlist thead th:nth-child(2), #table_costlist tbody td:nth-child(2) {
	text-align: left !important;
}
#table_costlist th { white-space: nowrap; }
#table_costlist td { vertical-align: middle; }

/* 재고·재고자산 목록 — 옵션명: 텍스트(좌) / 번들 버튼(우) — 전역 .prd-name-cell nowrap·max-width 무효 */
#jet_stock_table .prd-name-cell.stock-optname-with-bundle,
#direct_stock_table .prd-name-cell.stock-optname-with-bundle {
	max-width: none !important;
	white-space: normal !important;
	overflow: visible !important;
}
.stock-optname-with-bundle .stock-optname-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-width: 0;
}
.stock-optname-main {
	flex: 1;
	min-width: 0;
}
/* 옵션코드·옵션명: 등록상품 열과 동일 한 줄 말줄임 */
.stock-optname-main > .prd-code-mini {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.stock-optname-main .stock-optname-text {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
}
.stock-optname-main .stock-optname-text a {
	color: #374151;
	text-decoration: none;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.stock-optname-main .stock-optname-text a:hover {
	color: #6366f1;
}
.stock-optname-actions {
	flex-shrink: 0;
	margin-top: 0;
	margin-left: auto;
	align-self: flex-start;
}
.stock-bundle-exclude-btn {
	font-size: 11px;
	font-weight: 500;
	padding: 4px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fafafa;
	color: #a1a1aa;
	cursor: pointer;
	transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.stock-bundle-exclude-btn:hover:not(:disabled) {
	color: #71717a;
	border-color: #d4d4d8;
	background: #f4f4f5;
}
.stock-bundle-exclude-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}
.stock-bundle-badge {
	font-size: 11px;
	font-weight: 600;
	color: #a1a1aa;
}

/* 재고·재고자산 — 탭 옆 번들 목록 버튼 */
.rpt-tab-bar-with-bundle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.rpt-tab-bar-tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	align-items: center;
}
.rpt-bundle-list-open-btn {
	padding: 5px 12px;
	border: 1px solid #c7d2fe;
	border-radius: 6px;
	background: #eef2ff;
	color: #4338ca;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.12s ease, border-color 0.12s ease;
}
.rpt-bundle-list-open-btn:hover {
	background: #e0e7ff;
	border-color: #a5b4fc;
}

/* 번들상품 목록 — 우측 슬라이드 (dtl-slide 패턴) */
#bundleListOverlay.dtl-slide-overlay {
	z-index: 10058;
	background: rgba(0, 0, 0, 0.4);
}
#bundleListPanel.bundle-list-slide-panel.dtl-slide-panel {
	z-index: 10059;
	width: min(920px, 96vw);
	max-width: 100vw;
	box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14);
}
.bundle-list-slide-body .bundle-list-hint {
	margin-top: 0;
}
.bundle-list-hint {
	font-size: 12px;
	color: #6b7280;
	margin: 0 0 12px;
	line-height: 1.5;
}
.bundle-list-search {
	flex: 1 1 100%;
	max-width: 320px;
	margin-bottom: 12px;
}
.bundle-list-table-wrap {
	max-height: calc(100vh - 220px);
	min-height: 120px;
	overflow: auto;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}
.bundle-restore-btn {
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 600;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #4b5563;
	cursor: pointer;
	white-space: nowrap;
}
.bundle-restore-btn:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #9ca3af;
	color: #111827;
}
.bundle-restore-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}
#bundle_options_table .bundle-list-optname {
	max-width: 280px;
}

/* --- 파트너스 --- */
.ptn-notice {
	display: flex; align-items: flex-start; gap: 10px;
	background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px;
	padding: 12px 16px; margin-bottom: 16px;
	font-size: 12px; color: #6b7280; line-height: 1.7;
}
.ptn-notice i { color: #9ca3af; margin-top: 2px; flex-shrink: 0; font-size: 13px; }
.ptn-notice div { display: flex; flex-direction: column; }
.ptn-notice-warn { color: #ef4444; font-weight: 600; }

.ptn-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ptn-kpi-2col { grid-template-columns: 1fr 3fr; }
.ptn-kpi-item {
	background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 10px;
	padding: 16px 18px; text-align: center;
}
.ptn-kpi-label { font-size: 12px; font-weight: 600; color: #6b7280; margin-bottom: 8px; }
.ptn-kpi-value { font-size: 20px; font-weight: 800; color: #111827; }
.ptn-kpi-highlight { color: #6366f1; }
.ptn-kpi-unit { font-size: 13px; font-weight: 500; color: #9ca3af; }
.ptn-link-val { font-size: 13px; font-weight: 600; color: #6366f1; word-break: break-all; }
.ptn-link-row {
	display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.ptn-link-row .ptn-kpi-value { flex: 0 1 auto; min-width: 0; text-align: left; }
.ptn-copy-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; border: 1px solid #6366f1; border-radius: 8px;
	background: #fff; color: #6366f1; font-size: 13px; font-weight: 600;
	cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.ptn-copy-btn:hover { background: #eef2ff; color: #4f46e5; }

.ptn-withdraw-section {
	margin-top: 20px; padding-top: 16px; border-top: 1px solid #f3f4f6;
}
.ptn-withdraw-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.ptn-withdraw-empty { font-size: 13px; color: #9ca3af; }
.ptn-withdraw-guide {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 12px; font-weight: 600; color: #6366f1; text-decoration: none;
	margin-bottom: 12px;
}
.ptn-withdraw-guide:hover { color: #4f46e5; text-decoration: underline; }
.ptn-withdraw-form { display: flex; align-items: center; gap: 10px; }
.ptn-withdraw-input {
	flex: 1; max-width: 360px; padding: 9px 14px;
	border: 1px solid #d1d5db; border-radius: 8px;
	font-size: 13px; color: #374151; background: #fff;
	transition: border-color .15s;
}
.ptn-withdraw-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.1); }
.ptn-withdraw-input::placeholder { color: #c4c9d4; }
.ptn-withdraw-btn {
	padding: 9px 20px; border: none; border-radius: 8px;
	background: #6366f1; color: #fff;
	font-size: 13px; font-weight: 600; cursor: pointer;
	display: inline-flex; align-items: center; gap: 5px;
	transition: background .15s;
}
.ptn-withdraw-btn:hover { background: #4f46e5; }

/* ── Detail Report Header (dtl-) ── */
.dtl-header-thumb {
	width: 56px; height: 56px; border-radius: 10px;
	object-fit: cover; flex-shrink: 0;
	border: 1px solid #e5e7eb; background: #f9fafb;
}
.dtl-header-name {
	display: flex; align-items: center; gap: 6px;
	margin-bottom: 3px;
}
.dtl-header-name span {
	font-size: 15px; font-weight: 800; color: #111827;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	max-width: 320px; display: inline-block;
}
.dtl-external-link {
	flex-shrink: 0; display: inline-flex; align-items: center;
	opacity: .55; transition: opacity .15s;
}
.dtl-external-link:hover { opacity: 1; }
.dtl-external-link img { width: 16px; height: 16px; }
.dtl-header-meta {
	display: flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 500; color: #6b7280;
	white-space: nowrap;
}
.dtl-meta-sep { color: #d1d5db; font-size: 11px; }
.dtl-kpi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.dtl-kpi-grid .dash-card {
	margin-bottom: 0;
}
.dtl-main-layout > .rpt-left-col > .dash-card {
	margin-bottom: 0;
}
.dtl-main-layout > .rpt-right-col.dash-card {
	margin-bottom: 0;
}
.dtl-kpi-grid .rpt-kpi-row {
	grid-template-columns: 1fr 110px 100px;
	gap: 4px;
}
.dtl-kpi-grid .rpt-kpi-label {
	text-align: left;
	white-space: normal;
	line-height: 1.4;
}
.dtl-kpi-grid .rpt-kpi-value {
	text-align: right;
	white-space: nowrap;
}
.dtl-kpi-grid .rpt-kpi-sub {
	text-align: right;
	white-space: nowrap;
}
.dtl-kpi-grid .rpt-kpi-row.main .rpt-kpi-value { font-size: 17px; }

/* ROAS 섹션 (상품 상세 - 광고실행지표) */
.rpt-roas-section {
	padding: 10px 0 6px;
	margin-top: 2px;
}
.rpt-roas-title {
	font-size: 13px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 10px;
	background: #fefce8;
	padding: 6px 10px;
	border-radius: 6px;
}
.rpt-roas-cols {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 4px;
	margin-bottom: 10px;
	text-align: center;
}
.rpt-roas-cols-2 {
	grid-template-columns: 1fr 1fr;
}
.rpt-roas-col-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 2px;
}
.rpt-roas-col-label.rpt-roas-report { color: #dc2626; }
.rpt-roas-col-label.rpt-roas-total { color: #2563eb; }
.rpt-roas-col-label.rpt-roas-zero { color: #d97706; }
.rpt-roas-col-value {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
}
.rpt-roas-col-sub {
	display: block;
	font-size: 11px;
	font-weight: 500;
	color: #6b7280;
	margin-top: 2px;
}
.rpt-roas-bar {
	position: relative;
	height: 10px;
	background: #1e3a5f;
	border-radius: 5px;
}
.rpt-roas-marker {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2.5px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.dtl-main-layout {
	display: grid;
	grid-template-columns: 1fr 250px;
	gap: 14px;
	margin-bottom: 14px;
	align-items: stretch;
}
.dtl-main-layout .rpt-margin-body {
	padding: 8px 12px 10px !important;
}
.dtl-main-layout .rpt-margin-group {
	margin-bottom: 6px;
}
.dtl-main-layout .rpt-margin-head {
	grid-template-columns: 1fr 90px 34px;
	padding: 5px 0;
	gap: 4px;
}
.dtl-main-layout .rpt-margin-sub {
	grid-template-columns: 1fr 90px 34px;
	padding: 3px 0;
	gap: 4px;
}
.dtl-main-layout .rpt-margin-sub > span:first-child {
	padding-left: 10px;
	text-align: left;
}
.dtl-main-layout .rpt-margin-head > span:first-child {
	text-align: left;
}
.dtl-menu-bar {
	display: flex; align-items: center; gap: 16px;
	width: 100%;
	padding-top: 12px; margin-top: 12px;
	border-top: 1px solid #e5e7eb;
}
.dtl-menu-tab {
	background: none; border: none; padding: 0;
	font-size: 13px; font-weight: 600; color: #9ca3af;
	cursor: pointer; transition: color .15s; white-space: nowrap;
}
.dtl-menu-tab:hover { color: #374151; }
.dtl-menu-tab.active { color: #111827; }
.dtl-menu-sep { color: #e5e7eb; font-size: 12px; font-weight: 400; }

/* ── 6개월 추세예측 페이지 ── */
.dtl-predict-guide {
	font-size: 13px; color: #374151; line-height: 1.8;
	padding: 8px 0 16px;
}
.dtl-predict-link-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 18px; border: none; border-radius: 8px;
	background: #4f46e5; color: #fff; font-size: 13px; font-weight: 600;
	cursor: pointer; transition: background .15s;
}
.dtl-predict-link-btn:hover { background: #4338ca; }
.dtl-predict-form-wrap {
	max-width: 480px; margin: 0 auto; padding: 20px 0;
}
.dtl-predict-input-group {
	margin-bottom: 14px;
}
.dtl-predict-input-group label {
	display: block; font-size: 13px; font-weight: 600; color: #374151;
	margin-bottom: 4px;
}
.dtl-predict-input {
	width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px;
	font-size: 14px; color: #111827; background: #fff;
	transition: border-color .15s;
}
.dtl-predict-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.dtl-predict-submit-btn {
	width: 100%; padding: 10px 0; border: none; border-radius: 8px;
	background: #4f46e5; color: #fff; font-size: 14px; font-weight: 600;
	cursor: pointer; transition: background .15s; margin-top: 6px;
}
.dtl-predict-submit-btn:hover { background: #4338ca; }
.dtl-predict-search-wrap {
	margin-bottom: 14px;
}
.dtl-predict-search-row {
	display: flex; align-items: center; gap: 10px;
}
.dtl-predict-search-label {
	font-size: 14px; font-weight: 700; color: #374151; white-space: nowrap;
}
.dtl-predict-search-input {
	flex: 1; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px;
	font-size: 16px; color: #111827; background: #fff;
	transition: border-color .15s;
}
.dtl-predict-search-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.dtl-predict-search-btn {
	padding: 10px 24px; border: none; border-radius: 8px;
	background: #4f46e5; color: #fff; font-size: 14px; font-weight: 600;
	cursor: pointer; transition: background .15s; white-space: nowrap;
}
.dtl-predict-search-btn:hover { background: #4338ca; }
.dtl-predict-suggestions {
	margin-top: 4px; background: #fff; border: 1px solid #e5e7eb;
	border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.08);
	display: none; overflow: hidden;
}
.dtl-predict-suggestions .suggestion-item {
	padding: 8px 14px; font-size: 13px; color: #374151;
	cursor: pointer; transition: background .1s;
}
.dtl-predict-suggestions .suggestion-item:hover { background: #f3f4f6; }
.dtl-predict-notes {
	margin: 12px 0 0; padding: 12px 14px; background: #f8fafc;
	border: 1px solid #e5e7eb; border-radius: 8px;
}
.dtl-predict-notes p {
	margin: 0 0 4px; font-size: 12px; color: #6b7280; line-height: 1.6;
}
.dtl-predict-notes p:last-child { margin-bottom: 0; }
.dtl-predict-table {
	width: 100%; border-collapse: collapse; font-size: 13px;
}
.dtl-predict-table thead th {
	background: #f9fafb; color: #6b7280; font-weight: 600;
	padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: center;
}
.dtl-predict-table tbody td {
	padding: 10px 12px; border-bottom: 1px solid #f3f4f6;
	color: #374151; text-align: right; font-weight: 500;
}
.dtl-predict-td-label {
	text-align: left !important; font-weight: 600 !important; color: #111827 !important;
}

/* ── 광고 시나리오 마진 계산기 ── */
.dtl-cal-warning {
	display: flex; align-items: center; gap: 6px;
	padding: 8px 12px; background: #fffbeb; border: 1px solid #fde68a;
	border-radius: 8px; font-size: 12px; color: #92400e; margin-bottom: 8px;
}
.dtl-cal-cost-toggle {
	background: none; border: 1px solid #d1d5db; border-radius: 6px;
	padding: 4px 12px; font-size: 12px; font-weight: 500; color: #6b7280;
	cursor: pointer; transition: all .15s; white-space: nowrap;
}
.dtl-cal-cost-toggle:hover { border-color: #6366f1; color: #4f46e5; }
.dtl-cal-cost-toggle.active { border-color: #6366f1; color: #4f46e5; background: #eef2ff; }
.dtl-cal-layout {
	display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px;
	margin-top: 14px; align-items: start;
}
.dtl-cal-input-card { margin-bottom: 0; }
.dtl-cal-result-card { margin-bottom: 0; }
.dtl-cal-slider-group {
	margin-bottom: 20px; padding-bottom: 16px;
	border-bottom: 1px solid #f3f4f6;
}
.dtl-cal-slider-group:last-of-type { border-bottom: none; margin-bottom: 10px; padding-bottom: 0; }
.dtl-cal-slider-title {
	font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px;
}
.dtl-cal-slider-value {
	text-align: center; font-size: 22px; font-weight: 800; color: #111827;
	margin-bottom: 8px;
}
.dtl-cal-slider-value .unit { font-size: 14px; font-weight: 500; color: #6b7280; }
.dtl-cal-slider-ref {
	font-size: 11px; color: #9ca3af; text-align: center; line-height: 1.6; margin-top: 6px;
}
.dtl-cal-submit-btn {
	width: 100%; padding: 12px 0; border: none; border-radius: 8px;
	background: #4f46e5; color: #fff; font-size: 14px; font-weight: 700;
	cursor: pointer; transition: background .15s; margin-top: 4px;
}
.dtl-cal-submit-btn:hover { background: #4338ca; }
.dtl-cal-result-title {
	font-size: 14px; font-weight: 700; color: #111827;
	padding-bottom: 8px; border-bottom: 1px solid #e5e7eb; margin-bottom: 10px;
}
.dtl-cal-result-note {
	font-size: 11px; color: #9ca3af; line-height: 1.6; margin-bottom: 12px;
}
.dtl-cal-table {
	width: 100%; border-collapse: collapse; font-size: 13px;
}
.dtl-cal-table thead th {
	background: #f9fafb; color: #6b7280; font-weight: 600;
	padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: center;
}
.dtl-cal-table tbody td {
	padding: 10px 12px; border-bottom: 1px solid #f3f4f6;
	text-align: right; font-size: 15px; font-weight: 700; color: #374151;
}
.dtl-cal-td-label {
	text-align: left !important; font-weight: 600 !important; color: #6b7280 !important;
	font-size: 13px !important; background: #f9fafb;
}
.dtl-cal-th-total { color: #4f46e5 !important; }
.dtl-cal-td-total { color: #4f46e5 !important; font-weight: 800 !important; }
.dtl-cal-opt-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
}
.dtl-cal-opt-item {
	background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px;
	padding: 12px 14px;
}
.dtl-cal-opt-name {
	font-size: 13px; font-weight: 700; color: #111827;
	text-align: center; margin-bottom: 10px;
	padding-bottom: 8px; border-bottom: 1px solid #e5e7eb;
}
.dtl-cal-opt-row {
	display: flex; gap: 8px;
}
.dtl-cal-opt-cell {
	flex: 1; text-align: center;
}
.dtl-cal-opt-label {
	font-size: 11px; font-weight: 500; color: #9ca3af; margin-bottom: 2px;
}
.dtl-cal-opt-value {
	font-size: 14px; font-weight: 700; color: #374151;
}

/* ── 관련광고 모두보기 버튼 ── */
.dtl-rel-ads-btn {
	margin-left: auto;
	padding: 4px 14px;
	font-size: 12px; font-weight: 600;
	color: #6366f1; background: #eef2ff;
	border: 1px solid #c7d2fe; border-radius: 6px;
	cursor: pointer; transition: all .15s;
	white-space: nowrap;
}
.dtl-rel-ads-btn:hover {
	background: #6366f1; color: #fff; border-color: #6366f1;
}

/* ── 관련광고 슬라이드 패널 ── */
.dtl-slide-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.35);
	z-index: 9998; opacity: 0; pointer-events: none;
	transition: opacity .25s;
}
.dtl-slide-overlay.open { opacity: 1; pointer-events: auto; }

.dtl-slide-panel {
	position: fixed; top: 0; right: 0; bottom: 0;
	width: 420px; max-width: 90vw;
	background: #fff; z-index: 9999;
	box-shadow: -4px 0 24px rgba(0,0,0,.12);
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
	display: flex; flex-direction: column;
}
.dtl-slide-panel.open { transform: translateX(0); }

.dtl-slide-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 22px; border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
}
.dtl-slide-title {
	font-size: 16px; font-weight: 700; color: #111827;
}
.dtl-slide-close {
	background: none; border: none; font-size: 26px;
	color: #9ca3af; cursor: pointer; line-height: 1;
	padding: 0 4px; transition: color .15s;
}
.dtl-slide-close:hover { color: #374151; }

.dtl-slide-body {
	flex: 1; overflow-y: auto; padding: 16px 22px;
}
.dtl-slide-loading, .dtl-slide-empty {
	text-align: center; color: #9ca3af; font-size: 14px;
	padding: 40px 0;
}
.dtl-slide-count {
	font-size: 13px; color: #6b7280; margin-bottom: 14px;
}
.dtl-slide-count strong { color: #4f46e5; }

.dtl-slide-card {
	display: block; text-decoration: none; color: inherit;
	background: #f8fafc; border: 1px solid #e5e7eb;
	border-radius: 10px; padding: 14px 16px;
	margin-bottom: 10px; transition: all .15s;
}
.dtl-slide-card:hover {
	border-color: #a5b4fc; background: #eef2ff;
	text-decoration: none; color: inherit;
}
.dtl-slide-card-top {
	display: flex; align-items: center; justify-content: space-between;
}
.dtl-slide-camp {
	font-size: 11px; font-weight: 500; color: #9ca3af;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	max-width: calc(100% - 24px);
}
.dtl-slide-arrow {
	font-size: 18px; color: #c7d2fe; flex-shrink: 0;
}
.dtl-slide-group {
	font-size: 14px; font-weight: 600; color: #111827;
	margin: 6px 0 10px; line-height: 1.4;
	overflow: hidden; text-overflow: ellipsis;
	display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.dtl-slide-metrics {
	display: flex; gap: 20px; margin-bottom: 8px;
}
.dtl-slide-metric {
	display: flex; flex-direction: column; gap: 2px;
}
.dtl-slide-metric-label {
	font-size: 11px; font-weight: 500; color: #9ca3af;
}
.dtl-slide-metric-value {
	font-size: 15px; font-weight: 700; color: #374151;
}
.dtl-slide-metric-value small {
	font-size: 11px; font-weight: 500; color: #9ca3af; margin-left: 2px;
}
.dtl-slide-period {
	font-size: 11px; color: #9ca3af;
}