/**
 * conf-manager 管理画面スタイル
 *
 * @since 1.0.0
 */
.conf-manager-admin {
	max-width: 1200px;
	margin: 20px 20px 20px 0;
}

.conf-manager-admin__header {
	margin-bottom: 20px;
}

.conf-manager-admin__header h1 {
	font-size: 23px;
	font-weight: 400;
	margin: 0;
	padding: 9px 0 4px;
}

.conf-manager-admin__body {
	display: flex;
	gap: 20px;
}

.conf-manager-admin__nav {
	flex: 0 0 200px;
	background: #fff;
	border: 1px solid #c3c4c7;
	padding: 8px 0;
}

.conf-manager-admin__nav .components-menu-item__button {
	width: 100%;
	justify-content: flex-start;
}

.conf-manager-admin__content {
	flex: 1;
	min-width: 0;
}

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

.conf-manager-page-header h2 {
	margin: 0;
}

.conf-manager-search {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	margin-bottom: 16px;
}

.conf-manager-search .components-base-control {
	margin-bottom: 0;
}

.conf-manager-search__spacer {
	flex: 1;
}

.conf-manager-btn--danger.components-button {
	background: #d63638;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0 14px;
	height: 36px;
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
}

.conf-manager-btn--danger.components-button:hover {
	background: #b32d2e;
	color: #fff;
}

.conf-manager-btn--danger.components-button:focus {
	box-shadow: 0 0 0 2px #d63638;
}

.conf-manager-btn--primary.components-button {
	background: #3858e9;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0 14px;
	height: 36px;
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
}

.conf-manager-btn--primary.components-button:hover {
	background: #1d35b4;
	color: #fff;
}

.conf-manager-btn--primary.components-button:focus {
	box-shadow: 0 0 0 2px #3858e9;
}

.conf-manager-btn--success.components-button {
	background: #00a32a;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0 14px;
	height: 36px;
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
}

.conf-manager-btn--success.components-button:hover {
	background: #008a20;
	color: #fff;
}

.conf-manager-btn--success.components-button:focus {
	box-shadow: 0 0 0 2px #00a32a;
}

/* ミニボタン（操作セル用） */
.conf-manager-btn--mini {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	border-radius: 3px;
	border: none;
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity .15s;
}

.conf-manager-btn--mini:hover,
.conf-manager-btn--mini:focus {
	opacity: .85;
	color: #fff !important;
}

.conf-manager-btn--mini-blue,
.conf-manager-btn--mini-blue.components-button {
	background: #3858e9;
	color: #fff;
}

.conf-manager-btn--mini-green,
.conf-manager-btn--mini-green.components-button {
	background: #00a32a;
	color: #fff;
}

.conf-manager-btn--mini-teal,
.conf-manager-btn--mini-teal.components-button {
	background: #00838f;
	color: #fff;
}

.conf-manager-btn--mini-orange {
	background: #d97706;
	color: #fff;
}

.conf-manager-table__loading {
	padding: 20px;
	text-align: center;
	color: #757575;
}

.conf-manager-table__pagination {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	justify-content: center;
}

.conf-manager-table__page-info {
	color: #757575;
	font-size: 13px;
}

.conf-manager-table table {
	border-collapse: collapse;
}

.conf-manager-table table th,
.conf-manager-table table td {
	padding: 8px 12px;
}

.conf-manager-modal--wide .components-modal__content {
	min-width: 600px;
}

/* 会員フォーム: 各入力欄のラベルを上の要素から離す */
.conf-manager-member-modal .components-base-control {
	margin-bottom: 16px;
}

/* CSVインポートガイド */
.conf-manager-import__guide {
	background: #f6f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 16px;
}

.conf-manager-import__guide h4 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1e1e1e;
}

.conf-manager-import__spec {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 4px 12px;
	margin: 0;
	font-size: 13px;
}

.conf-manager-import__spec dt {
	font-weight: 600;
	color: #50575e;
}

.conf-manager-import__spec dd {
	margin: 0;
	color: #1e1e1e;
}

.conf-manager-import__spec dd code {
	font-size: 12px;
	background: #fff;
	padding: 1px 5px;
	border-radius: 3px;
	border: 1px solid #ddd;
}

.conf-manager-import__note {
	font-size: 12px;
	color: #757575;
	margin: 10px 0 0;
	line-height: 1.5;
}

.conf-manager-import__preview {
	margin-top: 16px;
}

.conf-manager-import__preview h4 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.conf-manager-import__count {
	font-size: 12px;
	font-weight: 400;
	color: #3858e9;
	background: #eef2ff;
	padding: 2px 10px;
	border-radius: 10px;
}

.conf-manager-import__table-wrap {
	max-height: 260px;
	overflow: auto;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}

.conf-manager-import__table-wrap table {
	margin: 0;
	font-size: 12px;
}

.conf-manager-import__table-wrap th {
	position: sticky;
	top: 0;
	background: #f6f7f7;
	z-index: 1;
	font-size: 11px;
}

.conf-manager-import__warning {
	background: #fef8ee;
	border: 1px solid #f0c33c;
	border-left: 4px solid #dba617;
	border-radius: 4px;
	padding: 14px 18px;
	margin-bottom: 16px;
	font-size: 13px;
}

.conf-manager-import__warning strong {
	display: block;
	margin-bottom: 6px;
	color: #7a5600;
}

.conf-manager-import__warning ul {
	margin: 0;
	padding: 0 0 0 18px;
	color: #50575e;
	line-height: 1.7;
}

.conf-manager-import__template {
	margin-bottom: 16px;
}

/* DataTable 横スクロール対応 */
.conf-manager-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ダッシュボード グリッド */
.conf-manager-dashboard__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.conf-manager-dashboard__card {
	background: #fff;
	border: 1px solid #c3c4c7;
	padding: 16px 20px;
	border-radius: 4px;
}

.conf-manager-dashboard__card h3 {
	margin: 0 0 12px;
	border-bottom: 1px solid #eee;
	padding-bottom: 8px;
}

/* 通知管理: 条件絞込 */
.conf-manager-notification__filters {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.conf-manager-notification__filters .components-base-control {
	flex: 1;
}

/* 通知管理: 個別送信 */
.conf-manager-notification__individual {
	margin-top: 8px;
}

.conf-manager-notification__member-search {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}

.conf-manager-notification__member-search .components-base-control {
	flex: 1;
	margin-bottom: 0;
}

.conf-manager-notification__member-results {
	max-height: 200px;
	overflow-y: auto;
	margin-top: 8px;
	border: 1px solid #c3c4c7;
	border-radius: 2px;
}

.conf-manager-notification__member-results table {
	margin: 0;
}

.conf-manager-notification__selected-members {
	margin-top: 12px;
}

.conf-manager-notification__member-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.conf-manager-notification__member-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f0f0f1;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	padding: 2px 8px;
	font-size: 13px;
}

.conf-manager-notification__member-tag-remove {
	background: none;
	border: none;
	cursor: pointer;
	color: #d63638;
	font-size: 16px;
	line-height: 1;
	padding: 0 2px;
}

.conf-manager-notification__member-tag-remove:hover {
	color: #a00;
}

/* 初期設定ページ */
.conf-manager-setup__section {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 16px 20px;
	margin-bottom: 16px;
}

.conf-manager-setup__section h3 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

.conf-manager-setup__item {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1;
}

.conf-manager-setup__item:last-child {
	border-bottom: none;
}

.conf-manager-setup__item-header {
	display: flex;
	align-items: center;
	gap: 8px;
}

.conf-manager-setup__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: bold;
	flex-shrink: 0;
}

.conf-manager-setup__status.is-ok {
	background: #d4edda;
	color: #00a32a;
}

.conf-manager-setup__status.is-error {
	background: #f8d7da;
	color: #d63638;
}

.conf-manager-setup__status.is-warning {
	background: #fff3cd;
	color: #856404;
}

.conf-manager-setup__item-desc {
	margin: 4px 0 0 30px;
	font-size: 13px;
	color: #50575e;
}

.conf-manager-setup__note {
	font-size: 13px;
	color: #646970;
	margin: 8px 0;
}

.conf-manager-setup__complete {
	background: linear-gradient(135deg, #0d7c3d 0%, #00a32a 50%, #2db84b 100%);
	color: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	margin-bottom: 24px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.conf-manager-setup__incomplete {
	background: linear-gradient(135deg, #9a6700 0%, #dba617 50%, #e8c848 100%);
	color: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	margin-bottom: 24px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.conf-manager-setup__complete-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.conf-manager-setup__complete h3,
.conf-manager-setup__incomplete h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px;
	color: #fff;
}

.conf-manager-setup__complete p,
.conf-manager-setup__incomplete p {
	font-size: 14px;
	margin: 0;
	opacity: 0.92;
	line-height: 1.6;
}

.conf-manager-setup__complete ul,
.conf-manager-setup__incomplete-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.conf-manager-setup__complete ul li,
.conf-manager-setup__incomplete-list li {
	font-size: 13px;
	padding: 3px 0 3px 20px;
	position: relative;
	opacity: 0.88;
	line-height: 1.5;
}

.conf-manager-setup__incomplete-list li {
	padding: 6px 0 6px 22px;
	opacity: 0.96;
}

.conf-manager-setup__incomplete-list li::before {
	content: "•";
	position: absolute;
	left: 6px;
	top: 4px;
	font-weight: bold;
	color: #fff;
}

.conf-manager-setup__incomplete-list li strong {
	color: #fff;
	font-weight: 600;
}

.conf-manager-setup__complete ul li::before {
	content: "!";
	position: absolute;
	left: 0;
	top: 3px;
	width: 14px;
	height: 14px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.conf-manager-setup__cron-guide {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.conf-manager-setup__cron-guide h4 {
	margin: 0 0 8px;
}

.conf-manager-setup__cron-guide pre {
	background: #f0f0f1;
	padding: 8px 12px;
	border-radius: 3px;
	font-size: 13px;
	overflow-x: auto;
}

.conf-manager-setup__cron-guide table {
	margin-top: 8px;
}

.conf-manager-setup__mail-recommend {
	background: #f0f6ff;
	border: 1px solid #c5d7f2;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 16px;
}

.conf-manager-setup__mail-recommend > h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
	color: #1d35b4;
}

.conf-manager-setup__mail-recommend > p {
	font-size: 13px;
	color: #50575e;
	margin: 0 0 16px;
	line-height: 1.6;
}

.conf-manager-setup__mail-recommend-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.conf-manager-setup__mail-recommend-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px 18px;
}

.conf-manager-setup__mail-recommend-step {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, #1d35b4, #3858e9);
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.conf-manager-setup__mail-recommend-card strong {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
	color: #1e1e1e;
}

.conf-manager-setup__mail-recommend-card p {
	font-size: 12.5px;
	color: #50575e;
	margin: 0;
	line-height: 1.6;
}

.conf-manager-setup__cron-guide table code,
.conf-manager-setup__mail-guide table code {
	font-size: 11px;
	word-break: break-all;
}

.conf-manager-setup__mail-guide {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.conf-manager-setup__mail-guide h4 {
	margin: 0 0 8px;
}

.conf-manager-setup__mail-guide table {
	margin-top: 8px;
}

.conf-manager-setup__checklist {
	margin: 8px 0 0;
	padding-left: 24px;
	font-size: 13px;
	color: #50575e;
}

.conf-manager-setup__checklist li {
	margin-bottom: 4px;
}

/* イベント選択ピッカー */
.conf-manager-event-picker {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
	border: 1px solid #c3d7f7;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.conf-manager-event-picker__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(56, 88, 233, .12);
	color: #3858e9;
}

.conf-manager-event-picker__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.conf-manager-event-picker__label {
	font-size: 12px;
	font-weight: 600;
	color: #3858e9;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.conf-manager-event-picker__select {
	width: 100%;
	max-width: 480px;
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid #c3d7f7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}

.conf-manager-event-picker__select:hover {
	border-color: #3858e9;
}

.conf-manager-event-picker__select:focus {
	outline: none;
	border-color: #3858e9;
	box-shadow: 0 0 0 2px rgba(56, 88, 233, .2);
}

.conf-manager-event-picker__stats {
	display: flex;
	gap: 10px;
	margin-left: auto;
	align-items: center;
}

.conf-manager-event-picker__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 14px;
	border-radius: 6px;
	min-width: 80px;
}

.conf-manager-event-picker__stat--teal {
	background: rgba(0, 131, 143, .1);
	border: 1px solid rgba(0, 131, 143, .25);
}

.conf-manager-event-picker__stat--green {
	background: rgba(0, 163, 42, .1);
	border: 1px solid rgba(0, 163, 42, .25);
}

.conf-manager-event-picker__stat--orange {
	background: rgba(217, 119, 6, .1);
	border: 1px solid rgba(217, 119, 6, .25);
}

.conf-manager-event-picker__stat-value {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #1d2327;
}

.conf-manager-event-picker__stat-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.conf-manager-event-picker__stat--teal .conf-manager-event-picker__stat-label {
	color: #00838f;
}

.conf-manager-event-picker__stat--green .conf-manager-event-picker__stat-label {
	color: #00a32a;
}

.conf-manager-event-picker__stat--orange .conf-manager-event-picker__stat-label {
	color: #d97706;
}

/* 協賛企業管理 */
.conf-manager-sponsor__section {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 16px 20px;
	margin-bottom: 16px;
}

.conf-manager-sponsor__section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

.conf-manager-sponsor__section-header h3 {
	margin: 0;
}

.conf-manager-sponsor__empty {
	color: #646970;
	font-style: italic;
	margin: 8px 0;
}

.conf-manager-sponsor__benefits {
	margin-bottom: 16px;
}

.conf-manager-sponsor__benefits > label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.conf-manager-sponsor__benefits-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 8px;
}

.conf-manager-sponsor__benefits-checks .components-checkbox-control {
	margin: 0;
}

.conf-manager-sponsor__benefits-custom {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.conf-manager-sponsor__benefits-add {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}

.conf-manager-sponsor__benefits-add .components-base-control {
	flex: 1;
	margin-bottom: 0;
}

/* 暗号化モーダル */
.conf-manager-encryption-modal .components-modal__content {
	max-width: 680px;
}

.conf-manager-encryption-modal__section {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.conf-manager-encryption-modal__section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.conf-manager-encryption-modal__section h3 {
	margin: 0 0 8px;
	font-size: 14px;
}

.conf-manager-encryption-modal__section p {
	margin: 4px 0;
	font-size: 13px;
	color: #50575e;
}

.conf-manager-encryption-modal__benefits {
	list-style: none;
	padding: 0;
	margin: 8px 0;
}

.conf-manager-encryption-modal__benefits li {
	display: flex;
	flex-direction: column;
	padding: 8px 12px;
	margin-bottom: 6px;
	background: #f0f6fc;
	border-left: 3px solid #2271b1;
	border-radius: 2px;
}

.conf-manager-encryption-modal__benefits li strong {
	color: #1d2327;
	margin-bottom: 2px;
}

.conf-manager-encryption-modal__benefits li span {
	font-size: 13px;
	color: #50575e;
}

.conf-manager-encryption-modal__diagram {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 12px 0;
	padding: 16px;
	background: #f9f9f9;
	border-radius: 4px;
}

.conf-manager-encryption-modal__diagram-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	min-width: 100px;
}

.conf-manager-encryption-modal__diagram-step.is-highlight {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.conf-manager-encryption-modal__diagram-step.is-highlight .conf-manager-encryption-modal__diagram-label {
	color: #fff;
}

.conf-manager-encryption-modal__diagram-label {
	font-weight: 600;
	font-size: 12px;
	color: #1d2327;
}

.conf-manager-encryption-modal__diagram-sub {
	font-size: 11px;
	opacity: 0.85;
}

.conf-manager-encryption-modal__diagram-step code {
	font-size: 11px;
	margin-top: 4px;
}

.conf-manager-encryption-modal__diagram-arrow {
	font-size: 20px;
	color: #2271b1;
	font-weight: bold;
}

.conf-manager-encryption-modal__features {
	margin: 8px 0 0;
	padding-left: 20px;
	font-size: 13px;
	color: #50575e;
}

.conf-manager-encryption-modal__features li {
	margin-bottom: 4px;
}

.conf-manager-encryption-modal__section.is-success {
	background: #f0faf0;
	padding: 12px 16px;
	border-radius: 4px;
	border: 1px solid #d4edda;
}

.conf-manager-encryption-modal__key-id {
	font-size: 13px;
}

.conf-manager-encryption-modal__key-id code {
	background: #e8e8e8;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 13px;
	letter-spacing: 1px;
}

.conf-manager-encryption-modal__step {
	margin-bottom: 16px;
	padding: 12px 16px;
	background: #f9f9f9;
	border-radius: 4px;
}

.conf-manager-encryption-modal__step h4 {
	margin: 0 0 6px;
	font-size: 13px;
}

.conf-manager-encryption-modal__step p {
	margin: 4px 0 8px;
}

.conf-manager-encryption-modal__generated {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.conf-manager-encryption-modal__key-display {
	display: block;
	background: #1d2327;
	color: #50d450;
	padding: 6px 10px;
	border-radius: 3px;
	font-size: 12px;
	word-break: break-all;
	flex: 1;
	min-width: 200px;
}

.conf-manager-encryption-modal__code-block {
	margin-top: 8px;
}

.conf-manager-encryption-modal__code-block pre {
	background: #f0f0f1;
	padding: 10px 14px;
	border-radius: 3px;
	font-size: 12px;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-all;
	margin: 0 0 8px;
}

.conf-manager-encryption-modal__warning {
	margin-top: 12px;
	padding: 10px 14px;
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	border-radius: 2px;
	font-size: 13px;
	color: #50575e;
}

.conf-manager-encryption-modal__warning strong {
	color: #d63638;
}

.conf-manager-encryption-modal__warning ul {
	margin: 6px 0 0;
	padding-left: 20px;
}

.conf-manager-encryption-modal__warning ul li {
	margin-bottom: 4px;
}

/* 暗号化モーダル: アップグレード案内 */
.conf-manager-encryption-modal__upgrade {
	margin-top: 12px;
	padding: 12px 16px;
	background: #f0f6fc;
	border: 1px solid #c3d9ed;
	border-radius: 4px;
}

.conf-manager-encryption-modal__upgrade h4 {
	margin: 0 0 6px;
	font-size: 13px;
	color: #2271b1;
}

.conf-manager-encryption-modal__upgrade p {
	margin: 4px 0;
}

.conf-manager-encryption-modal__comparison {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0;
	font-size: 13px;
}

.conf-manager-encryption-modal__comparison th,
.conf-manager-encryption-modal__comparison td {
	padding: 6px 10px;
	border: 1px solid #c3d9ed;
	text-align: center;
}

.conf-manager-encryption-modal__comparison th {
	background: #e8f0fe;
	font-weight: 600;
	font-size: 12px;
}

.conf-manager-encryption-modal__comparison td:first-child {
	text-align: left;
	font-weight: 500;
	background: #f8fafe;
}

.conf-manager-encryption-modal__migrate-details {
	margin-top: 10px;
}

.conf-manager-encryption-modal__migrate-details summary {
	cursor: pointer;
	color: #2271b1;
	font-size: 13px;
	font-weight: 500;
}

.conf-manager-encryption-modal__migrate-details summary:hover {
	text-decoration: underline;
}

.conf-manager-encryption-modal__migrate-details[open] summary {
	margin-bottom: 8px;
}

/* レスポンシブ（782px = WP管理画面のブレイクポイント） */
@media (max-width: 782px) {
	.conf-manager-admin {
		margin: 10px;
	}

	.conf-manager-admin__body {
		flex-direction: column;
		gap: 12px;
	}

	.conf-manager-admin__nav {
		flex: 0 0 auto;
		display: flex;
		flex-wrap: wrap;
		padding: 4px;
		gap: 2px;
	}

	.conf-manager-admin__nav .components-menu-item__button {
		width: auto;
		padding: 6px 10px;
		font-size: 12px;
	}

	.conf-manager-admin__content {
		min-width: 0;
	}

	.conf-manager-page-header {
		flex-wrap: wrap;
		gap: 8px;
	}

	.conf-manager-search {
		flex-wrap: wrap;
	}

	.conf-manager-table table th,
	.conf-manager-table table td {
		padding: 6px 8px;
		font-size: 12px;
		white-space: nowrap;
	}

	.conf-manager-table__pagination {
		gap: 8px;
		flex-wrap: wrap;
	}

	.conf-manager-dashboard__grid {
		grid-template-columns: 1fr;
	}

	.conf-manager-modal--wide .components-modal__content {
		min-width: auto;
	}
}

/* ============================================
   決済管理 — 売上集計カード
   ============================================ */
.conf-manager-payment-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.conf-manager-payment-summary__card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 16px;
}

.conf-manager-payment-summary__card.is-completed {
	border-left: 4px solid #00a32a;
}

.conf-manager-payment-summary__card.is-pending {
	border-left: 4px solid #d63638;
}

.conf-manager-payment-summary__label {
	font-size: 13px;
	color: #50575e;
	margin-bottom: 4px;
}

.conf-manager-payment-summary__value {
	font-size: 24px;
	font-weight: bold;
	color: #1d2327;
}

.conf-manager-payment-summary__count {
	font-size: 13px;
	color: #757575;
	margin-top: 4px;
}

/* ============================================
   Stripe設定モーダル
   ============================================ */
.conf-manager-stripe-modal .components-modal__content {
	max-width: 700px;
}

.conf-manager-stripe-modal__content {
	line-height: 1.6;
}

.conf-manager-stripe-modal__section {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #dcdcde;
}

.conf-manager-stripe-modal__section:last-child {
	border-bottom: none;
}

.conf-manager-stripe-modal__section h4 {
	margin: 0 0 12px;
	font-size: 15px;
}

.conf-manager-stripe-modal__features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 12px;
}

.conf-manager-stripe-modal__feature {
	background: #f0f6fc;
	border-radius: 4px;
	padding: 12px;
	text-align: center;
}

.conf-manager-stripe-modal__feature strong {
	display: block;
	margin-bottom: 4px;
	color: #2271b1;
}

.conf-manager-stripe-modal__feature p {
	margin: 0;
	font-size: 12px;
	color: #50575e;
}

.conf-manager-stripe-modal__step {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.conf-manager-stripe-modal__step-number {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: #2271b1;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}

.conf-manager-stripe-modal__step p {
	margin: 4px 0 0;
	font-size: 13px;
}

.conf-manager-stripe-modal__code {
	background: #1d2327;
	color: #50d17c;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 12px;
	overflow-x: auto;
	white-space: pre;
	margin: 8px 0;
}

.conf-manager-stripe-modal__webhook-url {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f6f7f7;
	padding: 8px 12px;
	border-radius: 4px;
	margin: 8px 0;
}

.conf-manager-stripe-modal__webhook-url code {
	flex: 1;
	font-size: 12px;
	word-break: break-all;
}

.conf-manager-stripe-modal__mode-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-top: 12px;
}

.conf-manager-stripe-modal__mode-table th,
.conf-manager-stripe-modal__mode-table td {
	border: 1px solid #dcdcde;
	padding: 8px 12px;
	text-align: left;
}

.conf-manager-stripe-modal__mode-table th {
	background: #f6f7f7;
}

.conf-manager-stripe-modal__test-result {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 13px;
}

.conf-manager-stripe-modal__test-result.is-success {
	background: #d4edda;
	color: #155724;
}

.conf-manager-stripe-modal__test-result.is-error {
	background: #f8d7da;
	color: #721c24;
}

.conf-manager-stripe-modal__test-result p {
	margin: 0 0 4px;
}

.conf-manager-stripe-modal__test-result p:last-child {
	margin-bottom: 0;
}

/* ============================================
   初期設定 — 決済手段チェックボックス
   ============================================ */
.conf-manager-setup__payment-methods {
	margin-bottom: 16px;
}

.conf-manager-setup__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	cursor: pointer;
	font-size: 14px;
}

.conf-manager-setup__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
}

/* === QR受付ページ === */
.conf-manager-checkin__event-select {
	max-width: 400px;
	margin-bottom: 16px;
}

.conf-manager-checkin__counter {
	font-size: 14px;
	color: #00a32a;
	font-weight: 600;
	margin-left: 16px;
}

.conf-manager-checkin__notice {
	margin-bottom: 16px;
}

.conf-manager-checkin__result {
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 16px;
	border: 2px solid;
}

.conf-manager-checkin__result.is-success {
	background: #edfaef;
	border-color: #00a32a;
}

.conf-manager-checkin__result.is-warning {
	background: #fcf9e8;
	border-color: #dba617;
}

.conf-manager-checkin__result-name {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 8px;
}

.conf-manager-checkin__result-detail {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	color: #50575e;
}

.conf-manager-checkin__scanner {
	margin-bottom: 20px;
}

.conf-manager-checkin__scanner #conf-qr-reader {
	max-width: 400px;
	margin-bottom: 12px;
}

.conf-manager-checkin__scan-btn {
	min-width: 200px;
	height: 48px !important;
	font-size: 16px !important;
}

.conf-manager-checkin__manual {
	border-top: 1px solid #dcdcde;
	padding-top: 16px;
}

.conf-manager-checkin__manual-form {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	max-width: 400px;
}

.conf-manager-checkin__manual-form .components-base-control {
	flex: 1;
}

/* === ガイドセクション共通 === */
.conf-manager-guide {
	margin-bottom: 24px;
}

.conf-manager-guide__hero {
	background: linear-gradient(135deg, #1d35b4 0%, #3858e9 50%, #6366f1 100%);
	color: #fff;
	border-radius: 12px;
	padding: 32px 36px;
	margin-bottom: 20px;
}

.conf-manager-guide__hero h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #fff;
	letter-spacing: 0.02em;
}

.conf-manager-guide__hero p {
	font-size: 14px;
	margin: 0;
	opacity: 0.9;
	line-height: 1.6;
}

.conf-manager-guide__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 782px) {
	.conf-manager-guide__cards {
		grid-template-columns: 1fr;
	}
}

.conf-manager-guide__card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 24px;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.conf-manager-guide__card:hover {
	border-color: #3858e9;
	box-shadow: 0 4px 16px rgba(56, 88, 233, 0.10);
}

.conf-manager-guide__card-icon {
	width: 48px;
	height: 48px;
	background: #eef2ff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	color: #3858e9;
}

.conf-manager-guide__card h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1e1e1e;
}

.conf-manager-guide__card > p {
	font-size: 13px;
	color: #50575e;
	line-height: 1.6;
	margin: 0 0 12px;
}

.conf-manager-guide__card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.conf-manager-guide__card ul li {
	font-size: 12.5px;
	color: #3c434a;
	padding: 4px 0 4px 18px;
	position: relative;
	line-height: 1.5;
}

.conf-manager-guide__card ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 8px;
	height: 8px;
	background: #3858e9;
	border-radius: 50%;
	opacity: 0.5;
}

/* ─── 団体バッジ ─── */
.conf-manager-badge--group {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	background: #00838f;
	border-radius: 10px;
	vertical-align: middle;
	white-space: nowrap;
}

/* ─── スタッフ展開パネル ─── */
.conf-manager-staff-row > td {
	background: #f6f7f7;
}

.conf-manager-staff-panel {
	margin: 0;
	padding: 12px 16px;
	border-top: 2px solid #00838f;
}

.conf-manager-staff-panel__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.conf-manager-staff-table {
	margin: 0 !important;
}

.conf-manager-staff-table th,
.conf-manager-staff-table td {
	padding: 6px 10px !important;
	font-size: 13px;
}

.conf-manager-btn--staff-toggle {
	min-height: 28px !important;
	padding: 0 8px !important;
	font-size: 12px !important;
}

/* =========================================
   Free / Pro バッジ
   ========================================= */
.conf-manager-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 7px;
	border-radius: 3px;
	letter-spacing: 0.3px;
	vertical-align: middle;
	margin-left: 6px;
}

.conf-manager-badge--tier {
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 4px;
}

.conf-manager-badge--tier.is-free {
	background: #d63638;
	color: #fff;
	border: none;
}

.conf-manager-badge--tier.is-pro {
	background: #059669;
	color: #fff;
}

.conf-manager-badge--pro {
	background: #059669;
	color: #fff;
}

.conf-manager-badge--pro.is-locked {
	background: #dcdcde;
	color: #757575;
}

/* 公開ボタン横の点滅ドット */
.conf-manager-pulse-dot {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ef4444;
	z-index: 1;
	animation: conf-pulse 1.5s ease-in-out infinite;
}

@keyframes conf-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.3; transform: scale(0.7); }
}

/* ナビの���ック表示 */
.conf-manager-nav--locked {
	opacity: 0.65;
}

.conf-manager-nav--locked:hover {
	opacity: 0.85;
}

.conf-manager-admin__nav .components-menu-item__button .conf-manager-badge {
	margin-left: auto;
	flex-shrink: 0;
}

/* =========================================
   ライセンスページ
   ========================================= */

/* ヒーロー（Pro版有効時）: GuideSection ヒーローのグリーン版 */
.conf-manager-license__hero--active {
	background: linear-gradient(135deg, #065f46 0%, #059669 50%, #34d399 100%);
}

/* ライセンスキー入力カード */
.conf-manager-license__activate-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 24px;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.conf-manager-license__activate-card:hover {
	border-color: #3858e9;
	box-shadow: 0 4px 16px rgba(56, 88, 233, 0.10);
}

.conf-manager-license__activate-header {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.conf-manager-license__activate-header h3 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #1e1e1e;
}

.conf-manager-license__activate-header p {
	margin: 0;
	font-size: 13px;
	color: #50575e;
	line-height: 1.6;
}

.conf-manager-license__activate-form {
	display: flex;
	gap: 12px;
	align-items: flex-end;
}

.conf-manager-license__activate-form .components-base-control {
	flex: 1;
	margin-bottom: 0;
}

.conf-manager-license__activate-form .components-text-control__input {
	font-size: 15px;
	padding: 10px 14px;
	letter-spacing: 1px;
	font-family: monospace;
}

.conf-manager-license__activate-btn.components-button {
	background: linear-gradient(135deg, #1d35b4, #3858e9);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0 24px;
	height: 42px;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(56, 88, 233, 0.25);
	transition: box-shadow 0.2s, transform 0.1s;
}

.conf-manager-license__activate-btn.components-button:hover {
	background: linear-gradient(135deg, #162d9e, #2d4ad6);
	color: #fff;
	box-shadow: 0 4px 16px rgba(56, 88, 233, 0.35);
	transform: translateY(-1px);
}

.conf-manager-license__activate-hint {
	font-size: 12px;
	color: #757575;
	margin: 6px 0 0;
}

/* ライセンス情報 — 3カード横並び */
.conf-manager-license-info {
	margin-bottom: 28px;
}

.conf-manager-license-info__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 782px) {
	.conf-manager-license-info__cards {
		grid-template-columns: 1fr;
	}
}

.conf-manager-license-info__card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px 22px;
	text-align: center;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.conf-manager-license-info__card:hover {
	border-color: #059669;
	box-shadow: 0 4px 16px rgba(5, 150, 105, 0.08);
}

.conf-manager-license-info__card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}

.conf-manager-license-info__card-icon.is-status {
	background: #d1fae5;
	color: #059669;
}

.conf-manager-license-info__card-icon.is-key {
	background: #e0e7ff;
	color: #3858e9;
}

.conf-manager-license-info__card-icon.is-expires {
	background: #fef3c7;
	color: #d97706;
}

.conf-manager-license-info__card-label {
	font-size: 12px;
	font-weight: 600;
	color: #757575;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.conf-manager-license-info__card-value {
	font-size: 16px;
	font-weight: 700;
	color: #1e1e1e;
}

.conf-manager-license-info__card-value code {
	font-size: 14px;
	font-weight: 600;
	background: #f6f7f7;
	padding: 4px 12px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	letter-spacing: 1.5px;
	color: #1e1e1e;
}

.conf-manager-license-info__pill {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 20px;
}

.conf-manager-license-info__pill.is-active {
	background: linear-gradient(135deg, #d1fae5, #a7f3d0);
	color: #065f46;
}

.conf-manager-license-info__footer {
	margin-top: 16px;
	text-align: right;
}

/* カードグリッド: 2列（GuideSection は3列） */
.conf-manager-license__cards--2col {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 782px) {
	.conf-manager-license__cards--2col {
		grid-template-columns: 1fr;
	}
}

/* Pro有効時のカード: 左ボーダー緑 */
.conf-manager-license__card--active {
	border-left: 3px solid #059669;
}

.conf-manager-license__card--active:hover {
	border-color: #059669;
	box-shadow: 0 4px 16px rgba(5, 150, 105, 0.10);
}

.conf-manager-license__card--active .conf-manager-guide__card-icon {
	background: #d1fae5;
	color: #059669;
}

/* 比較表 */
.conf-manager-license__comparison {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 24px;
	margin-top: 28px;
	margin-bottom: 24px;
}

.conf-manager-license__comparison h3 {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
}

.conf-manager-license__comparison table {
	border-collapse: collapse;
	width: 100%;
}

.conf-manager-license__comparison th,
.conf-manager-license__comparison td {
	padding: 10px 14px;
	border-bottom: 1px solid #f0f0f1;
	font-size: 13px;
}

.conf-manager-license__comparison thead th {
	font-weight: 700;
	border-bottom: 2px solid #e0e0e0;
	font-size: 14px;
}

.conf-manager-license__col-center {
	text-align: center;
	width: 100px;
}

.conf-manager-license__col-pro {
	background: #fafaff;
}

.conf-manager-license__comparison thead .conf-manager-license__col-pro {
	background: #eef2ff;
	color: #3858e9;
	border-radius: 6px 6px 0 0;
}

.conf-manager-license__check {
	color: #059669;
	font-weight: bold;
	font-size: 16px;
}

.conf-manager-license__dash {
	color: #d1d5db;
	font-size: 14px;
}

