.nashiyoix-2fa-admin-wrap {
	max-width: 1080px;
}

.nashiyoix-2fa-admin-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 18px 0 16px;
	padding: 18px 20px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.nashiyoix-2fa-admin-header h1 {
	margin: 0 0 6px;
}

.nashiyoix-2fa-admin-header p {
	max-width: 720px;
	margin: 0;
	color: #646970;
	line-height: 1.6;
}

.nashiyoix-2fa-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 16px;
}

.nashiyoix-2fa-summary-card,
.nashiyoix-2fa-validation-panel,
.nashiyoix-2fa-settings-panel,
.nashiyoix-2fa-profile-card {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nashiyoix-2fa-summary-card {
	padding: 14px 16px;
}

.nashiyoix-2fa-summary-card__label {
	display: block;
	margin-bottom: 8px;
	color: #646970;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nashiyoix-2fa-summary-card strong {
	display: block;
	margin-bottom: 6px;
	color: #1d2327;
	font-size: 20px;
	line-height: 1.25;
}

.nashiyoix-2fa-summary-card p {
	margin: 0;
	color: #646970;
	line-height: 1.5;
}

.nashiyoix-2fa-dashboard-panel {
	margin: 0 0 16px;
	padding: 18px 20px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nashiyoix-2fa-dashboard-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.nashiyoix-2fa-dashboard-panel__header h2 {
	margin: 0 0 6px;
}

.nashiyoix-2fa-dashboard-panel__header p {
	max-width: 760px;
	margin: 0;
	color: #646970;
	line-height: 1.6;
}

.nashiyoix-2fa-dashboard-grid,
.nashiyoix-2fa-dashboard-audit-grid,
.nashiyoix-2fa-dashboard-subject-metrics,
.nashiyoix-2fa-dashboard-subject-audit {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.nashiyoix-2fa-dashboard-grid {
	margin-bottom: 14px;
}

.nashiyoix-2fa-dashboard-card,
.nashiyoix-2fa-dashboard-audit-card,
.nashiyoix-2fa-dashboard-list-card,
.nashiyoix-2fa-dashboard-subject-card {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #f6f7f7;
}

.nashiyoix-2fa-dashboard-card,
.nashiyoix-2fa-dashboard-audit-card {
	padding: 14px;
}

.nashiyoix-2fa-dashboard-card--ok,
.nashiyoix-2fa-dashboard-audit-card--ok {
	border-color: #b8e6c0;
	background: #f6fff7;
}

.nashiyoix-2fa-dashboard-card--warning,
.nashiyoix-2fa-dashboard-audit-card--warning {
	border-color: #f0c36d;
	background: #fff8e5;
}

.nashiyoix-2fa-dashboard-card__label,
.nashiyoix-2fa-dashboard-subject-metric span {
	display: block;
	margin-bottom: 8px;
	color: #646970;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nashiyoix-2fa-dashboard-card strong,
.nashiyoix-2fa-dashboard-subject-metric strong {
	display: block;
	margin-bottom: 6px;
	color: #1d2327;
	font-size: 18px;
	line-height: 1.35;
}

.nashiyoix-2fa-dashboard-card p,
.nashiyoix-2fa-dashboard-audit-card p,
.nashiyoix-2fa-dashboard-list-card__header p,
.nashiyoix-2fa-dashboard-subject-card__header p,
.nashiyoix-2fa-dashboard-subject-card__empty {
	margin: 0;
	color: #50575e;
	line-height: 1.6;
}

.nashiyoix-2fa-dashboard-audit-grid {
	margin-bottom: 14px;
}

.nashiyoix-2fa-dashboard-audit-card__status {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(29, 35, 39, 0.08);
	font-size: 12px;
	font-weight: 700;
}

.nashiyoix-2fa-dashboard-audit-card strong,
.nashiyoix-2fa-dashboard-list-card__header strong,
.nashiyoix-2fa-dashboard-subject-card__header strong {
	display: block;
	margin-bottom: 6px;
	color: #1d2327;
}

.nashiyoix-2fa-dashboard-lists {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.nashiyoix-2fa-dashboard-list-card,
.nashiyoix-2fa-dashboard-subject-card {
	padding: 14px;
}

.nashiyoix-2fa-dashboard-user-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nashiyoix-2fa-dashboard-user-list li {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.nashiyoix-2fa-dashboard-user-list strong {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
}

.nashiyoix-2fa-dashboard-user-list small,
.nashiyoix-2fa-dashboard-user-list span {
	color: #646970;
	line-height: 1.5;
}

.nashiyoix-2fa-dashboard-user-list span {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 600;
}

.nashiyoix-2fa-dashboard-subject-form {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
	gap: 10px;
	align-items: end;
	margin-bottom: 14px;
}

.nashiyoix-2fa-dashboard-subject-form label {
	display: grid;
	gap: 6px;
}

.nashiyoix-2fa-dashboard-subject-form span {
	color: #1d2327;
	font-weight: 600;
}

.nashiyoix-2fa-dashboard-subject-metrics {
	margin-bottom: 12px;
}

.nashiyoix-2fa-dashboard-subject-metric {
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.nashiyoix-2fa-dashboard-list-card__empty,
.nashiyoix-2fa-dashboard-subject-card__empty {
	padding: 12px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	background: #fff;
}

.nashiyoix-2fa-validation-panel {
	margin: 0 0 16px;
	padding: 18px 20px;
}

.nashiyoix-2fa-validation-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.nashiyoix-2fa-validation-panel__header h2 {
	margin: 0 0 6px;
}

.nashiyoix-2fa-validation-panel__header p {
	max-width: 760px;
	margin: 0;
	color: #646970;
	line-height: 1.6;
}

.nashiyoix-2fa-validation-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.nashiyoix-2fa-validation-card {
	position: relative;
	padding: 14px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #f6f7f7;
}

.nashiyoix-2fa-validation-card--ok {
	border-color: #b8e6c0;
	background: #f6fff7;
}

.nashiyoix-2fa-validation-card--warning {
	border-color: #f0c36d;
	background: #fff8e5;
}

.nashiyoix-2fa-validation-card__status {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(29, 35, 39, 0.08);
	font-size: 12px;
	font-weight: 700;
}

.nashiyoix-2fa-validation-card strong {
	display: block;
	margin-bottom: 6px;
	color: #1d2327;
}

.nashiyoix-2fa-validation-card p {
	margin: 0;
	color: #50575e;
	line-height: 1.5;
}

.nashiyoix-2fa-sensitive-field {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) auto auto;
	gap: 8px;
	align-items: center;
	max-width: 920px;
}

.nashiyoix-2fa-sensitive-field .nashiyoix-2fa-rescue-url {
	width: 100%;
}

.nashiyoix-2fa-settings-panel {
	padding: 18px 20px 0;
}

.nashiyoix-2fa-settings-panel h2 {
	margin-top: 0;
	padding-top: 4px;
}

.nashiyoix-2fa-settings-panel .form-table {
	margin-top: 8px;
}

.nashiyoix-2fa-action-area {
	margin: 18px -20px 0;
	padding: 14px 20px;
	border-top: 1px solid #dcdcde;
	border-radius: 0 0 8px 8px;
	background: #f6f7f7;
}

.nashiyoix-2fa-action-area .submit {
	margin: 0;
	padding: 0;
}

.nashiyoix-2fa-profile-card {
	margin: 20px 0;
	padding: 0;
}

.nashiyoix-2fa-profile-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid #dcdcde;
	background: #f6f7f7;
}

.nashiyoix-2fa-profile-card__header h2 {
	margin: 0 0 6px;
}

.nashiyoix-2fa-profile-card__header .description {
	margin: 0;
}

.nashiyoix-2fa-profile-table {
	margin: 0;
}

.nashiyoix-2fa-profile-table th,
.nashiyoix-2fa-profile-table td {
	padding: 18px 20px;
}

.nashiyoix-2fa-status-badge,
.nashiyoix-2fa-profile-status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.nashiyoix-2fa-status-badge {
	margin-top: 4px;
	padding: 6px 10px;
	background: #f6f7f7;
	color: #50575e;
}

.nashiyoix-2fa-status-badge--selected {
	background: #eef6ff;
	color: #135e96;
}

.nashiyoix-2fa-status-badge--all,
.nashiyoix-2fa-profile-status--enabled {
	background: #edfaef;
	color: #008a20;
}

.nashiyoix-2fa-choice-list {
	display: grid;
	gap: 8px;
	margin: 0;
}

.nashiyoix-2fa-roles-checklist {
	max-height: 150px;
	margin-top: 5px;
	padding: 10px;
	overflow-y: auto;
	border: 1px solid #c3c4c7;
	background: #fff;
}

.nashiyoix-2fa-backup-notice {
	padding: 15px;
	border-left-color: #46b450;
}

.nashiyoix-2fa-backup-code-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
	padding: 10px;
	border: 1px solid #c3c4c7;
	background: #fff;
	font-family: monospace;
}

.nashiyoix-2fa-profile-status {
	padding: 4px 9px;
}

.nashiyoix-2fa-profile-status--disabled {
	background: #fcf0f1;
	color: #b32d2e;
}

.nashiyoix-2fa-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 15px;
}

.nashiyoix-2fa-profile-actions--start,
.nashiyoix-2fa-profile-actions--verify {
	margin-top: 10px;
}

.nashiyoix-2fa-confirm-code {
	max-width: 520px;
	margin-top: 14px;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.nashiyoix-2fa-confirm-code label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.nashiyoix-2fa-setup-panel {
	max-width: 500px;
	padding: 20px;
	border: 1px solid #dcdcde;
	background: #f6f7f7;
}

.nashiyoix-2fa-secret-row {
	margin: 15px 0;
}

.nashiyoix-2fa-qr-wrap {
	display: inline-block;
	margin: 14px 0 8px;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.nashiyoix-2fa-qr {
	display: grid;
	place-items: center;
	min-width: 220px;
	min-height: 220px;
}

.nashiyoix-2fa-qr svg {
	display: block;
	width: 220px;
	height: 220px;
}

.nashiyoix-2fa-qr-message {
	max-width: 190px;
	margin: 0;
	color: #646970;
	text-align: center;
}

.nashiyoix-2fa-qr-fallback {
	max-width: 240px;
	margin: 8px 0 0;
}

.nashiyoix-2fa-secret-code {
	padding: 3px 6px;
	background: #f0f0f1;
	font-size: 1.1em;
}

.nashiyoix-2fa-uri-field {
	width: 100%;
	height: 60px;
	margin-top: 5px;
	font-family: monospace;
	font-size: 12px;
}

.nashiyoix-2fa-otp-field {
	width: 120px;
	font-size: 20px;
	letter-spacing: 2px;
	text-align: center;
}

.nashiyoix-2fa-login-code {
	font-size: 20px;
	text-align: center;
}

.nashiyoix-2fa-danger-link {
	color: #dc3232;
}

@media (max-width: 782px) {
	.nashiyoix-2fa-admin-header {
		display: grid;
	}

	.nashiyoix-2fa-summary-grid {
		grid-template-columns: 1fr;
	}

	.nashiyoix-2fa-dashboard-grid,
	.nashiyoix-2fa-dashboard-audit-grid,
	.nashiyoix-2fa-dashboard-lists,
	.nashiyoix-2fa-dashboard-subject-form,
	.nashiyoix-2fa-dashboard-subject-metrics,
	.nashiyoix-2fa-dashboard-subject-audit,
	.nashiyoix-2fa-validation-grid,
	.nashiyoix-2fa-sensitive-field {
		grid-template-columns: 1fr;
	}

	.nashiyoix-2fa-settings-panel,
	.nashiyoix-2fa-dashboard-panel,
	.nashiyoix-2fa-validation-panel,
	.nashiyoix-2fa-profile-card__header {
		padding-right: 14px;
		padding-left: 14px;
	}

	.nashiyoix-2fa-action-area {
		margin-right: -14px;
		margin-left: -14px;
		padding-right: 14px;
		padding-left: 14px;
	}

	.nashiyoix-2fa-profile-table th,
	.nashiyoix-2fa-profile-table td {
		padding-right: 14px;
		padding-left: 14px;
	}

	.nashiyoix-2fa-backup-code-grid {
		grid-template-columns: 1fr;
	}
}
